Deploy Now

SaaS Alternative

GitHub Gist Pastebin JustPaste.it

Stars

884

Forks

68

Watchers

4

Developer links

Wastebin

Wastebin is a self-hosted pastebin that turns any text or code snippet into a shareable link with syntax highlighting, optional password encryption, and expiration you control. Code pastes are highlighted for more than 170 languages, and nine built-in color themes in light and dark variants keep long listings readable. Markdown pastes render as formatted HTML with tables, task lists, and admonitions, and a single keystroke flips between the rendered page and the highlighted source. Sensitive snippets can be locked behind a password, and links can expire after a set time or burn after a single reading, which makes it a clean way to hand over credentials, tokens, and one-off secrets. Every paste view can show a QR code that opens the same page on your phone, and keyboard shortcuts cover raw view, URL copying, line wrapping, and the rendered toggle without touching the mouse. There are no accounts to create: you paste anonymously, and an owner cookie lets you delete your own entries later. Scripts and terminals are first-class citizens through a small JSON API, and a Neovim plugin pastes the current buffer without leaving the editor. The whole service is one small program with almost no upkeep, and stored pastes are compressed on disk so a busy instance stays lean for years. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.

Wastebin
Wastebin
Wastebin
Wastebin
Wastebin

Benefits

  • Links That Expire Themselves
  • Set a paste to vanish after a chosen time or after one reading, so credentials and tokens shared during an incident do not linger in chat history forever.
  • Password-Encrypted Paste Sharing
  • Protect a paste with a password and Wastebin encrypts its contents with ChaCha20Poly1305 and an Argon2-derived key, so the database alone never reveals what was shared.
  • One Binary, One Database
  • The whole service ships as a single small Rust binary with one SQLite file on disk, so there is no separate database server to patch, back up, or secure.
  • Readable Code In Browser
  • Syntax highlighting for over 170 languages, nine light and dark themes, line-wrap toggling, and rendered Markdown make shared snippets pleasant to read on any screen size.

Features

  • Syntax Highlighting Engine
  • The syntect library highlights more than 170 languages and formats, with nine color themes in light and dark mode derived directly from the highlighting palette.
  • Markdown Rendering Pipeline
  • Pastes with an md extension render to sanitized HTML at a dedicated route, supporting GitHub-flavored tables, task lists, admonitions, and highlighted fenced code blocks.
  • Burn-After-Reading Links
  • A paste can delete itself after its first view or at a fixed expiration time, and anonymous creators can delete their own pastes through a signed owner token.
  • JSON Paste API
  • A compact HTTP API creates pastes from JSON, fetches raw content with an optional password header, and deletes entries, so curl and scripts integrate without scraping pages.
  • QR Code Sharing
  • Pressing q on any paste displays a QR code for its URL, moving a snippet from a desktop screen to a phone camera without typing or messaging apps.

Apps Similar to Wastebin