Rustypaste logo

Rustypaste

Minimal Rust-based file upload and pastebin service

1.2k stars 84 forks last commit first released MIT

Actively maintained

Last commit 25 Aug 2026.

Rustypaste screenshot

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:

Share:

Similar to Rustypaste

Enclosed logo

Enclosed

Minimal app for sharing end-to-end encrypted notes and files

2.1k
183
Last commit

Self-hostable, end-to-end encrypted note and file sharing with zero-knowledge storage, optional passwords, expiration (TTL), and delete-after-reading links.

Apache-2.0Slowing down
Alternative to:
Privnote logo
Privnote
+13
MicroBin logo

MicroBin

Secure pastebin for text and file sharing with URL shortening

4.5k
317
Last commit

MicroBin is a lightweight, secure pastebin for sharing text, files, and short URLs with optional encryption, expiration controls, and raw file serving.

BSD-3-ClauseActively maintained
Alternative to:
Pastebin logo
Pastebin
+17
wastebin logo

wastebin

Minimal pastebin with encryption and syntax highlighting

842
60
Last commit

wastebin is a minimal, self-hostable pastebin with a Rust/axum backend, SQLite storage, syntax highlighting, optional encryption, and expiration/burn-after-read controls.

MITActively maintained
Alternative to:
Pastebin logo
Pastebin
+4
Opengist logo

Opengist

Self-hosted Git-backed pastebin and Gist-compatible code snippet manager

3.3k
186
Last commit

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/Helm deployment.

AGPL-3.0Actively maintained
Alternative to:
Pastebin logo
Pastebin
+6
dpaste logo

dpaste

Django-based pastebin for sharing text snippets

640
125
Last commit

dpaste is an open source Django pastebin for publishing and sharing text snippets with optional self-hosting via standard Django or Docker deployments.

MITSlowing down
Alternative to:
Pastebin logo
Pastebin
+5
Paaster logo

Paaster

End-to-end encrypted pastebin with history and expiring pastes

562
24
Last commit

Self-hostable pastebin focused on privacy, with browser-side end-to-end encryption, paste history, expiring pastes, and file drag-and-drop.

AGPL-3.0Actively maintained
Alternative to:
Pastebin logo
Pastebin
+5