A fast, ephemeral Pastebin — no configs, no accounts, no nonsense (or is it?)
Paste your code or text and get a link that self-destructs in 5 minutes. Designed for simplicity, speed, and privacy. Ideal for quick sharing without worrying about cleanup or storage. Use this at 5minpastebin.com
- ⏳ Pasted content expires after 5 minutes.
- 🧼 No signups, no settings, no clutter.
- 🔗 Shareable, one-time-use paste links.
- 🌐 Clean and minimal web UI.
- ⚡ Built with Go, HTMX, Templ, and Tailwind CSS.
These instructions will help you run 5minpastebin.com
locally for development and testing.
- Go 1.24+
- Docker (for local redis)
- Make
git clone https://github.com/YOUR_USERNAME/5minpastebin.com.git
cd 5minpastebin.com
Command | Description |
---|---|
make all |
Run tests and build the project |
make build |
Build the application binary |
make run |
Run the server locally |
make watch |
Watch for file changes and reload |
make test |
Run unit tests |
make itest |
Run integration tests |
make clean |
Clean up compiled binary |
Command | Description |
---|---|
make docker-run |
Start DB container (PostgreSQL) |
make docker-down |
Stop DB container |
- Paste any code/text in the home page.
- Get a unique link like:
https://5minpastebin.com/a1b2c3
- That paste will auto-expire in 5 minutes.
- Go – Backend
- HTMX – Dynamic frontend
- Templ – HTML templates with Go
- Tailwind CSS – Styles
- Redis – Storage
Your data is never stored permanently. All pastes are deleted after 5 minutes — automatically. There is no logging, no cookies, and no tracking.
Pull requests are welcome! For major changes, open an issue first to discuss what you’d like to change.
Please make sure to update tests as appropriate.
This project is licensed under a custom Non-Commercial License.
You are free to use, modify, and deploy it for personal or educational use. Commercial use (including offering it as a hosted service) is strictly prohibited.
For commercial licenses, contact the author.
If you like this project, consider giving it a ⭐️ on GitHub!
Made with ❤️ by @Dhruv-Sachdev1313