
wastebin
Minimal pastebin with encryption and syntax highlighting

wastebin is a lightweight pastebin service focused on simplicity, low resource usage, and a clean web UI. It provides a small API and browser interface for creating, viewing, and managing text pastes with optional client-like protections such as password-based encryption.
Key Features
- Single-binary server with low memory footprint
- Rust axum backend with SQLite persistence
- Syntax highlighting for 170+ languages
- Optional paste encryption using password-based key derivation and authenticated encryption
- Expiration options, burn-after-reading, and deletion by anonymous paste owners
- Raw and formatted views, keyboard-driven UI, and QR code display for paste URLs
- Basic JSON API for creating, retrieving raw content, and deleting pastes
- Includes a CLI tool to list, purge expired, and delete entries in the database
Use Cases
- Sharing code snippets or logs inside a team or homelab
- Temporary dropbox for text with expiration or burn-after-reading
- Quick paste endpoint for scripts, editors, or terminal workflows via the JSON API
Limitations and Considerations
- No user authentication or admin UI; ownership is cookie-based
- Not designed to withstand all DoS vectors without external protections such as rate limiting
- No arbitrary file uploads; intended for text pastes
wastebin fits environments that want a simple pastebin with strong defaults, easy deployment (binary or container), and a small operational footprint. With proper fronting protections, it can also serve as a convenient paste endpoint for lightweight sharing workflows.
Categories:
Tags:
Tech Stack:
Similar Services

asciinema
Command-line terminal session recorder and web player
Open-source CLI for recording, replaying and live-streaming terminal sessions using lightweight asciicast files and an embeddable web player.

PrivateBin
Zero-knowledge encrypted pastebin with browser-side AES encryption
PrivateBin is a minimalist zero-knowledge pastebin that encrypts and decrypts pastes in the browser, with optional passwords, expiration, discussions, and file uploads.
MicroBin
Secure pastebin for text and file sharing with URL shortening
MicroBin is a lightweight, secure pastebin for sharing text, files, and short URLs with optional encryption, expiration controls, and raw file serving.

Opengist
Self-hosted Git-backed pastebin and Gist-compatible code snippet manager
Self-hosted pastebin powered by Git. Create, share and manage public, unlisted or private code snippets with syntax highlighting, Git push/pull, OAuth logins and Docker/H...

Onetime Secret
Self-destructing service for sharing single-use encrypted secrets
Open-source web and API service to create encrypted, single-view links for sharing secrets with configurable expiry and optional passphrase protection.


ByteStash
Self-hosted web app for storing and organizing code snippets
ByteStash is a self-hosted snippet manager for creating, editing, and filtering code snippets with secure storage in SQLite and an optional API with Swagger UI.
Docker
Rust