News for hackers. Stuff that matters.
Re:Show HN: Pbnj – A minimal, self-hosted pastebin you can d... by thunderbong on Friday December 05, 2025 @12:39PM (#46164535)
pnpm run build

should do it

Re:Show HN: Pbnj – A minimal, self-hosted pastebin you can d... by davidcollantes on Friday December 05, 2025 @12:55PM (#46164762)
That creates `dist` with:

404.png .assetsignore _astro/ bread.png favicon.png favicon.svg jelly.png lock.png logo.png og-image.png pbnj.png peanut.png _routes.json styles/ _worker.js/

In it. What comes next?

Re:Show HN: Pbnj – A minimal, self-hosted pastebin you can d... by catapart on Friday December 05, 2025 @01:28PM (#46165219)
- navigate to dist directory

- run pnpm dlx http-serve

- navigate to one of the provided ip addresses

(this uses the tunnl.gg service and is not necessary for local network access)

- [optional, for access via internet] run ssh -t -R 80:[provided ip address including port] proxy.tunnl.gg

Re:Show HN: Pbnj – A minimal, self-hosted pastebin you can d... by davidcollantes on Friday December 05, 2025 @02:02PM (#46165733)
That gave me some other errors. I am giving up. Thanks for helping!
Re:Show HN: Pbnj – A minimal, self-hosted pastebin you can d... by Numerlor on Friday December 05, 2025 @03:00PM (#46166501)
Fwiw if you want a simple pastebin, I've been running pinnwand for a couple years without any issues off of a single short docker compose file, I think running it on host also shouldn't be complicated