OpenSource-Hub
W

wastebin

SHA-256
786 stars·Developer Tools·SHA-256 checksum verified

A minimal, self-hosted pastebin with syntax highlighting, Markdown rendering, and encryption, built as a single binary in Rust.

Smart Download

Download Download Version

v3.6.2 · 7.4 MB

A bare-bones pastebin that does one thing well — share text snippets with syntax highlighting and encryption.

Core Features

  • Single binary, low memory footprint
  • Syntax highlighting for 170+ languages via syntect
  • Markdown rendering with tables, task lists, admonitions
  • ChaCha20Poly1305 encryption with Argon2 password hashing
  • QR code for easy mobile access

What It Can't Do

  • ⚠️ No authentication or DoS protection built-in. Do NOT expose directly to the internet. Use a reverse proxy (e.g., Nginx) with rate limiting or iptables rules. Default database is in-memory — data will be lost on restart unless you set WASTEBIN_DATABASE_PATH.

Use Cases

  • Quickly share code snippets or logs within a dev team
  • Temporary note storage with self-destruct
  • Headless server text sharing via browser
  • Lightweight text submission for personal knowledge base

wastebin is a lightweight, single-binary pastebin server written in Rust. It uses axum and SQLite for a fast, low-memory backend. Features include syntax highlighting for over 170 languages, Markdown-to-HTML rendering with GitHub-flavored extras (tables, task lists, admonitions), ChaCha20Poly1305 encryption with Argon2 password hashing, optional expiration, QR code generation, and eight built-in color themes. It is designed for simplicity and efficiency — no user authentication, no file uploads, no admin panel. Deployment is straightforward: download the static binary, run it, and optionally persist data to a SQLite database. A Docker image is also available. Note: the author strongly advises against exposing wastebin directly to the internet without rate limiting due to the lack of DoS mitigations.

Tags

pastebinsyntax-highlightingmarkdownRustSQLiteself-hostedminimal

Getting Started

1

Download installer

Click the button above to download the installer for your system

2

Install the software

Double-click the downloaded installer and follow the prompts

3

Step 1: Download the pre-built static binary for your OS from the Releases page

4

Step 2: Make it executable and run: `./wastebin` (binds to 0.0.0.0:8088 by default)

5

Step 3: Open http://localhost:8088 in your browser and start pasting

Install Guide
  1. Step 1: Download the pre-built static binary for your OS from the Releases page
  2. Step 2: Make it executable and run: `./wastebin` (binds to 0.0.0.0:8088 by default)
  3. Step 3: Open http://localhost:8088 in your browser and start pasting
File Integrity

SHA-256 checksum verified

Checksum extracted from GitHub official Release page

SHA256 Checksum

aa8f71454b888cde697263c0c13ecb55c6623c8d1e8e32ad305f53704c921932

This checksum is extracted from the GitHub Release page. Verify file integrity after download.

All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.

Open Source Transparency

View GitHub Source
Environment Guide

Uninstall Info

Simply delete the downloaded binary and the SQLite database file (if you used persistent storage).

No Extra Dependencies

Ready to use after download. No additional runtime required.

Project Info
LicenseMIT
Last Updated2026-06-26 20:00:26
GitHub RepositoryOfficial Website

Having issues? Check the FAQ below

3 FAQs

Similar Projects