termpad

A (self hosted) pastebin for easily sharing text right from the terminal

Usage

Upload some text:

From the web

With cURL:

            $ curl -d "Hello World\!" termpad.com
            $ curl --data-binary @path/to/file termpad.com
        
With HTTPie:

            $ echo "Hello World\!" | http POST termpad.com
            $ http POST termpad.com < path/to/file
        

Get some text:

With cURL:

            $ curl termpad.com/raw/PlainVastAirport
        
With HTTPie:

            $ http termpad.com/raw/PlainVastAirport
        
Don't forget to add that /raw/ there or else you will get html code meant for the browser


This instance is currently configured to keep files for 120 days


For server usage and hosting it yourself, check out github