wastebin

wastebin

Minimal pastebin with encryption and syntax highlighting

737stars
52forks
Last commit: 9d ago
Repo age: 4y old
wastebin screenshot

wastebin is a lightweight pastebin service focused on simplicity, low resource usage, and a clean web UI. It provides a small API and browser interface for creating, viewing, and managing text pastes with optional client-like protections such as password-based encryption.

Key Features

  • Single-binary server with low memory footprint
  • Rust axum backend with SQLite persistence
  • Syntax highlighting for 170+ languages
  • Optional paste encryption using password-based key derivation and authenticated encryption
  • Expiration options, burn-after-reading, and deletion by anonymous paste owners
  • Raw and formatted views, keyboard-driven UI, and QR code display for paste URLs
  • Basic JSON API for creating, retrieving raw content, and deleting pastes
  • Includes a CLI tool to list, purge expired, and delete entries in the database

Use Cases

  • Sharing code snippets or logs inside a team or homelab
  • Temporary dropbox for text with expiration or burn-after-reading
  • Quick paste endpoint for scripts, editors, or terminal workflows via the JSON API

Limitations and Considerations

  • No user authentication or admin UI; ownership is cookie-based
  • Not designed to withstand all DoS vectors without external protections such as rate limiting
  • No arbitrary file uploads; intended for text pastes

wastebin fits environments that want a simple pastebin with strong defaults, easy deployment (binary or container), and a small operational footprint. With proper fronting protections, it can also serve as a convenient paste endpoint for lightweight sharing workflows.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

asciinema

asciinema

Command-line terminal session recorder and web player

16.7k
994
Last commit: 3d 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

7.9k
953
Last commit: 11d 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

4k
257
Last commit: 4d 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

2.9k
145
Last commit: 20d 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
422
Last commit: 3d 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

2k
95
Last commit: 1mo 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