Kieran's opinionated (and probably slightly dumb) nix config
1# pbnj
2
3Pastebin CLI with automatic language detection, clipboard integration, and agenix auth.
4
5## Options
6
7All options under `atelier.pbnj`:
8
9| Option | Type | Default | Description |
10|--------|------|---------|-------------|
11| `enable` | bool | `false` | Install the pbnj CLI |
12| `host` | string | — | Pastebin instance URL |
13| `authKeyFile` | path | — | Path to auth key file (e.g. agenix secret) |
14
15## Usage
16
17```bash
18pbnj # Interactive menu
19pbnj upload myfile.py # Upload file (auto-detects Python)
20cat output.log | pbnj upload # Upload from stdin
21pbnj list # List pastes
22pbnj delete <id> # Delete a paste
23```
24
25Supports 25+ languages via file extension detection. Automatically copies the URL to clipboard (wl-copy/xclip/pbcopy depending on platform).