Snip
Self-hosted code & file sharing platform. Single Go binary, zero dependencies, runs anywhere.
MIT License
Go 1.21+
SQLite
Single Binary
Why Snip?
| Other Tools | Snip |
|---|---|
| GitHub Gist requires account | Self-hosted, anonymous by default |
| transfer.sh is unmaintained | Active development |
| PrivateBin is PHP + JS heavy | Single 13MB Go binary |
| hastebin is dead | REST API, modern UI |
Quick Install
One-line install
bash
curl -L https://github.com/Vesper36/snip/releases/latest/download/install.sh | bash
Docker
bash
docker run -d -p 53524:53524 --name snip vesper/snip
From source
bash
git clone https://github.com/Vesper36/snip.git
cd snip
go build -o snip ./cmd/server
./snip
Open http://localhost:53524 and start sharing code.
Highlights
Auto Expiry
Set paste expiration from 10 minutes to 1 month. Automatic cleanup.
Password Protection
bcrypt encryption for sensitive pastes. Content stays secure.
Burn After Reading
Self-destructing pastes deleted after first view.
REST API
Full REST API with token authentication. CLI-friendly.
40+ Languages
Auto-detection syntax highlighting powered by Highlight.js.
Single Binary
Zero external dependencies. 13MB binary, runs anywhere.
Next Steps
- Getting Started - Install and run Snip
- API Reference - Integrate with your tools
- Deployment - Production deployment guide
- Features - Explore all features