GitHub - robherley/snips.sh: ✂️ passwordless, anonymous SSH-powered pastebin with a human-friendly TUI and web UI (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
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:
Examples
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 server
- charmbracelet/bubbletea: TUI framework
- yoeo/guesslang: Guesslang model to detect programming language source code
- robherley/guesslang-go: Go port of tensorflow Guesslang model
- alecthomas/chroma: Syntax Highlighter
- yuin/goldmark: Markdown Parser
- microcosm-cc/bluemonday: HTML Sanitizer
- tdewolff/minify: Minifier