snips.sh ✂️
SSH-powered pastebin with a human-friendly TUI and web UI
Features • Quick Start • Examples • Docs • Credits
Features
- ⚡ Zero-install: use from any machine with SSH client installed
- 🌐 Web UI: syntax-highlighted code with short links and Markdown rendering
- 💻 TUI: never leave your terminal for snippet management/viewing
- 🔑 No passwords: all you need is an SSH key
- 🕵️ Anonymous: no sign ups, no logins, no email required
- ⏰ URLs with TTL: time-limited access for sensitive sharing
- 📦 Self-hostable: containerized and light on resources
- 🧠 ML language detection: intelligently identify source code
Quick Start
If you have an SSH key, you can upload:
echo '{ "hello" : "world" }' | ssh snips.sh
To access the TUI:
ssh snips.sh
Examples
Upload from any machine, no install necessary. |
Download files and pipe into your favorite $PAGER . |
Something secret to share? Create a temporary, time-bound URL for restricted access. |
Docs
- Contributing: How you can contribute to snips.sh
- Database: How snips.sh stores it’s data
- Self Hosting: How to host your own instance of snips.sh
- Terms of Service: What we (snips.sh provider) and you can/can’t do
- Acceptable Use Policy: What you can/can’t upload
Contributors
Credits
The technology behind snips.sh is powered by these amazing projects:
charmbracelet
charmbracelet/wish
: SSH servercharmbracelet/bubbletea
: TUI framework
yoeo/guesslang
: Guesslang model to detect programming language source coderobherley/guesslang-go
: Go port of tensorflow Guesslang model
alecthomas/chroma
: Syntax Highlighteryuin/goldmark
: Markdown Parsermicrocosm-cc/bluemonday
: HTML Sanitizertdewolff/minify
: Minifier