Pbnj
A minimal, self-hosted pastebin you can deploy in 60 seconds
Details
- External ID
- 46160824
- Source
- HN
- Company
- —
- Product
- Pbnj
- Website domain
- pbnj.sh
- Launched
- Dec. 5, 2025
- Cohort
- —
- Upvotes
- 69
- Upvotes percentile
- 0.8540076335877863
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
I'm sure folks here have seen pastebins a thousand times. There's no innovation left in this space – and that's kind of the point.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.So I built pbnj (yes, like the sandwich).What it is:- A minimal, beautiful pastebin with syntax highlighting for 100+ languages- One-click deploy to Cloudflare (free tier gives you ~100,000 pastes)- CLI-first: pbnj file.py → get a URL, copied to clipboard- Memorable URLs: crunchy-peanut-butter-sandwich instead of x7f9a2- Private pastes with optional secret keys- Web UI for when you're not in a terminalWhat it isn't:- No accounts, no OAuth, no git integration- No multi-user support (fork it and run your own)- No expiring pastes, no folders, no comments- Not trying to replace Gist or be a "platform"Why not just use Gist? Maybe you want to own your data. Maybe you enjoy self-hosting things. Or maybe you're a little autistic like me and just like having your own stuff.Live demo: https://pbnj.sh GitHub: https://github.com/bhavnicksm/pbnj CLI: npm install -g @pbnjs/cliIf this scratches an itch for you, I'd appreciate a star on GitHub. Happy to answer any questions!
Enrichment
- Theme
- self-hosted infrastructure and security tools
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- self-hosted pastebin
- Manually corrected
- False
Could you build this?
Yes A minimal, self-hosted pastebin is a straightforward CRUD web service with basic text storage and retrieval that can be vibe-coded easily in a weekend.
Discussion
18 comments analyzed.
Competitors mentioned: Github Gist, pinnwand, self-hosted pastebin services
Concerns raised: Cloudflare dependency makes it not true self-hosting, Hard-coded Cloudflare compatibility limits deployment options, Content moderation responsibility if publicly accessible, AUTH_KEY configuration unclear for access control
Feature requests: Dockerfile for easier self-hosted deployment, VPC hosting support, Disable built-in auth for VPN-only deployments, Markdown display toggle (typed vs formatted), Support for non-Cloudflare hosting without code modifications
Competitors
Other products that read as similar to this one — 135 launches clear the similarity bar, closest 8 shown.
Attention rank: #19 of 136 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 32 days after the earliest competitor.
- Built a tool that turns your GitHub commits into build-in-public posts · hn · 2026-03-01 · 7 upvotes · similarity 0.47
- A free tool for non-technical folks to easily publish a website · hn · 2026-04-22 · 5 upvotes · similarity 0.45
- GitByBit — Git course integrated into VSCode and Cursor · hn · 2026-01-27 · 13 upvotes · similarity 0.45
- CJIT, a single-binary C compiler that can self host · hn · 2026-04-13 · 7 upvotes · similarity 0.45
- Better Hub · hn · 2026-02-26 · 38 upvotes · similarity 0.43
- PasteDB · ph · 2026-09-30 · 1 upvotes · similarity 0.43
- Cj–tiny no-deps JIT in C for x86-64 and ARM64 · hn · 2025-11-05 · 21 upvotes · similarity 0.43
- Self-host Reddit · hn · 2026-01-13 · 286 upvotes · similarity 0.43
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.