← All projects
Project record1 mention
Originally shared on Hacker News

fetchtext

Self-hostable intelligent document processing service that converts PDFs into structured JSON. It runs a three-tier extraction pipeline — PyMuPDF for digital PDFs, Docling layout-only for scanned-but-readable documents, and Docling+OCR for rough scans — with automatic fallback based on extracted character count. Smart templates classify documents via vector similarity in Qdrant and then extract fields with an LLM (no regex, so layout drift doesn't break templates), and it supports local Ollama or Azure OpenAI, switchable per-user. Built on top of local-ai-packaged and released under Apache 2.0.

Last shared
01 / The problem

What it addresses

Existing intelligent document processing tools (Document AI, Form Recognizer, PDF-to-JSON services) are cloud SaaS; the author wanted an equivalent that can run on your own hardware.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. fetchtext

    Self-hostable intelligent document processing service that converts PDFs into structured JSON. It runs a three-tier extraction pipeline — PyMuPDF for digital PDFs, Docling layout-only for scanned-but-readable documents, and Docling+OCR for rough scans — with automatic fallback based on extracted character count. Smart templates classify documents via vector similarity in Qdrant and then extract fields with an LLM (no regex, so layout drift doesn't break templates), and it supports local Ollama or Azure OpenAI, switchable per-user. Built on top of local-ai-packaged and released under Apache 2.0.

    Problem: Existing intelligent document processing tools (Document AI, Form Recognizer, PDF-to-JSON services) are cloud SaaS; the author wanted an equivalent that can run on your own hardware.

    Posted by @yeag123 · Original source ↗

    Source text · @yeag123 · · Source ↗

    I wanted an intelligent document processing SaaS (Document AI, Form Recognizer, the various PDF-to-JSON tools) that you could run on your own hardware.