Kleber provides an official client which allows pastes and uploads from the command line. The main purpose is to provide a command line interface where the basic API features are implemented. Uploading of pure text as well as data/binary is supported from either files or STDIN.
The sources of the Kleber CLI are available on GitHub. There is also a kleber-git package available in the Arch User Repository (AUR).
$ pip install -r requirements.txt $ pit install .
Kleber supports configuration files. The default configuration file is located at ~/.kleberrc.
A minimal configuration file includes just one line with a valid Authentication Token:
{"api_key": "$INSERT_API_KEY_HERE"}
$ kleber /data/file
$ echo "Kleber is awesome" | kleber -
$ echo "More Kleber" | kleber --name mypaste
$ kleber --list
$ kleber --help
Feel free to open issues and create pull requests on the GitHub page.