MicroBin is a self-hosted pastebin and file-sharing web application written in Rust.
MicroBin addresses the need for a lightweight, privacy-focused alternative to public paste services. It solves this by providing a single, self-contained executable that handles text sharing, file uploads, URL shortening, and content serving. The tool implements end-to-end encryption for both server and client sides, allowing users to share sensitive data securely. Uploads can be configured as private or public, editable or read-only, with optional automatic expiration. The application uses animal names as identifiers for uploads rather than random strings, supports multiple attachments, and offers both SQLite and JSON database backends.
MicroBin suits developers and organizations wanting to self-host a paste service without external dependencies or complex infrastructure. It requires minimal system resources and can be deployed in minutes via Docker or installed directly from Cargo. The tool works well for sharing code snippets, large files, configuration data, or sensitive documents within teams or across machines. It also functions as a URL shortener and raw content server for serving files via HTTP. Anyone needing a privacy-respecting alternative to public pastebin services will find the built-in encryption and self-hosting model particularly valuable.
The project maintains active build and release pipelines with Docker image generation. Development activity shows consistent attention to both the core application and deployment infrastructure through automated testing workflows.