snips.sh

command module
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2026 License: MIT Imports: 10 Imported by: 0

README

snips.sh ✂️

SSH-powered pastebin with a human-friendly TUI and web UI

FeaturesQuick StartExamplesDocsCredits

tui
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.
upload
Download files and pipe into your favorite $PAGER.
download
Update an existing snip in place, each diff is saved as a revision.
update
Something secret to share? Create a temporary, time-bound URL for restricted access.
private

Docs

Contributors

Credits

The technology behind snips.sh is powered by these amazing projects:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
app
db
files
Package files holds file mutations shared by the SSH and HTTP frontends.
Package files holds file mutations shared by the SSH and HTTP frontends.
id
ssh
tui
tui/feedback
Package feedback renders success/error notices shown inside views.
Package feedback renders success/error notices shown inside views.
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL