README ¶ 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 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 Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Directories ¶ Show internal Expand all Path Synopsis internal app config db http id logger renderer signer snips ssh stats testutil timeutil tui tui/cmds tui/msgs tui/styles tui/views tui/views/browser tui/views/code tui/views/prompt Click to show internal directories. Click to hide internal directories.