# yob/pdf-reader

The PDF::Reader library implements a PDF parser conforming as much as possible to the PDF specification from Adobe.

Repository: https://github.com/yob/pdf-reader
Canonical: https://ross.abutalabs.com/products/pdf-reader
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-08-13T08:12:19+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 6666, "days_push": 20, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1926, forks 286 (observed 2026-08-28T04:05:55.603136+00:00)

## What it is
PDF::Reader is a Ruby library that parses PDF files according to the Adobe PDF specification, providing programmatic access to document metadata, pages, text, fonts, and low-level objects. It is a low-level parsing foundation rather than a renderer, with convenient helpers for common tasks like text extraction.

## Use cases
- extract text from pdf files in ruby
- read pdf metadata and page count
- parse pdf objects programmatically
- iterate over pdf pages and fonts
- process pdfs from an io stream

## When to choose
- you need to programmatically inspect or extract text from PDFs in Ruby
- you want a low-level PDF parser to build higher-level tooling on
- you need UTF-8 text extraction from PDF pages

## When to avoid
- you need to render or display PDFs visually
- you need to create or write PDF files
- you work outside the Ruby ecosystem

## Facets
- artifact type: library
- maturity: active
- function: parser, pdf
- domain: pdf, files, parsers
- platform: ruby
- tags: pdf-parsing, text-extraction, ruby-gem

## Member repositories
- yob/pdf-reader (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:55.603136+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:09:20.785872+00:00, confidence not recorded.
  - readme: https://github.com/yob/pdf-reader (fetched 2026-08-28T04:05:55.603136+00:00, sha a8ff4932babf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
