Repository navigation
v0.2.0: self-hosted Docker server
Deckwright can now run as a shared, self-hosted server in Docker. Claude (desktop or claude.ai) connects over the network, people sign in with their Google work account, and nobody needs to install anything.
Highlights
- Docker image:
ghcr.io/digitalchild/deckwright:0.2.0for linux/amd64 and linux/arm64. It runs as a non-root user with a read-only filesystem and no Linux capabilities. Each image is scanned with Trivy, smoke tested on both platforms, and signed with cosign. deckwright server: one port serves the MCP endpoint (/mcp) and the HTTP API (/v1).- Google sign-in with a domain limit: OAuth 2.1 with PKCE and dynamic client registration, so Claude connects as a custom connector. Only accounts from
DECKWRIGHT_AUTH_ALLOWED_DOMAINScan sign in. A consent page asks before each new app gets access. - Authenticated HTTP API: every
/v1call needs a bearer token with the right scope (decksortemplates:read). Admins register API clients withdeckwright auth client add. - Private decks: each person can see and download only the decks they built.
- Signed download links: links expire (24 hours by default) and work without sign-in, so they open in a normal browser.
- Safe defaults: remote mode refuses to start without auth, unless you set
DECKWRIGHT_INSECURE_NO_AUTH=1behind your own SSO proxy. It also has rate limits, request size limits, Host header checks, and security headers. Local image paths and template admin tools are off in remote mode. - Cleanup: old decks and expired sign-in records are removed on a schedule (
DECKWRIGHT_RETENTION_DAYS, default 7).
Try it on your own machine
docker run --rm -p 127.0.0.1:8765:8765 \
-e DECKWRIGHT_PUBLIC_URL=http://localhost:8765 \
-e DECKWRIGHT_SECRET_KEY="$(openssl rand -hex 32)" \
-e DECKWRIGHT_INSECURE_NO_AUTH=1 \
ghcr.io/digitalchild/deckwright:0.2.0This turns sign-in off. Use it on a laptop only.
Docs
- Run with Docker: production setup, the Google OAuth client, TLS, and backups.
- Connect Claude: steps for the people who build decks.
- SECURITY.md: the threat model and how to report a problem.