wastebin logo

wastebin

Website

Minimal pastebin with encryption and syntax highlighting

828 stars 58 forks last commit first released MIT

Actively maintained

Last commit 26 Jul 2026.

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 to wastebin

MicroBin logo

MicroBin

Secure pastebin for text and file sharing with URL shortening

4.5k
312
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
PictShare logo

PictShare

Self-hosted media and paste hosting with a simple upload API

944
136
Last commit

Self-hosted image, GIF, MP4, and text paste hosting with a simple API, on-the-fly resizing, and URL-based transformations. File-based storage; no database required.

Actively maintained
Alternative to:
Imgur logo
Imgur
+19
ByteStash logo

ByteStash

Self-hosted web app for storing and organizing code snippets

2.5k
118
Last commit

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.

GPL-3.0Actively maintained
Alternative to:
SnippetsLab logo
SnippetsLab
+2

Chiyogami

Self-hosted pastebin with client-side encryption and REST API

78
4
Last commit

Modern pastebin offering client-side encryption, configurable expiry, user accounts, public search and a REST API. Built with Go, SQLite and TailwindCSS.

BSD-3-ClauseActively maintained
Alternative to:
Pastebin logo
Pastebin
+5
Onetime Secret logo

Onetime Secret

Self-destructing service for sharing single-use encrypted secrets

2.9k
445
Last commit

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

MITActively maintained
Alternative to:
Onetime Secret logo
Onetime Secret
+6
Paaster logo

Paaster

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

553
23
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