Paperless-ngx: Open Source AI Repository & Self-Hosting Guide
Community-driven self-hosted Docker document management system that automatically consumes, OCRs, auto-tags, and archives paper scans and PDFs.
Paperless-ngx: Architecture & Practical Workflow
Paperless-ngx watches email accounts or NAS consumption folders, runs OCRmyPDF + Tesseract in the background, trains a local scikit-learn classifier to assign Correspondents, Document Types, and Tags automatically, and stores searchable originals cleanly.
Drop phone scans and vendor PDFs into Paperless-ngx's consume folder over SMB/IMAP so invoices and tax receipts are OCRed, tagged, and full-text searchable in seconds.
Quick Setup & Installation Steps
Platform target: Self-Hosted / Docker (GitHub). Always verify environment variables and dependencies in the upstream repository README.
- 1Clone the repository from GitHub: `git clone https://github.com/paperless-ngx/paperless-ngx.git && cd paperless-ngx`.
- 2Review the GPL-3.0 license (Check the repo's license. Model weights may have a different license.) and note any separate terms on external model weights.
- 3Install or launch the project directly: `bash -c "$(curl -L https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/install-paperless-ngx.sh)"` (use an isolated Python virtualenv, Node workspace, or Docker volume so dependencies remain clean).
- 4Validate end-to-end behavior with a small sample input (Drop phone scans and vendor PDFs into Paperless-ngx's consume folder over SMB/IMAP so invoices and tax receipts are OCRed, tagged, and full-text searchable in seconds.)
Hardware & VRAM Notes
Lightweight to orchestrate on standard CPUs or Docker hosts; heavier local model inference can be offloaded to Ollama, vLLM, or external APIs.
Modern multi-core CPU with 8 GB–16 GB RAM for orchestration, CLI agents, OCR/document parsing, or UI workflows (32 GB+ if co-hosting large local LLMs).
Optional unless running local neural weights; pairs cleanly with local inference servers (Ollama / llama.cpp) or remote endpoints.
Self-Hosted / Docker (GitHub)
Strengths & Best For
- OCR for scans
- Tags and search
- Automated filing rules
- Best suited for: Home offices, Small teams
Limitations & Caveats
- Needs a server or Docker
- You are responsible for backups and security
- Check the repo's license. Model weights may have a different license.
3 Similar Tools on /tools (Productivity)
Prefer a hosted web app instead of managing local weights or Docker containers? Explore these cloud alternatives.
Elicit AI
AI research assistant that automates literature review and key paper summaries.
Anki (+ AI Add-ons)
Gold-standard open-source spaced repetition flashcard software extensible with free community AI card-generation add-ons.
Notion AI & Workspace
Connected AI workspace for docs, notes, project management, and automated summaries.
| Factor | Paperless-ngx (Self-Hosted) | Elicit AI | Anki (+ AI Add-ons) |
|---|---|---|---|
| Execution & Privacy | Runs locally via Self-Hosted / Docker (GitHub); data stays on your disk or private server. | Hosted cloud web interface; zero local dependency setup required. | Hosted cloud web interface; zero local dependency setup required. |
| Cost & Quota | GPL-3.0 code; bound only by local CPU/GPU hardware. | Freemium; subject to vendor free-tier limits or paid plans. | Open Source; subject to vendor free-tier limits or paid plans. |
| Primary Fit | OCR for scans; Tags and search | AI research assistant that automates literature review and key paper summaries. | Gold-standard open-source spaced repetition flashcard software extensible with free community AI card-generation add-ons. |
| Key Trade-off | Needs a server or Docker | Requires internet access and vendor account/quota limits. | Requires internet access and vendor account/quota limits. |
Matching Ready-Made Prompts
Customize variables in Live Prompt Studio for Paperless-ngx workflows.
Compare Alternatives
Compare Paperless-ngx side-by-side on setup ease, privacy, and role scorecards.
More Open Source Productivity & Research Repositories
Browser Use
Open-source Python and Playwright automation library allowing vision-enabled and tool-calling LLMs to browse, click, fill forms, and extract live web data.
Stirling-PDF
Self-hosted Docker and desktop PDF utility suite offering 50+ local operations including merge, split, OCR, redaction, compression, and signing.
Crawl4AI
Open-source asynchronous web crawler and scraper built on Playwright to turn dynamic JavaScript pages into clean Markdown, JSON schemas, and RAG chunks.
Frequently Asked Questions
What does Paperless-ngx do and how does it work?
Paperless-ngx (paperless-ngx/paperless-ngx) is an open-source productivity & research project with 48,937 stars on GitHub. Community-driven self-hosted Docker document management system that automatically consumes, OCRs, auto-tags, and archives paper scans and PDFs. Paperless-ngx watches email accounts or NAS consumption folders, runs OCRmyPDF + Tesseract in the background, trains a local scikit-learn classifier to assign Correspondents, Document Types, and Tags automatically, and stores searchable originals cleanly.
Is Paperless-ngx free to self-host and use commercially?
Paperless-ngx provides open source code licensed under GPL-3.0. Check the repo's license. Model weights may have a different license. Always verify both source code and model weight licenses in the GitHub repository before commercial deployment.
What hardware, runtime, or VRAM does Paperless-ngx require?
Paperless-ngx targets Self-Hosted / Docker (GitHub). Typical installation runs via `bash -c "$(curl -L https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/install-paperless-ngx.sh)"`. Needs a server or Docker
How does self-hosting Paperless-ngx compare to hosted tools like Elicit AI?
Self-hosting Paperless-ngx gives you full local data control, zero per-usage vendor fees, and customizable Self-Hosted / Docker (GitHub) pipelines—at the cost of managing your own setup and compute. By contrast, Elicit AI (Freemium) runs in the browser with no local installation, though usage quotas and cloud privacy policies apply.
Is Paperless-ngx actively maintained and what workflow fits it best?
Repository metadata records 48,937 stars on GitHub with the latest recorded push on Dec 4, 2026. Drop phone scans and vendor PDFs into Paperless-ngx's consume folder over SMB/IMAP so invoices and tax receipts are OCRed, tagged, and full-text searchable in seconds.