Pastebin

pastebin
Login

Simplistic web pastebin

Installation

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

Documentation

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:
  -b    browse pastes
  -d pasteid
        delete a paste by its pasteid
  -l    list available pastes
  -p ndays
        purge pastes older than ndays

The source code should be edited to specify the target pastebin, and associated API key if any.