Simplistic web pastebin
Installation can be done using go get:
$ go get foutaise.org/fossil/pastebin
or by cloning this repository using fossil:
$ fossil clone https://foutaise.org/fossil/pastebin pastebin.fossil $ mkdir pastebin $ cd pastebin $ fossil open ../pastebin.fossil $ make $ sudo make install
pastebin documentation is available in the man page.
Command line client
A pastebin client is provided to create and manage pastes from the command line:
$ pastebin-client -h Command line pastebin client Usage: pastebin-client < file Options: -h : display this help and exit -l : list available pastes -d <pasteid> : delete a specific paste -p <ndays> : purge pastes older than <ndays>
The header of the file should be edited to specify the target pastebin, and associated API key if any.