Deploy Cryptgeon
Self-destructing encrypted notes and files, with Redis on a volume
Redis
Just deployed
/data
Cryptgeon
Just deployed
Deploy and Host Cryptgeon on Railway
Cryptgeon is an open-source service for sharing secret notes and files that destroy themselves after a set number of views or minutes, like PrivNote. Everything is encrypted in the browser with AES-GCM, and the key stays in the link's #fragment, so the server only ever stores ciphertext.
About Hosting Cryptgeon
This template runs Cryptgeon 2.9.3 from the official image, pinned by version and digest and built from a small public wrapper repo, next to Railway's own Redis. Cryptgeon gets a public Railway domain, listens on PORT, and has a health check at /api/live that also checks Redis. Redis holds the encrypted notes on a volume with append-only persistence and a 200 MB cap, so unread notes survive redeploys and restarts. The Redis password is generated and only used over Railway's private network. There is nothing to fill in: deploy, open the domain and create your first note.
Common Use Cases
- Sending passwords, API keys or recovery codes that disappear after they are read
- Sharing a confidential file (up to 10 MiB by default) with a one-time link
- Giving a team a private, self-hosted alternative to PrivNote or One-Time Secret
Dependencies for Cryptgeon Hosting
- Cryptgeon web app and API (service
Cryptgeon, public) - Redis (service
Redis, private, on a volume)
Deployment Dependencies
Implementation Details
After deploy, open https://YOUR-DOMAIN, write a note or pick a file, choose the number of views or the expiry time, and share the link. Anyone who has the link can read the note, so send it only to the person it is meant for.
Optional settings go on the Cryptgeon service: SIZE_LIMIT (default 10 MiB, max 512 MiB), MAX_VIEWS (100), MAX_EXPIRATION in minutes (10080, 7 days), ALLOW_FILES, ALLOW_ADVANCED, ID_LENGTH and the THEME_* and IMPRINT_* options from the upstream README. Keep SIZE_LIMIT well below the service's memory.
Both services fit Railway's Free plan (a few MB of RAM each at idle). The app is built from the wrapper repo, so when a new Cryptgeon version is pushed there, Railway offers you an update; read the repo's CHANGELOG.md before you apply it. Upstream keeps Redis in RAM only; to do the same, remove --appendonly yes and set --save "" in the Redis start command.
Why Deploy Cryptgeon on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Cryptgeon on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
Redis
redis:8.2Cryptgeon
aalfath/cryptgeon-railway-template