
Rustypaste
Minimal Rust-based file upload and pastebin service

Rustypaste is a minimal file upload and pastebin service implemented in Rust. It provides a single-binary HTTP server and a companion CLI for uploading files, creating short or one-shot URLs, and managing expirations.
Key Features
- HTTP file upload, URL shortening and upload-from-URL support.
- One-shot links (files/URLs that can be viewed only once) and expiring links with optional auto-deletion.
- Random filename strategies (petname, alphanumeric, random suffix) and optional duplicate detection.
- MIME type guessing with override/blacklist and support for forcing downloads via query parameter.
- Basic HTTP token authentication support and token-protected delete endpoint.
- Single-binary distribution (cargo/crates) with prebuilt packages for various platforms and Docker images.
- Simple TOML configuration with hot-reload support and optional features for rustls/openssl and shuttle integration.
Use Cases
- Share logs, snippets, or files quickly between team members without creating accounts.
- Provide temporary or one-off download links for CI artifacts, debug data, or support traces.
- Short-lived URL shortening for ephemeral links or temporary redirects.
Limitations and Considerations
- Authentication is token-based (basic HTTP auth via tokens); there is no built-in OAuth, SAML, or advanced RBAC.
- No built-in web admin dashboard (third-party UIs/clients exist); management is via CLI, HTTP endpoints, or the filesystem.
- Uses the local filesystem for storage (no database), so metadata/querying is limited and scaling requires external proxies or storage strategies.
Rustypaste is designed for simplicity and performance: a compact Rust binary that covers common pastebin and temporary file-sharing needs while remaining configurable and easy to deploy.
Categories:
Tags:
Tech Stack:
Similar Services

asciinema
Command-line terminal session recorder and web player
Open-source CLI for recording, replaying and live-streaming terminal sessions using lightweight asciicast files and an embeddable web player.

PrivateBin
Zero-knowledge encrypted pastebin with browser-side AES encryption
PrivateBin is a minimalist zero-knowledge pastebin that encrypts and decrypts pastes in the browser, with optional passwords, expiration, discussions, and file uploads.
MicroBin
Secure pastebin for text and file sharing with URL shortening
MicroBin is a lightweight, secure pastebin for sharing text, files, and short URLs with optional encryption, expiration controls, and raw file serving.

Opengist
Self-hosted Git-backed pastebin and Gist-compatible code snippet manager
Self-hosted pastebin powered by Git. Create, share and manage public, unlisted or private code snippets with syntax highlighting, Git push/pull, OAuth logins and Docker/H...

Onetime Secret
Self-destructing service for sharing single-use encrypted secrets
Open-source web and API service to create encrypted, single-view links for sharing secrets with configurable expiry and optional passphrase protection.


ByteStash
Self-hosted web app for storing and organizing code snippets
ByteStash is a self-hosted snippet manager for creating, editing, and filtering code snippets with secure storage in SQLite and an optional API with Swagger UI.


