Wastebin
Lightweight, minimal and fast pastebin with an SQLite backend.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: When this entry was written, the official website (GitHub repository) page could not be fetched. The content below is compiled from what is known about the project. For specific features and configuration, please refer to the latest information in the GitHub repository.
Introduction
Wastebin is a minimalist, self-hosted Pastebin (text/code paste) service developed by matze in Rust. It aims to be lightweight, fast, and easy to deploy. Data is stored in a single SQLite database file, so no separate database service is needed.
Main Features
- Syntax highlighting: Code snippets can be highlighted by programming language for easier reading.
- Expiration: You can set a validity period for pastes, after which they automatically expire.
- Burn after reading: Content is deleted automatically after being viewed once, which suits sharing one-time sensitive information.
- Password encryption: You can set a password on a paste, and it is encrypted before being stored.
- Data compression: Stored content is compressed first to save disk space.
- Light and dark themes: The interface offers both light and dark modes.
- Command-line friendly: Tools such as curl can create and retrieve pastes directly over HTTP, which is convenient in scripts and terminals.
Target Users and Use Cases
- Individuals and teams who want to replace public Pastebin services and keep control of their data
- Developers sharing code snippets, logs, and configuration files with each other
- Setting up a private text-sharing tool on an internal network or a home server (Homelab)
- Passing along one-time sensitive text temporarily, such as configuration snippets or temporary credentials
Core Strengths
- Lightweight and efficient: Built in Rust with low resource usage, making it suitable for running on low-spec VPSs or a Raspberry Pi.
- Simple deployment: It runs from a single executable plus one SQLite database file, with no dependency on external services.
- Privacy-focused: Fully self-hosted, with features such as expiration, burn after reading, and password protection.
- Open source: The source code is publicly available on GitHub.
Installation and Deployment
Common deployment methods include the following:
- Docker: Deploy using the container image provided by the project, and mount the directory containing the database file as a persistent volume.
- Prebuilt binaries: Download the executable for your platform from GitHub Releases and run it directly.
- Build from source: Install the Rust toolchain, then compile and run with
cargo.
The database path, listen address, port, and similar settings are usually configured through environment variables; refer to the repository README for the exact variable names. In production, it is recommended to put a reverse proxy (such as Nginx or Caddy) in front to provide HTTPS.
Technical Requirements
- A system such as Linux that can run Docker or the prebuilt binaries; building from source requires the Rust toolchain
- Persistent storage for the SQLite database
- Very low memory and CPU usage
Notable Characteristics
Wastebin takes a minimalist approach, with no user account system or complex permission management, focusing instead on quick pasting and sharing. If you need features such as multi-user management or team collaboration, you may want to consider other, more feature-rich alternatives.
Discover more
1time
Zero-knowledge one-time secret sharing. End-to-end encrypted, self-hosted, open source.
FlashPaper
One-time encrypted zero-knowledge password/secret sharing application focused on simplicity and security. No database or complicated set-up required.
Hemmelig
Share encrypted secrets cross organizations, or as private persons.
Local Content Share
Store and share text snippets and files within your local network.
Pastefy
Beautiful, simple and easy to deploy Pastebin with optional Client-Encryption, Multitab-Pastes, an API, a highlighted Editor and more.
SnyPy
Open source on-prem code snippet manager.