Self-host hasty-paste
v2.4.1Lightning-fast pastebin with sleek web UI
- Stars
- 254
- Port
- 8080 (HTTP web interface)
ghcr.io/enchant97/hasty-pasteWhat is hasty-paste?
Hasty Paste II is a self-hosted pastebin designed for individuals and teams who want a fast, modern way to share text and code snippets. It offers three visibility levels (public, unlisted, private), customizable slugs, paste expiry, and file attachments. Content can be rendered as plain text, Markdown, or syntax-highlighted code. User accounts support an anonymous mode, and single sign-on works via any OpenID Connect/OAuth2 provider. The UI includes both light and dark themes and is fully responsive. The application runs as a single Docker container (ghcr.io/enchant97/hasty-paste) with configuration via environment variables, using SQLite by default for storage. It exposes a REST API for programmatic paste creation. The project is licensed under AGPL-3.0 and accepts donations via Buy Me A Coffee.
Should you self-host hasty-paste?
hasty-paste scores 48/100 on selfhost.directory (how scoring works) and ranks #10 of 19 in Pastebins. It has 254 GitHub stars.
It shipped 4 stable releases in the past year. The latest, v2.4.1, came out on 3 September 2026. New versions land roughly every 6 weeks.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Go.
Its closest alternative on selfhost.directory is Opengist (68/100, 3 406 stars). It scores higher overall, so compare the two before you pick. See hasty-paste vs Opengist side by side.
Features
- Content rendering
- Customizable paste slugs
- File attachments
- OpenID/OAuth2 SSO
- Paste expiry
- Paste visibility controls
- REST API
- User accounts with anonymous mode
hasty-paste README
More in Pastebins
LiteGistSelf-hosted pastebin with multi-file Gists, Git history, Sub-Store integration for Clash/Sing-box, PWA, dark/light themes, admin dashboard, and WebDAV backup.
mainSelf-hosted pastebin alternative with browser encryption, VS Code–like editor, file sharing, whiteboard drawings, and peer connections.
MicroBinSelf-hosted, open-source paste bin in a single Rust binary: share text, files and URL redirects with five privacy levels, E2E encryption, expiry and QR codes.
NoPasteOpen-source, self-hosted pastebin with no database or back-end: text is LZMA-compressed straight into the URL, with syntax highlighting, embedding and offline use.
OpengistOpen-source, self-hosted pastebin alternative to GitHub Gist storing snippets in Git with syntax highlighting, revisions, OAuth/LDAP auth, and multiple databases.
paasterPaaster is a self-hosted, open-source pastebin with end-to-end encryption in the browser. Supports paste history, themes, QR sharing, and optional 2FA.
pacebinA dead-simple, self-hostable, filesystem-backed pastebin and file hosting service written in C.
pasteA self-hosted, open-source pastebin for anonymous multi-file pastes with syntax highlighting, visibility levels, expiry and a stable REST API.
pasteburnPasteburn is a self-hosted, open-source pastebin that encrypts content in the browser and destroys it after a set number of views or time limit.
PastefySelf-hosted, open-source pastebin alternative with folders, encrypted pastes, Markdown/Mermaid previews and a REST API; runs as a Docker image plus MySQL.
pasteyPastey is a minimal, open-source, self-hosted paste platform with automatic language detection, optional encryption, expiration, and a JSON API. Run via Docker or Python.
QBinSelf-hosted pastebin alternative with Monaco editor, Cherry Markdown, PWA offline, customizable paths, OAuth2 login, and multi-level caching.

0 comments