BinPastes
Self-HostedOpen-source self-hosted pastebin with syntax highlighting
Overview
BinPastes is a lightweight, self-hosted pastebin solution for secure, private sharing of code snippets and text. It supports syntax highlighting for 100+ programming languages, custom paste expiration times, and password protection for sensitive content. Deployable via Docker for quick setup or manual installation on Linux servers, it offers a clean, ad-free interface with no external dependencies beyond basic web server tools. Users retain full control over their data, avoiding third-party privacy risks—ideal for developers or teams needing a reliable alternative to public paste services.
Self-Hosting Resources
Below is a reference structure for docker-compose.yml.
⚠️ Do NOT run blindly. Replace placeholders with official values.
version: '3'
services:
binpastes:
image: <OFFICIAL_IMAGE_NAME>:latest
container_name: binpastes
ports:
- "8080:<APP_INTERNAL_PORT>"
volumes:
- ./data:/app/data
restart: unless-stopped Key Features
- Syntax highlighting for 100+ programming languages
- Custom expiration & password-protected pastes
- Docker deployment for one-click setup
- Minimal, ad-free user interface
Frequently Asked Questions
? Is BinPastes hard to install?
BinPastes is easy to install via Docker—pull the official image and run it with minimal config. Manual installation works on Linux with PHP/Apache/Nginx, though it needs basic command-line skills.
? Is it a good alternative to Pastebin.com?
Yes—BinPastes matches core paste functionality but with self-hosting benefits: no ads, full data control, and no public exposure unless shared. It prioritizes privacy over social features.
? Is BinPastes completely free?
BinPastes is 100% free and open-source under the MIT License. No paid tiers or hidden costs—use, modify, and self-host without restrictions.
Top Alternatives
People Also Ask about BinPastes
Tool Info
Pros
- ⊕ Full data privacy and ownership
- ⊕ Lightweight resource footprint
- ⊕ No ads or third-party tracking
Cons
- ⊖ Requires basic server administration knowledge
- ⊖ Lacks advanced social features of public pastebins