# hasty-paste

> Self-hosted pastebin with responsive UI, public/unlisted/private pastes, file attachments, Markdown rendering, OIDC SSO, and dark/light themes.

- **Category:** Pastebins
- **Licence:** AGPL-3.0
- **Latest version:** v2.4.1
- **Open source:** oss
- **Languages:** Go, templ
- **Platforms:** Docker Compose
- **Tags:** Markdown, REST API, SSO, File Upload, Pastebin, OIDC, Docker, Agpl, Syntax highlighting, Self Hosted, Webapp

## Description

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.

## Links

- [Homepage](https://github.com/enchant97/hasty-paste)
- [Website](http://hastypaste.docs.enchantedcode.co.uk/)
- [Docker](ghcr.io/enchant97/hasty-paste)
- [Documentation](https://hastypaste.docs.enchantedcode.co.uk/docs/)
- [GitHub Repository](https://github.com/enchant97/hasty-paste)
- [About Page](https://hastypaste.docs.enchantedcode.co.uk/about/)

---
Source: https://selfhost.directory/project/hasty-paste