How arcs2bluedev/arcs2bluecm works
Paperless-ngx is a document-management system for turning scanned or uploaded files into a searchable archive. Users interact through the Angular application; the backend represents documents and related metadata, processes files asynchronously, and provides search and management capabilities. The tree and excerpts support the major ingestion, search, workflow, mail, and AI subsystems, but do not expose the full API routing or deployment wiring, so uncertain connections are shown as dashed and unverified.
Main entry points: tasks.py Background tasks · views.py Backend API · models.py Document records · app.component.ts Web application
Components 18
User interface
- Web application
src-ui/src/app/app.component.ts - UI bootstrap
src-ui/src/main.ts - Search interface
src-ui/src/app/services/rest/search.service.ts - Archive management
src-ui/src/app/components/admin/config/config.component.ts
Document services
- Backend API
src/documents/views.py - Document records
src/documents/models.py - Search engine
src/documents/search/_query.py
Ingestion and automation
- File consumption
src/documents/consumer.py - Background tasks
src/documents/tasks.py - Auto classification
src/documents/classifier.py - Document events
src/documents/signals/handlers.py - Workflow actions
src/documents/workflows/actions.py
Integrations and AI
- Mail fetching
src/paperless_mail/tasks.py - AI indexing
src/paperless_ai/indexing.py - AI client
src/paperless_ai/client.py
Application platform
- Task runtime
src/paperless/celery.py
Other components
- Archive user
- LLM service
Connections 18
- Archive user → Web application: uses archive
README.md - UI bootstrap → Web application: bootstraps
src-ui/src/main.ts - Web application → Backend API: requests data
- Search interface → Backend API: searches via
- Archive management → Backend API: manages via
- Backend API → Document records: reads and writes
- Backend API → Search engine: queries
- File consumption → Document records: creates documents
- Background tasks → File consumption: runs consumption
src/documents/tasks.py - Background tasks → Auto classification: uses classifier
src/documents/tasks.py - Document events → Background tasks: queues AI updates
src/documents/signals/handlers.py - Document events → Workflow actions: uses actions
src/documents/signals/handlers.py - Mail fetching → Task runtime: runs as tasks
src/paperless_mail/tasks.py - Mail fetching → Document records: uses mail records
src/paperless_mail/tasks.py - AI indexing → Background tasks: invoked by task
src/documents/management/commands/document_llmindex.py - AI client → LLM service: sends requests
src/paperless_ai/client.py - Background tasks → Task runtime: scheduled by
src/documents/tasks.py - Document records → Search engine: indexed for search