Productivity & ResearchOpen source codeStirling-Tools/Stirling-PDF

Stirling-PDF: Open Source AI Repository & Self-Hosting Guide

Self-hosted Docker and desktop PDF utility suite offering 50+ local operations including merge, split, OCR, redaction, compression, and signing.

GitHub Stars
98,081 stars
Repository License
Custom (see repo)
Last Push (UTC)
Dec 4, 2026
Check the repo's license. Model weights may have a different license.
git clone https://github.com/Stirling-Tools/Stirling-PDF.git
View on GitHubOfficial Website
Installdocker run -d -p 8080:8080 docker.stirlingpdf.com/stirlingtools/stirling-pdf:latest

Stirling-PDF: Architecture & Practical Workflow

Stirling-PDF wraps PDFBox, LibreOffice, and Tesseract OCR behind a clean Spring Boot web dashboard so organizations can manipulate sensitive PDFs entirely on-premise without uploading contracts or IDs to public web converters.

Recommended End-to-End Pipeline

Host Stirling-PDF on an internal NAS or Docker host to redact confidential fields, compress large scans, and run OCRmyPDF before archiving in Paperless-ngx.

Runtime Target
Self-Hosted Docker / Desktop Web App (GitHub)
Primary Users
Privacy-Conscious Teams, Lawyers, Office Productivity
Code License
Custom (see repo)
Focus Topics
open-source, github, self-hosted, pdf-tools, privacy

Quick Setup & Installation Steps

Platform target: Self-Hosted Docker / Desktop Web App (GitHub). Always verify environment variables and dependencies in the upstream repository README.

  1. 1Clone the repository from GitHub: `git clone https://github.com/Stirling-Tools/Stirling-PDF.git && cd Stirling-PDF`.
  2. 2Review the Custom (see repo) license (Check the repo's license. Model weights may have a different license.) and note any separate terms on external model weights.
  3. 3Install or launch the project directly: `docker run -d -p 8080:8080 docker.stirlingpdf.com/stirlingtools/stirling-pdf:latest` (use an isolated Python virtualenv, Node workspace, or Docker volume so dependencies remain clean).
  4. 4Validate end-to-end behavior with a small sample input (Host Stirling-PDF on an internal NAS or Docker host to redact confidential fields, compress large scans, and run OCRmyPDF before archiving in Paperless-ngx.)

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.

CPU & Memory

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).

GPU / VRAM

Optional unless running local neural weights; pairs cleanly with local inference servers (Ollama / llama.cpp) or remote endpoints.

Runtime Target

Self-Hosted Docker / Desktop Web App (GitHub)

Strengths & Best For

  • 50+ local PDF operations including OCR, redaction, compression & conversion
  • Full REST API for automated document processing pipelines
  • Local processing—files remain on your own server
  • Best suited for: Privacy-Conscious Teams, Lawyers, Office Productivity

Limitations & Caveats

  • Requires Docker or local desktop install to host yourself
  • Multi-user SSO enterprise features sit in optional paid tiers
  • 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.

Browse all tools
Self-Hosted Stirling-PDF vs. Hosted Alternatives (Anki (+ AI Add-ons) & n8n Workflow Automation)
FactorStirling-PDF (Self-Hosted)Anki (+ AI Add-ons)n8n Workflow Automation
Execution & PrivacyRuns locally via Self-Hosted Docker / Desktop Web App (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 & QuotaCustom (see repo) code; bound only by local CPU/GPU hardware.Open Source; subject to vendor free-tier limits or paid plans.Open Source; subject to vendor free-tier limits or paid plans.
Primary Fit50+ local PDF operations including OCR, redaction, compression & conversion; Full REST API for automated document processing pipelinesGold-standard open-source spaced repetition flashcard software extensible with free community AI card-generation add-ons.Fair-code workflow automation tool with native AI agents & vector DB connectors.
Key Trade-offRequires Docker or local desktop install to host yourselfRequires internet access and vendor account/quota limits.Requires internet access and vendor account/quota limits.

Matching Ready-Made Prompts

All Prompts →

Customize variables in Live Prompt Studio for Stirling-PDF workflows.

NotebookLM Multi-Source Deep Literature ReviewExtraction · Research, Literature Review, Synthesis, Academic
Open in Studio
Hotel Folio & Corporate Travel Expense ItemizerExtraction · Travel, Hotel Folio, Expenses, Concur
Open in Studio

More Open Source Productivity & Research Repositories

Frequently Asked Questions

What does Stirling-PDF do and how does it work?

Stirling-PDF (Stirling-Tools/Stirling-PDF) is an open-source productivity & research project with 98,081 stars on GitHub. Self-hosted Docker and desktop PDF utility suite offering 50+ local operations including merge, split, OCR, redaction, compression, and signing. Stirling-PDF wraps PDFBox, LibreOffice, and Tesseract OCR behind a clean Spring Boot web dashboard so organizations can manipulate sensitive PDFs entirely on-premise without uploading contracts or IDs to public web converters.

Is Stirling-PDF free to self-host and use commercially?

Stirling-PDF provides open source code licensed under Custom (see repo). 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 Stirling-PDF require?

Stirling-PDF targets Self-Hosted Docker / Desktop Web App (GitHub). Typical installation runs via `docker run -d -p 8080:8080 docker.stirlingpdf.com/stirlingtools/stirling-pdf:latest`. Requires Docker or local desktop install to host yourself

How does self-hosting Stirling-PDF compare to hosted tools like Anki (+ AI Add-ons)?

Self-hosting Stirling-PDF gives you full local data control, zero per-usage vendor fees, and customizable Self-Hosted Docker / Desktop Web App (GitHub) pipelines—at the cost of managing your own setup and compute. By contrast, Anki (+ AI Add-ons) (Open Source) runs in the browser with no local installation, though usage quotas and cloud privacy policies apply.

Is Stirling-PDF actively maintained and what workflow fits it best?

Repository metadata records 98,081 stars on GitHub with the latest recorded push on Dec 4, 2026. Host Stirling-PDF on an internal NAS or Docker host to redact confidential fields, compress large scans, and run OCRmyPDF before archiving in Paperless-ngx.