ByteStash
Self-HostedLightweight, self-hosted pastebin with end-to-end encryption
Overview
ByteStash is an open-source pastebin tool built for secure, private text sharing. It supports end-to-end encryption for sensitive pastes, syntax highlighting for code snippets, custom expiration times (by views or duration), and password protection. Deployable via Docker for one-click setup or manual installation on Linux servers. Features a minimal UI for fast usage, markdown support, and options to store pastes permanently or temporarily. Ideal for developers, teams, or anyone needing control over their shared text data without relying on third-party SaaS platforms.
Self-Hosting Resources
Below is a reference structure for docker-compose.yml.
⚠️ Do NOT run blindly. Replace placeholders with official values.
version: '3'
services:
byte_stash:
image: <OFFICIAL_IMAGE_NAME>:latest
container_name: byte-stash
ports:
- "8080:<APP_INTERNAL_PORT>"
volumes:
- ./data:/app/data
restart: unless-stopped Key Features
- End-to-end encryption for private pastes
- Syntax highlighting for code snippets
- Custom expiration rules (time/views)
- Docker deployment for quick setup
- Password-protected paste access
Frequently Asked Questions
? Is ByteStash hard to install?
ByteStash is easy to install with Docker—pull the official image and run it with a single command. Manual installation needs a Python environment and SQLite/PostgreSQL setup, which is manageable for users with basic server experience.
? Is it a good alternative to Pastebin.com?
Yes! ByteStash offers core paste features plus self-hosted privacy and end-to-end encryption (missing in Pastebin’s free tier). It’s perfect if you want to avoid third-party data risks while sharing text/code.
? Is it completely free?
ByteStash is 100% open-source and free. All features are available without any premium tiers—you only need a server to host it.
Top Alternatives
People Also Ask about ByteStash
Tool Info
Pros
- ⊕ Privacy-focused (self-hosted data control)
- ⊕ No subscription or hidden costs
- ⊕ Lightweight and fast performance
- ⊕ Supports markdown and code formatting
Cons
- ⊖ Requires basic server administration knowledge
- ⊖ No official mobile app (web-only interface)
- ⊖ Limited collaboration features compared to SaaS tools