Deploy Chibisafe
Self-hosted file uploader with albums, share links and ShareX support
Just deployed
Chibisafe
Just deployed
/data
Deploy and Host Chibisafe on Railway
Chibisafe is an open-source, self-hosted file uploader and sharing service. You drag files into its web UI (or upload from ShareX, scripts or its API), get short share links, and organise files into albums with tags. It handles large files with chunked uploads, makes thumbnails and offers per-user quotas.
About Hosting Chibisafe
Chibisafe runs as two parts: a Node.js API that stores its settings and file index in SQLite, and a Next.js web UI. Upstream puts Caddy in front of both to serve uploaded files directly from disk. This template deploys the same layout on Railway from pinned official v6.7.0 images: the public Chibisafe service runs the API and Caddy, with one volume for the database, uploads and logs, and a private Frontend service runs the web UI. An admin password is generated at deploy time, so the upstream default admin password is never used. Database migrations run automatically on start-up, and data survives redeploys.
Common Use Cases
- Private file and screenshot hosting with short share links (ShareX, Flameshot, scripts)
- Sharing large files or whole albums with clients, friends or a team
- A self-hosted alternative to public upload sites, with your own domain and storage
Dependencies for Chibisafe Hosting
- Chibisafe API with Caddy (
Chibisafeservice, public, volume at/data) - Chibisafe web UI (
Frontendservice, private)
Deployment Dependencies
- Chibisafe on GitHub: https://github.com/chibisafe/chibisafe
- Chibisafe v6.7.0 release: https://github.com/chibisafe/chibisafe/releases/tag/v6.7.0
- Chibisafe Docker install guide: https://chibisafe.app/docs/installation/running-with-docker
- Template source: https://github.com/aalfath/chibisafe-railway-template
Implementation Details
- Log in as
adminwith theADMIN_PASSWORDvalue from the Chibisafe service's Variables tab, then change it under your account settings. The start-up log always says "password: admin": that line is hard-coded upstream, andadmin/adminis refused. - Under Dashboard → Settings, set the service name, the maximum upload size, public mode (anonymous uploads) and whether new users can register. S3-compatible storage can be set there too.
- Everything lives on the Chibisafe volume (
/data): back it up before a major upgrade. Updates to this template arrive through the template's GitHub repo; read its CHANGELOG before applying one. - To use your own domain, add it to the Chibisafe service. Share links follow the domain you open Chibisafe on, or the "serve uploads from" URL set in the settings.
Why Deploy Chibisafe 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 Chibisafe 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
Chibisafe
aalfath/chibisafe-railway-template