
Paperless-ngx Has a Free API: Self-Hosted Document Management with OCR and Full-Text Search
What is Paperless-ngx? Paperless-ngx is a self-hosted document management system that transforms physical documents into a searchable online archive. It OCRs your documents, extracts text, and lets you search everything via API. Scanned receipts, invoices, letters — all searchable in seconds. Quick Start mkdir paperless && cd paperless wget https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/docker/compose/docker-compose.sqlite.yml -O docker-compose.yml docker compose up -d docker compose run --rm webserver createsuperuser Open http://localhost:8000 . The REST API export PL_URL = "http://localhost:8000/api" export PL_TOKEN = "your-token" Upload Documents curl -X POST " $PL_URL /documents/post_document/" \ -H "Authorization: Token $PL_TOKEN " \ -F "document=@invoice.pdf" \ -F "title=March Invoice" \ -F "correspondent=Acme Corp" \ -F "tags=2,5" Paperless automatically: OCRs the document, extracts text, classifies it, and makes it searchable. Search Documents # Full-text se
Continue reading on Dev.to Tutorial
Opens in a new tab



