0bin
0bin is a client-side encrypted pastebin written in Python with the Django web framework. It was the first popular pastebin to encrypt pastes entirely in the browser, so the server stores only ciphertext and even the server operator cannot read the content. It is easy to host, requires no database, and is privacy-first by default.
Key Features
- Client-side encryption — Pastes are encrypted with AES in the browser using the Stanford JavaScript Crypto Library before upload
- No database required — Pastes are stored as files on disk; a single configuration file is all you need
- Paste expiration — Set pastes to burn after reading or expire after a chosen number of days
- Syntax highlighting — Code highlighting for a wide range of languages
- Short, shareable URLs — Every paste gets a compact link ready to share
- Easy deployment — Runs on any Python 3 environment with pip; works with common WSGI servers
Why Use 0bin?
0bin was a pioneer of the zero-knowledge pastebin approach and remains a clean, simple implementation of it. If you prefer a Python stack over PHP or Node.js, it is the natural fit: no database, no external services, and a small codebase you can audit yourself. The Tygs/0bin fork keeps the project alive with modern Python support.
Use Cases
- Encrypted sharing of snippets and text where the host must not be able to read the content
- Self-hosting a pastebin on a Python-friendly server or container
- Short-lived paste sharing with automatic expiration
- Learning how browser-side encryption for pastebin services works
Platform
Linux · macOS · Windows (Python 3)
Licence
WTFPL
Website
github.com/Tygs/0bin
Views: 0