{"by":"bhavnicksm","descendants":18,"id":46160824,"kids":[46162866,46197756,46163920,46164500,46207668],"score":69,"text":"I&#x27;m sure folks here have seen pastebins a thousand times. There&#x27;s no innovation left in this space – and that&#x27;s kind of the point.<p>When I wanted to self-host a pastebin, every option I found was too much. Git-based version control, OAuth, elaborate admin panels. I just wanted something I could deploy in under a minute with a CLI that actually works.<p>So I built pbnj (yes, like the sandwich).<p>What it is:<p>- A minimal, beautiful pastebin with syntax highlighting for 100+ languages<p>- One-click deploy to Cloudflare (free tier gives you ~100,000 pastes)<p>- CLI-first: pbnj file.py → get a URL, copied to clipboard<p>- Memorable URLs: crunchy-peanut-butter-sandwich instead of x7f9a2<p>- Private pastes with optional secret keys<p>- Web UI for when you&#x27;re not in a terminal<p>What it isn&#x27;t:<p>- No accounts, no OAuth, no git integration<p>- No multi-user support (fork it and run your own)<p>- No expiring pastes, no folders, no comments<p>- Not trying to replace Gist or be a &quot;platform&quot;<p>Why not just use Gist? Maybe you want to own your data. Maybe you enjoy self-hosting things. Or maybe you&#x27;re a little autistic like me and just like having your own stuff.<p>Live demo: <a href=\"https:&#x2F;&#x2F;pbnj.sh\" rel=\"nofollow\">https:&#x2F;&#x2F;pbnj.sh</a>\nGitHub: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;bhavnicksm&#x2F;pbnj\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;bhavnicksm&#x2F;pbnj</a>\nCLI: npm install -g @pbnjs&#x2F;cli<p>If this scratches an itch for you, I&#x27;d appreciate a star on GitHub. Happy to answer any questions!","time":1764940383,"title":"Show HN: Pbnj – A minimal, self-hosted pastebin you can deploy in 60 seconds","type":"story","url":"https://pbnj.sh/"}