pb

pastebin

read me


pb

          █
     ▄▀▀▄ █▐▀▄
░ ░ ░█▐░█░█▐░█░ ░ ░
     █▐▄▀ ▀▄▄▀
     █

 pb; a command line pastebin service helper
    {kopimi,CC0} MMXVIII . syntax samurai

         ▟▙
 ▟▒░░░░░░░▜▙▜████████████████████████████████▛
 ▜▒░░░░░░░▟▛▟▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▛
         ▜▛

cred

usage

pb <service> [file|stream]

services

environment variables:

  • UA
    • user-agent string (defaults to some chrome one)

envs for pastebin.com:

  • PB_API_DEV
  • PB_API_USR
  • PRIVACY
    • paste visibility [optional]
    • valid values: public|0, unlisted|1, private|2
  • ANON
    • paste w/o a user key even if defined [optional]

examples

license

kopimi logo

kopimi! in the spirit of freedom of information, i encourage you to fork, modify, change, share, or do whatever you like with this project! ^c^v. or CC0/public domain for you nonbelievers.