Skip to content

An easy Pastebin service with command line client

Let me introduce you to Hastebin.

It is a simple pastebin service that you can self-host.

The server bits are available at

I personally use this Docker container:

The awesome part is that a command line client exists!

On your Linux workstation, just do a simple gem install haste.

Then create an alias in your .bashrc or .zshrc config: alias pastebin="HASTE_SERVER= haste".

Then after restarting your session or sourcing your config file, you can start pasting from the CLI:

echo blah | pastebin

The client sources are available at