frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Pbnj – A minimal, self-hosted pastebin you can deploy in 60 seconds

https://pbnj.sh/
7•bhavnicksm•3h ago
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 terminal

What 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/cli

If this scratches an itch for you, I'd appreciate a star on GitHub. Happy to answer any questions!

Comments

indigodaddy•27m ago
This is really well done, but the problem I have with (most) selfhosted bins is that anyone can use it, and I don’t want to be responsible for the content that might show up.

This is super neat though, and could almost be used as a blog replacement (if of course I could prevent others from using it/posting to it :) )

Netflix to Acquire Warner Bros

https://about.netflix.com/en/news/netflix-to-acquire-warner-bros
710•meetpateltech•3h ago•567 comments

Covid-19 mRNA Vaccination and 4-Year All-Cause Mortality

https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2842305
90•bpierre•1h ago•65 comments

Jolla Phone Pre-Order

https://commerce.jolla.com/products/jolla-phone-preorder
79•jhoho•1h ago•27 comments

Cloudflare outage on December 5, 2025

https://blog.cloudflare.com/5-december-2025-outage/
94•meetpateltech•41m ago•70 comments

Making RSS More Fun

https://matduggan.com/making-rss-more-fun/
70•salmon•3h ago•42 comments

UniFi 5G

https://blog.ui.com/article/introducing-unifi-5g
237•janandonly•9h ago•192 comments

Most technical problems are people problems

https://blog.joeschrag.com/2023/11/most-technical-problems-are-really.html
138•mooreds•3h ago•128 comments

Show HN: Kraa – Writing App for Everything

https://kraa.io/about
53•levmiseri•1d ago•32 comments

Netflix’s AV1 Journey: From Android to TVs and Beyond

https://netflixtechblog.com/av1-now-powering-30-of-netflix-streaming-02f592242d80
446•CharlesW•16h ago•232 comments

Emerge Career (YC S22) Is Hiring

https://www.ycombinator.com/companies/emerge-career/jobs/qQhLEmC-founding-design-engineer
1•gabesaruhashi•2h ago

BMW PHEV: Safety fuse replacement is extremely expensive

https://evclinic.eu/2025/12/04/2021-phev-bmw-ibmucp-21f37e-post-crash-recovery-when-eu-engineerin...
349•mikelabatt•15h ago•357 comments

Framework Laptop 13 gets ARM processor with 12 cores via upgrade kit

https://www.notebookcheck.net/Framework-Laptop-13-gets-ARM-processor-with-12-cores-via-upgrade-ki...
22•woodrowbarlow•26m ago•6 comments

Nimony (Nim 3.0) Design Principles

https://nim-lang.org/araq/nimony.html
80•andsoitis•3d ago•44 comments

I have been writing a niche history blog for 15 years

https://resobscura.substack.com/p/why-i-have-been-writing-a-niche-history
203•benbreen•21h ago•32 comments

Influential study on glyphosate safety retracted 25 years after publication

https://www.lemonde.fr/en/environment/article/2025/12/03/influential-study-on-glyphosate-safety-r...
111•isolli•2h ago•83 comments

After 40 years of adventure games, Ron Gilbert pivots to outrunning Death

https://arstechnica.com/gaming/2025/12/after-40-years-of-adventure-games-ron-gilbert-pivots-to-ou...
146•mikhael•3d ago•60 comments

Trick users and bypass warnings – Modern SVG Clickjacking attacks

https://lyra.horse/blog/2025/12/svg-clickjacking/
273•spartanatreyu•16h ago•40 comments

Kenyan court declares law banning seed sharing unconstitutional

https://apnews.com/article/kenya-seed-sharing-law-ruling-ad4df5a364299b3a9f8515c0f52d5f80
192•thunderbong•7h ago•53 comments

Show HN: Tacopy – Tail Call Optimization for Python

https://github.com/raaidrt/tacopy
70•raaid-rt•5d ago•34 comments

New 3D scan reveals a hidden network of moai carvers on Easter Island

https://www.sciencedaily.com/releases/2025/11/251130050717.htm
14•saikatsg•4d ago•2 comments

Ephemeral Infrastructure: Why Short-Lived Is a Good Thing

https://lukasniessen.medium.com/ephemeral-infrastructure-why-short-lived-is-a-good-thing-2cf26afd...
22•birdculture•5d ago•10 comments

Reframing Impact

https://turntrout.com/reframing-impact
6•jxmorris12•1w ago•0 comments

Sugars, Gum, Stardust Found in NASA's Asteroid Bennu Samples

https://www.nasa.gov/missions/osiris-rex/sugars-gum-stardust-found-in-nasas-asteroid-bennu-samples/
80•jnord•4h ago•21 comments

CSS now has an if() conditional function

https://caniuse.com/?search=if
219•aanthonymax•5d ago•177 comments

How elites could shape mass preferences as AI reduces persuasion costs

https://arxiv.org/abs/2512.04047
637•50kIters•1d ago•593 comments

Transparent leadership beats servant leadership

https://entropicthoughts.com/transparent-leadership-beats-servant-leadership
481•ibobev•1d ago•217 comments

We gave 5 LLMs $100K to trade stocks for 8 months

https://www.aitradearena.com/research/we-ran-llms-for-8-months
303•cheeseblubber•17h ago•254 comments

Show HN: Pbnj – A minimal, self-hosted pastebin you can deploy in 60 seconds

https://pbnj.sh/
8•bhavnicksm•3h ago•1 comments

Multivox: Volumetric Display

https://github.com/AncientJames/multivox
309•jk_tech•23h ago•45 comments

Show HN: I was reintroduced to computers: Raspberry Pi

https://airoboticist.blog/2025/12/01/i-was-reintroduced-to-computers-raspberry-pi/
65•observer2022•3d ago•26 comments