Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/syntax-samurai/pb

pb; a command line pastebin service helper (9 supported services)
https://github.com/syntax-samurai/pb

paste pastebin pastebin-client shell

Last synced: 1 day ago
JSON representation

pb; a command line pastebin service helper (9 supported services)

Awesome Lists containing this project

README

        

# pb

```

▄▀▀▄ █▐▀▄
█▐░█░█▐░█░ ░ ░
█▐▄▀ ▀▄▄▀
█ pb; command line pastebin service helper
{kopimi,CC0} MMXVIII-MMXXIV . syntax samurai
▟▙
▟▒░░░░░░░▜▙▜████████████████████████████████▛
▜▒░░░░░░░▟▛▟▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▛
▜▛
```

## credz

- authors:
- xero
- stark
- code:
- https://code.x-e.ro/pb
- https://git.io/pb.sh
- greets:
- all the ops of these great free services `<3`

## usage

`pb [file|stream]`

# services

- [0x0.st](https://0x0.st)
- [catbox.moe](https://catbox.moe)
- [clbin.com](https://clbin.com)
- [ix.io](http://ix.io)
- [lewd.se](https://lewd.se)
- [p.iotek.org](https://p.iotek.org)
- [pastebin.com](https://pastebin.com)
- [temp.sh](https://temp.sh)
- [uguu.se](https://uguu.se)

## environment variables:

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

## envs for pastebin.com:

- `PB_API_DEV`
- developer api key [required] https://pastebin.com/api#1
- `PB_API_USR`
- user api key [optional] https://pastebin.com/api#8
- `PRIVACY`
- paste visibility [optional]
- valid values: public|0, unlisted|1, private|2
- `ANON`
- paste w/o a user key even if defined [optional]

## examples

- `pb ix ~/.vimrc`
- http://ix.io/1lmr
- `pb 0x0 <(ps aux)`
- https://0x0.st/s0yS.txt
- `dmesg | pb iop`
- https://p.iotek.org/gb2
- `PB_API_DEV=XXXX PRIVACY=0 pb pb /tmp/leak.txt`
- https://pastebin.com/ri2QUGCy
- `UA="Mozilla/5.0 (PlayStation 4 5.55) AppleWebKit/601.2 (KHTML, like Gecko)" pb uguu /tmp/waifu.jpg`
- https://uguu.se/huLq

## license

![kopimi logo](https://gist.githubusercontent.com/xero/cbcd5c38b695004c848b73e5c1c0c779/raw/6b32899b0af238b17383d7a878a69a076139e72d/kopimi-sm.png)

[kopimi](https://kopimi.com)! 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](https://creativecommons.org/publicdomain/zero/1.0/) for you nonbelievers.