Rustypaste

Rustypaste

Minimal Rust-based file upload and pastebin service

1.1kstars
75forks
Last commit: 7d ago
Repo age: 5y old
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 Services

asciinema

asciinema

Command-line terminal session recorder and web player

16.9k
1k
Last commit: 8d ago

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

Alternative to:
Screen Studio
Screen Studio
+1
PrivateBin

PrivateBin

Zero-knowledge encrypted pastebin with browser-side AES encryption

8k
962
Last commit: 14h ago

PrivateBin is a minimalist zero-knowledge pastebin that encrypts and decrypts pastes in the browser, with optional passwords, expiration, discussions, and file uploads.

Alternative to:
Pastebin
Pastebin
+5
MicroBin

MicroBin

Secure pastebin for text and file sharing with URL shortening

4.1k
265
Last commit: 2d ago

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

Alternative to:
Pastebin
Pastebin
+17
Opengist

Opengist

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

3k
156
Last commit: 8h ago

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...

Alternative to:
Pastebin
Pastebin
+6
Onetime Secret

Onetime Secret

Self-destructing service for sharing single-use encrypted secrets

2.7k
427
Last commit: 13h ago

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

Alternative to:
Onetime Secret
Onetime Secret
+6
ByteStash

ByteStash

Self-hosted web app for storing and organizing code snippets

2.1k
102
Last commit: 8d ago

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.

Alternative to:
SnippetsLab
SnippetsLab
+2