A comprehensive document digitization stack combining Scanservjs for scanning, Paperless-ngx for OCR processing, n8n for workflow automation, and Ollama for AI-powered analysis. An n8n workflow with an ai agent to discuss with your documents is installed on first run of the setup. works completely offline using ollama with Qwen3 as AI.
- Docker and Docker Compose
- Optional: Scanner hardware, NVIDIA GPU
git clone https://github.com/aliuosio/papercuts-no-more
cd papercuts-no-moredocker compose --profile nvidia up -ddocker compose up -d- 📄 Paperless-ngx: http://localhost:8010 (admin/admin123)
- ⚙️ n8n Workflows: http://localhost:5678
- 📷 Scanner: http://localhost:8080
- 🤖 Ollama API: http://localhost:11434
| Component | Function | Port | Technology |
|---|---|---|---|
| Paperless-ngx | Document management & OCR | 8010 | Django + PostgreSQL |
| n8n | Workflow automation & AI chat | 5678 | Node.js |
| Ollama | Local AI models | 11434 | Go + CUDA/CPU |
| Scanservjs | Document scanning | 8080 | Node.js |
| PostgreSQL | Data storage | 5432 | PostgreSQL |
| Redis | Caching & messaging | 6379 | Redis |
- 🔍 Intelligent Search: Natural language queries via AI chat interface
- ⚡ GPU Acceleration: Up to 500% faster AI processing
- 🔄 Automated Workflows: n8n-powered document processing pipelines
- 📄 Multi-format Support: PDF, images, office documents, scanned images
- 🏷️ Smart Categorization: Automatic OCR and tagging
- 🔒 Secure Architecture: Containerized services with authentication
- 🌐 German Language Support: Optimized for German document processing
- Architecture Overview - System design and data flow
- Setup Guide - Detailed installation and configuration
- API Documentation - REST API usage and authentication
- Deployment Guide - Production deployment and monitoring
- Scan → Use web scanner interface at port 8080
- Process → Automatic OCR and metadata extraction
- Organize → Tag, categorize, and search documents
- Automate → Set up n8n workflows for processing
- Query → Use AI chat for natural language search
- Local AI Processing: Privacy-focused with Ollama
- Natural Language Chat: Ask questions like "Show me contracts from October"
- Document Analysis: AI-powered content understanding and summarization
- Smart Classification: Automated document tagging and routing
Environment variables are managed via .env file. Key settings:
# AI Configuration
OLLAMA_MODEL=qwen3:8b
PAPERLESS_OCR_LANGUAGE=deu
# Authentication
PAPERLESS_ADMIN_USER=admin
PAPERLESS_ADMIN_PASSWORD=admin123See Setup Guide for complete configuration options.
# Development setup
docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d
# Run tests
docker compose exec webserver python manage.py testSee Deployment Guide for contribution guidelines and development workflow.
- Personal Use: Document organization, receipt management, archiving
- Business Use: Invoice processing, contract management, compliance
- Research: Academic paper management, citation tracking
- Legal: Contract analysis, document versioning, audit trails
Monitor system health:
docker compose ps # Service status
docker compose logs -f webserver # Application logs
curl http://localhost:8010/api/health/ # Health check- Paperless-ngx: v2.11.4
- n8n: v1.60.1
- Ollama: v0.3.12
- AI Model: qwen3:8b
This project is licensed under the MIT License - see the LICENSE file for details.
Built on amazing open-source technologies:
- Paperless-ngx - Document management
- n8n - Workflow automation
- Ollama - Local AI models
- Scanservjs - Document scanning