Logo
Deploy Now

Stars

255

Forks

17

Watchers

2

Developer links

Hasty Paste

Paste some text, hit save, share the link - Hasty Paste is a fast, minimal pastebin written in Python on the async Quart framework, named, by its author's own admission, "because you use it so fast without a care in the world." No accounts, no authentication, no friction - built for the everyday case of handing a debug log, config snippet, or stack trace to someone in tech support or a chat channel. Pastes get randomly generated IDs, with an optional "long" ID mode that makes brute-force URL guessing impractical, and expiry times ensure throwaway content actually gets thrown away. Optional Pygments syntax highlighting makes code readable, a dark theme spares your eyes, and the whole interface works without JavaScript - it renders in terminal browsers and under the strictest script blockers. Storage is a custom flat-file system (no database), caching runs internally or through Redis for busier instances, and a REST API plus the companion "Hastily Paste It" CLI script enable piping command output straight into a paste from the terminal. The Alpine-based Docker image is tiny, resource usage is minimal, and the license is AGPL.

Hasty Paste

Benefits

  • Zero-Friction Sharing
  • No accounts or auth - paste, save, and hand over the link.
  • Throwaways Get Thrown Away
  • Expiring pastes clean up debug logs automatically.
  • Works Everywhere
  • No JavaScript required - renders in terminal browsers and under script blockers.
  • Nothing to Operate
  • Flat-file storage on Alpine Linux - no database, minimal resources.

Features

  • Instant Pastes
  • Paste text and save in seconds, built for logs and snippets.
  • Random and Long IDs
  • Unguessable URLs, with a long-ID mode against brute forcing.
  • Expiring Pastes
  • Set lifetimes so shared content disappears on schedule.
  • Syntax Highlighting
  • Optional code highlighting with a dark theme.
  • REST API and CLI
  • Pipe command output into pastes with the Hastily Paste It script.
  • Flexible Caching
  • Internal caching by default, Redis for busier instances.