TinyBin is a modern, minimal, and ad-free pastebin for your notes and code.
Built with Node.js, Express, and MySQL.
Easily self-host with Docker!
docker-compose.ymlcurl -O -L https://github.com/FoxyIsCoding/TinyBin/raw/refs/heads/main/docker-compose.yml
docker-compose up
pastefox)Open http://localhost:3000 in your browser.
3306, with data persisted in a Docker volume.3000.You can customize DB credentials in docker-compose.yml if needed.
PasteFox uses these env vars (set automatically in Docker):
DB_HOST, DB_PORT, DB_USER, DB_PASSWORD, DB_NAMEWEB_PORT (default: 3000)On every start, PasteFox will auto-create the notes table and indexes if they don't exist.
No manual SQL needed!
If you like this project, consider supporting me on Ko-fi!
Your support keeps PasteFox ad-free and open source.
Apache License, Version 2.0
Huge thank you to Loudbook for design inspiration and Docker help. Huge thank you to Error for writing out a better backend structure and consulting on how to migrate to a more sophisticated stack. Couldnt have done it without him.