rustypaste
Self-HostedLightweight, self-hosted pastebin written in Rust
Overview
rustypaste is a fast, secure self-hosted pastebin built with Rust. It supports text pastes (with syntax highlighting for over 100 languages) and file uploads (configurable size limits, expiration, password protection). Deployment is simple: use Docker (official image), pre-built binaries, or build from source. It requires no database (data stored as files) and uses minimal resources, ideal for small servers. Configuration via a TOML file lets you customize upload rules, storage paths, and server settings.
Self-Hosting Resources
Below is a reference structure for docker-compose.yml.
⚠️ Do NOT run blindly. Replace placeholders with official values.
version: '3'
services:
rustypaste:
image: <OFFICIAL_IMAGE_NAME>:latest
container_name: rustypaste
ports:
- "8080:<APP_INTERNAL_PORT>"
volumes:
- ./data:/app/data
restart: unless-stopped Key Features
- Text pastes with syntax highlighting (100+ languages)
- File uploads with expiration and password protection
- No database dependency (low overhead storage)
- Easy deployment via Docker or pre-built binaries
Frequently Asked Questions
? Is rustypaste hard to install?
No—you can deploy via Docker (official image: `docker run -d -p 8000:8000 -v ./data:/app/data orhun/rustypaste`) or download pre-built binaries from GitHub Releases. Configuration uses a simple TOML file with clear options.
? Is it a good alternative to Pastebin.com?
Yes—it offers core pastebin features (text/file uploads) with self-hosted privacy. It lacks Pastebin’s user accounts but is ad-free, lightweight, and lets you control your data. Great for personal or small team use.
? Is rustypaste completely free?
Yes—it’s open source under the MIT License, so it’s free to use, modify, and distribute without any cost or subscription fees.
Top Alternatives
People Also Ask about rustypaste
Tool Info
Pros
- ⊕ Lightweight and fast (Rust-powered performance)
- ⊕ Privacy-focused (full control over your data)
- ⊕ Simple configuration with TOML file
Cons
- ⊖ No built-in user authentication (anonymous-only)
- ⊖ Requires basic server administration knowledge
- ⊖ Limited advanced collaboration features