Settings

Theme

Show HN: Prod.bd – Open-Source Ngrok Alternative Powered by Cloudflare Workers

prod.bd

4 points by mrmillon 3 months ago · 4 comments · 1 min read

Reader

I'm building prod.bd, a lightweight open-source tunnel for exposing localhost services to the internet.

I originally made it because I often need to test frontend apps on real mobile devices during development. While tools like Ngrok and Tailscale Funnel work well, I wanted build something on my own.

You install it with a single command and then just run:

`prod 3000 8080`

It also has docker container too if you don't want to run untrusted binary.

It instantly gives you two HTTPS subdomain URLs that are publicly accessible. Subdomains are consistent for each port. It provides a simple stats dashboard to inspect url, headers and payload.

Under the hood, it uses Cloudflare's Workers, Durable Objects and D1. You can deploy your own version if you want.

I have used Kiro and Antigravity to build it. I wanted to experiment with AI tools while building something useful. On a side note, I am experimenting with plugin system to add new features while keeping core tunnel simple. Without AI tools, I would never try plugin system.

Would love feedback, suggestions, or ideas for improvement.

sinisterMage 3 months ago

this looks very cool! however from what I've seen in your repo, security features are not implemented yet right? if I am right, I would recommend to implement them as soon as possible as you don't want someone random accessing development apps, but very cool regardless, keep up the good work!

  • mrmillonOP 3 months ago

    Thanks for your feedback. I have added two new CLI flags allow-ip and auth. Please note: auth flag takes http basic auth user:pass pair string and store it as plaintext on Cloudflare D1.

upcoming-sesame 3 months ago

looks very cool. durable objects are not free right ? how do you plan to cover the costs ?

  • mrmillonOP 3 months ago

    Thank you. I will sponsor it for now. I will probably take sponsorship from other people if it becomes very popular.

    I plan to keep setup process as simple as it is now. Login/paid features makes tools complicated. For example, a junior developer might find Tailscale Funnel very tedious to setup.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection