LifeHubber. Resources Use AI on your terms.
LifeHubber.Resource
Opening…

AI Resources

pdf-inspector

GitHub stars: 20.2K GitHub forks: 1.4K Declared license: MIT: MIT Last pushed December 3, 2026: Pushed 1d ago
Stats from GitHub

An archive can mix typed PDFs, scanned letters and reports that contain both. Firecrawl made pdf-inspector to check what those files need before sending them through a document pipeline.

The project includes local versions you can run in a browser or from code.

What it is

A local PDF classifier and extractor

pdf-inspector reads text already stored in a PDF and can turn supported page structure into Markdown. It can also flag pages that appear to contain only an image of the text.

Why it stands out

OCR routing can happen page by page

The result includes document type, confidence, and pages that appear to need OCR, so a pipeline can use direct extraction where it works and reserve OCR for the pages that need another route.

Availability

Several local integration paths

The public repository includes Node.js and browser packages, a Rust crate and CLI, Python bindings, API notes, examples, tests, and a local browser demo.

Why it matters

What makes it useful

You can select text in a PDF and still get scrambled words when you paste it. pdf-inspector can flag broken font encoding so a developer knows when to try OCR on the affected text.

Notable points

What stands out

The default classifier samples eight pages spaced across a document. If you need to check for something unusual on just one page, the Full strategy examines every page. That matters when most of a PDF has the same format.

Before using

What to review

The Rust crate and CLI can opt into OCR at build time. Native Python and Node packages include the integration. A page routed to OCR needs the external PDFium and ONNX Runtime libraries and the PP-OCRv6 Small model files.

Test the PDFs that matter for columns, tables, headings, forms, unusual fonts, reading order, and mixed page types before relying on the Markdown downstream.

Keep the parser and its dependencies current, and apply normal resource limits when processing untrusted or unusually large PDFs.

Check the current package and platform support for the chosen Rust, Node.js, Python, command-line, or browser path.

Check the original listing's documentation for current requirements, limitations, licensing and any relevant privacy or security considerations.

Reader fit

Who may find it relevant

Builders routing PDFs between direct text extraction and OCR.

Teams preparing documents for search, RAG, datasets, or agent context without sending every native-text PDF to an external service.

Developers who want one parser exposed through server, command-line, Python, and browser integrations.

Best suited to developers integrating PDF processing into an existing workflow. Readers looking for a ready-to-use document chat app will need a separate app.

Editorial note

Why LifeHubber lists it

The last pages of a report can contain evidence the rest of the text gives no hint about. pdf-inspector earned its place here because its page-level OCR flags can make a scanned appendix visible before the file goes into search.

Source links

Source materials

Reader note

About our listings

LifeHubber’s listings help you explore what’s available in AI and are not endorsements. We don’t independently verify every detail or guarantee that each listing is accurate, safe, actively maintained, or right for your needs.

What to explore next

Compare the next step in the document pipeline.

Classification is only the first decision. These projects show a lighter general parser and a model-backed document conversion route.

Advertisements

Advertisements

For project maintainers

Listed here? You can use the badge.

If you maintain a project with a current LifeHubber listing, you may add the optional “Listed on LifeHubber AI Resources” badge to its README, docs, or website. No introduction or permission request is needed.

MORE ON LIFEHUBBER

Use AI on your own terms.

Explore more AI projects, stories, guides, tools and community insights across LifeHubber.

See what’s moving