- Install pastebinit
- Create a file in /usr/share/pastebinit.d/ called "pictshare.net.conf"
- Paste the following lines in this new file:
[pastebin]
basename = pictshare.net
regexp = https://pictshare.net
https = true
[format]
content = api_paste_code
page = page
regexp = regexp
[defaults]
page = /api/pastebin.php
regexp = (.*)
Now you should be able to use pastebinit like this: echo "hello world" | pastebinit -b pictshare.net
If you want to use pictshare as your default you can either make an alias or edit /usr/bin/pastebinit
and set defaultPB = "pictshare.net"