One web interface for all your Caddy nodes – an alternative to Nginx Proxy Manager (NPM), with mTLS instead of a VPN and a built-in Coraza WAF.
- Public hosts get Let's Encrypt certificates automatically – just like NPM (HTTP-01, or DNS-01 via Cloudflare, including wildcards).
- Private services are reachable only from approved devices: every device gets its own client certificate from Tesseract's own CA. Without a valid certificate not even the TLS handshake succeeds – no VPN client, no exposed login page.
- Coraza WAF with the OWASP Core Rule Set, IP filters, country filters and automatic bans per host.
- Multiple nodes (VPS, NAS, Raspberry Pi …) are managed centrally. Each node connects to the controller through an agent – even behind NAT, without an open admin port.
- Invitations by link: guests register their device themselves and install the certificate with a step-by-step guide for their platform.
- Observability: central logs from all nodes, statistics (security, traffic, usage, origin map), tamper-evident audit log, Prometheus metrics, notifications via e-mail, webhook and ntfy. Logs can also be stored in Loki or VictoriaLogs.
- Operations: encrypted backups (local, S3, Restic), CA rotation, SSO (OIDC), passkeys, LDAP sync, Docker labels, automatic Cloudflare DNS records.
The user interface and the detailed documentation in
docs/are in German. Changes: CHANGELOG.md · Roadmap: docs/roadmap.md
Proxy hosts – All hosts at a glance – public, mTLS-only or internal, with WAF status and requests. |
Access per host – Who may access a host: public, certificate only, internal networks, public exceptions per path. |
Access matrix – Grant access to groups or persons – it applies to all of their devices. |
Security statistics – What gets blocked: missing certificate, Coraza WAF, IP filter – per hour and by IP. |
Origin map – Where requests come from – by country, city and network operator. |
Central logs – Live logs from all nodes with filter syntax, the reason for every rejection and the device behind a request. |
Nodes – Further Caddy servers connect through an agent – outbound via mTLS, even behind NAT. |
|
Invitations by link – guests open the link on their phone, enter the confirmation code and install their personal certificate with a guide for their platform. No app, no VPN client. The screenshots show a demo instance with made-up people and domains; the interface follows the light or dark system theme. |
Requirements: a Linux server (amd64 or arm64) with Docker Compose ≥ 2.24, ports 80 and 443, and a DNS name for the web interface.
mkdir tesseract && cd tesseract
curl -LO https://github.com/raw.githubusercontent.com/HiCubeBot/tesseract/main/compose.yaml
curl -L https://github.com/raw.githubusercontent.com/HiCubeBot/tesseract/main/.env.example -o .envEdit .env – at least:
TESSERACT_DOMAIN=tesseract.example.com
TESSERACT_ADMIN_PASSWORD=a-long-password # at least 12 characters
TESSERACT_ACME_EMAIL=admin@example.com
TESSERACT_VERSION=1.18.0 # pin a version instead of "latest"Start it (images come from the GitHub Container Registry):
docker compose pull
docker compose up -dThe web interface is then available at https://<TESSERACT_DOMAIN> – only via that name, not
via the server's IP address. If TESSERACT_ADMIN_PASSWORD is empty, a random password is
printed on first start:
docker compose logs tesseract | grep "Erster Start"Prefer building yourself? Clone the repository and run docker compose up -d --build.
Upgrading: new versions may add settings to .env.example. Bring your .env up to date –
all your values are kept, unknown entries move to a section at the end, a backup is written
first. Run this in the folder with compose.yaml and .env (/work is just the name of that
folder inside the container – nothing to create):
docker compose pull # or, when building yourself: git pull && docker compose build tesseract
docker compose run --rm --no-deps --user "$(id -u):$(id -g)" -v "$PWD:/work" \
tesseract tesseract env migrate /work/.env --dry-run # preview, writes nothing
docker compose run --rm --no-deps --user "$(id -u):$(id -g)" -v "$PWD:/work" \
tesseract tesseract env migrate /work/.env # write (backup .env.bak-… first)
docker compose up -dStep by step: docs/operations.md.
Further nodes are added from the web interface (Nodes › Neuen Node verbinden) with a one-line installer and a join token. Details: docs/installation.md, docs/agent.md, docs/operations.md.
tesseract/
├─ frontend/ Svelte 5 + Vite (TypeScript) – web UI
├─ backend/ Python 3.13, FastAPI, managed with uv – controller
│ ├─ src/tesseract/ application code
│ └─ tests/ pytest
├─ agent/ agent for further nodes (Python, uv)
├─ docker/caddy/ Caddy image with Coraza and DNS modules
├─ docker/node/ Compose template for further nodes
├─ docs/ all documentation (German)
├─ Dockerfile controller image (builds frontend + backend)
└─ compose.yaml controller + Caddy
Backend (port 8000):
cd backend
uv sync
cp .env.example .env
uv run tesseractFrontend (port 5173, proxies /api to the backend):
cd frontend
npm install
npm run devTests and linting:
(cd backend && uv run pytest && uv run ruff check . && uv run ruff format --check .)
(cd agent && uv run pytest && uv run ruff check . && uv run ruff format --check .)
(cd frontend && npm run check && npm run build)| Document | Content |
|---|---|
| Features | complete feature list |
| Roadmap | phases and milestones |
| Architecture | components, data flow, security model |
| Installation | setup step by step |
| Operations | updates, backups, troubleshooting |
| Security | security review and hardening |
| Backend · Frontend · Agent | components |
| Deployment | Docker, Compose, Caddy image |
| Contributing | Git workflow, branches, pull requests |