snips

zero install · anonymous · open source

pipe anything,
get a link.

SSH-powered pastebin with a human-friendly TUI and web UI. There's nothing to install, it works on any machine with a SSH client.

echo '{ "hello": "world" }' | ssh -p 2220 snips.cne.mcnc.org
snips.cne.mcnc.org

        

# features

zero install

works from any machine with an SSH client, no dependencies.

no passwords

all you need is your SSH key.

anonymous

no sign-ups, no logins, no email required.

web ui

syntax-highlighted short links and markdown rendering.

tui

browse, view, and manage snips without leaving the terminal.

urls with ttl

time-limited signed urls for sensitive sharing.

self-hostable

one small container, single binary and sqlite. light on resources.

ml detection

automatic language detection of code snippets.

# cheatsheet

upload

echo "content" | ssh -p 2220 snips.cne.mcnc.org

upload (private)

echo "content" | ssh -p 2220 snips.cne.mcnc.org -- -private

upload (with type hint)

echo "content" | ssh -p 2220 snips.cne.mcnc.org -- -ext py

upload (private + signed url)

echo "content" | ssh -p 2220 snips.cne.mcnc.org -- -private -ttl 24h

upload (named)

echo "content" | ssh -p 2220 snips.cne.mcnc.org -- -name my-notes

download

ssh -p 2220 f:<id>@snips.cne.mcnc.org

download (by name)

ssh -p 2220 n:<name>@snips.cne.mcnc.org

update

echo "new" | ssh -p 2220 f:<id>:content@snips.cne.mcnc.org

rename

ssh -p 2220 f:<id>@snips.cne.mcnc.org -- rename my-notes

remove name

ssh -p 2220 f:<id>@snips.cne.mcnc.org -- rename -rm

delete

ssh -p 2220 f:<id>@snips.cne.mcnc.org -- rm

force delete

ssh -p 2220 f:<id>@snips.cne.mcnc.org -- rm -f

sign

ssh -p 2220 f:<id>@snips.cne.mcnc.org -- sign -ttl 1h

interactive tui

ssh -p 2220 snips.cne.mcnc.org