Wastebin is a deliberately minimal pastebin written in Rust: one static binary, an SQLite database and a small server-rendered web interface. It has no accounts, no admin panel and no plugins — you paste text, you get a short URL, and the entry disappears when its rules say it should.
Pre-built static binaries for Linux and macOS are published on the project’s GitHub releases page; unpack and run. The project also ships a Docker image, quxfoo/wastebin, available as latest or pinned to a version tag. Point the WASTEBIN_DATABASE_PATH environment variable at the database file and bind-mount the directory to keep pastes across restarts, for example docker run -e WASTEBIN_DATABASE_PATH=/data/state.db -v /path/for/storage:/data quxfoo/wastebin:latest. A docker-compose example and a multi-stage Dockerfile (with --target amd64 or --target arm64) are included in the repository for building your own image.
The container is built from scratch, so it has no shell and no TMPDIR set: if database migrations fail with SQLite error code 6410, pass a writable TMPDIR.
Wastebin is a pastebin and nothing more: there is no user authentication, no administrative interface and no support for arbitrary file uploads. The author warns that the project has no mitigations against denial-of-service attacks and advises against exposing an instance publicly without putting rate limiting and access control in front of it. Paired with a reverse proxy and a private network, it makes a clean, low-maintenance paste service for a team.