MatrosDMS organizes your files the way you think — hierarchical Who × What × Where context tags. Full-text search. AES-256 encryption. Nothing leaves your machine.
Organize documents the way you think — Who × What × Where. Select a context once and everything you drop inside inherits those tags automatically. No per-file labeling. Just a clean timeline.
Apache Lucene powers instant search through PDFs, scanned docs (OCR), and emails. Or query with MQL:
AES-256-CTR encryption for every stored file. Argon2id key derivation. If your disk is stolen, your data is unreadable.
Drop .eml files or configure SMTP. Attachments extracted, indexed, and linked automatically. Built-in Apache James on port 2525.
Every context has a chronological timeline with lifecycle states. Set reminders on folders or documents — never miss a contract renewal.
Heuristic rule engine for automatic sorting. Local AI via Ollama planned — all processing stays on your hardware, always.
Scan, upload, or email documents into the inbox. PDFs, images, .eml and more.
AI and rule engine suggest tags. Confirm or adjust in one click.
Document is encrypted, OCR-indexed and filed in its context.
Full-text search returns results in milliseconds — even years later.
Runs on port 9090. SMTP on 2525, IMAP on 1143.
docker run -p 9090:9090 \
-v ./data:/data \
mschwehl/matrosdms
Use PostgreSQL as your database backend for production deployments.
services:
matrosdms:
image: mschwehl/matrosdms
ports:
- "9090:9090"
- "2525:2525"
- "1143:1143"
volumes:
- ./data:/data
environment:
SPRING_DATASOURCE_URL: jdbc:postgresql://db:5432/matros
SPRING_DATASOURCE_USERNAME: matros
SPRING_DATASOURCE_PASSWORD: secret
depends_on:
- db
db:
image: postgres:16-alpine
environment:
POSTGRES_DB: matros
POSTGRES_USER: matros
POSTGRES_PASSWORD: secret
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata:
Official Helm chart available.
helm repo add matrosdms \
https://charts.matrosdms.org
helm install my-dms matrosdms/matrosdms
Requires Java 25. Produces a standalone JAR and Windows .exe.
git clone github.com/matrosdms/matrosdms
cd matrosdms
mvn install
Download standalone versions for Windows or Linux — no Java installation required. Runs completely on your system.
Questions, feedback, or just want to say hi? We'd love to hear from you.
Open source. Privacy-first. Forever yours.