
Deploy MicroBin
Pastebin, file sharing and URL shortener in a single tiny Rust app
microbin
Just deployed
/data
Deploy and Host MicroBin on Railway
MicroBin is a tiny, self-contained pastebin and file-sharing app written in Rust. It needs only a few megabytes of memory and disk. An upload can be text, a file, or a URL redirection, with server-side and client-side encryption, QR codes, and private, read-only or expiring uploads.
About Hosting MicroBin
This template runs the official danielszabo99/microbin image. Uploads and the database live on a volume at /data, so they survive redeploys, and Railway serves it over HTTPS.
After deploying:
- Change the admin password. The admin page is at
/admin, and its username and password are theMICROBIN_ADMIN_USERNAMEandMICROBIN_ADMIN_PASSWORDvariables. - To make the whole site private, set
MICROBIN_BASIC_AUTH_USERNAMEandMICROBIN_BASIC_AUTH_PASSWORD.
Common Use Cases
- Paste code, logs or notes from one machine and open them on another
- Share files too large for chat apps, such as videos or zipped projects
- Shorten and redirect URLs, or collect files from others as a "postbox"
Dependencies for MicroBin Hosting
None: MicroBin is a single executable with its own SQLite database.
Deployment Dependencies
| Resource | URL |
|---|---|
| MicroBin | https://microbin.eu |
| Configuration options | https://microbin.eu/docs/installation-and-configuration/configuration |
| Source code | https://github.com/szabodanika/microbin |
This template is not maintained by the team behind MicroBin.
Why Deploy MicroBin 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 MicroBin 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
microbin
danielszabo99/microbin