Pastoob is a console application able to post arbitrary text — though usually related to programming — and get the raw content of those posts, called "pastes".
It supports the following websites:
You can run Pastoob without any parameter to get an interactive prompt, or specify a command to run it directly and exit just after.
In this page we will use the interactive mode:
$ pastoob Welcome to pastoob Copyright(C) 2010-2017 The Weboob Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. Type "help" to display available commands. Loaded backends: pastoob> post /tmp/weboob_is_awesome Successfuly posted paste: http://pastebin.com/bJEpUbhB pastoob> get bJEpUbhB weboob is awesome isn't it? pastoob>
help command to see what are the available commands.
For more information about common options of console applications, read this documentation.
The first time you launch pastoob, it will ask you what backends you want to add and configure.
You can also use the
backends command to manage them, and to enable only specific backends.
Using the command line
$ pastoob post /tmp/weboob_is_awesome Successfuly posted paste: http://pastebin.com/S861ncWk
$ pastoob get S861ncWk weboob is awesome isn't it?
If the filename is
- or empty, the contents will be read from stdout. It’s useful to pipe from another program. For example:
$ tail error.log|pastoob post Successfuly posted paste: http://pastebin.com/s5zzMrnX