I have been using for a long time a pastebin called snips.sh which has an unusual feature: you create the pastes using ssh
BUT … I have always felt that it didn’t take the idea far enough. So I did ![]()
Introducing pasto a pastebin that provides SSH and HTTP interfaces.
You can create pastes using a nice web UI:
Or you can cat myfile | ssh pasto1.ralsina.me and it will create it too.
The pastes you create via ssh are associated with yout public key. And you can then use that key to login
ssh pasto1.ralsina.me login
That will give you a URL you can use to access the server and now you are logged in. There is never a password!
It has really a TON of features! Pastes are editable, versioned, and you can “fork” someone else’s paste, for example.
- If you want to support similar SSH integration into an app, you can use ralsina/shirk
- If you want to detect what programming language something is written in? ralsina/hansa
- Want to syntax highlight things? ralsina/tartrazine
- Want to rate-limit things? ralsina/rate_limiter
- Want to use docopt to define all your app’s config? ralsina/docopt-config
- Want a library to serialize a tree of objects to disk with optional versioning? ralsina/sepia
I will be setting up a public instance on a VPS soonish.
