Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

pbnj

Pastebin CLI with automatic language detection, clipboard integration, and agenix auth.

Options

All options under atelier.pbnj:

OptionTypeDefaultDescription
enableboolfalseInstall the pbnj CLI
hoststringPastebin instance URL
authKeyFilepathPath to auth key file (e.g. agenix secret)

Usage

pbnj                          # Interactive menu
pbnj upload myfile.py         # Upload file (auto-detects Python)
cat output.log | pbnj upload  # Upload from stdin
pbnj list                     # List pastes
pbnj delete <id>              # Delete a paste

Supports 25+ languages via file extension detection. Automatically copies the URL to clipboard (wl-copy/xclip/pbcopy depending on platform).