frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: ServBay – My Journey to Simplify Reserve Proxy

https://www.servbay.com
2•Hayatoo•5h ago
Author here.

Website: https://www.servbay.com Github: https://github.com/ServBay/ServBay Windows: https://github.com/ServBay/ServBay-Windows-Release

For years, I've wrestled with a persistent problem: reliably exposing local services to the public internet. We've all paid the "DIY tax" for this: fighting with NAT/CGNAT, configuring DDNS for a dynamic IP, and dealing with NET::ERR_CERT_INVALID warnings from self-signed certs, all just to test a Stripe webhook or show a demo.

Problem & Context

The core issue isn't a lack of tools, but their severe fragmentation. Each tool solves part of the problem but adds its own complexity:

Ngrok: The free tier's rotating URLs & rate limits break continuous testing. Advanced modes require digging into complex YAML.

frp: Powerful, but self-hosting frps is a project in itself (VPS, firewalls, daemons, SSL).

Cloudflared: Robust, but the setup is cumbersome, requiring Cloudflare auth, DNS management, and a steep learning curve.

This fragmentation means constant context switching and high cognitive overhead. We become part-time network admins instead of writing code.

Solution & Methodology

I built ServBay, a GUI app for macOS and Windows, to unify this chaos. It's not just a command-line wrapper, but a deep abstraction layer for these disparate protocols.

Unified Control Plane: ServBay provides a GUI to start, stop, and configure tunnels with a few clicks. It handles config parsing (YAML, TOML, CLI-args), process lifecycle (start, watch, graceful shutdown), and parses stdout/stderr to display status and public URLs. Intelligent frpc Client: For full control, we integrated frp. You still self-host frps, but ServBay acts as an intelligent client. Just fill in your server details in the GUI, and it manages the local frpc.toml for you.

Built-in PKI & Local HTTPS: To kill the local SSL headache, we built a PKI system. ServBay can generate a local Root CA and, with one click, install it into the system trust store (it handles the necessary privilege escalation). You can then issue browser-trusted SSL certs for any local project (e.g., my-app.dev). This is crucial for APIs requiring a Secure Context (like WebAuthn, Secure Cookies).

Trade-offs

Our main trade-off is Flexibility vs. Convenience. ServBay covers the 95% use case. If a tool releases a bleeding-edge feature, you'll get it faster via the native CLI than through our UI. We bet that for most developers, the productivity gain from avoiding config hell is worth that trade-off.

Results & Learnings

The biggest result is drastically reduced friction. What took minutes or hours of config & debugging now takes seconds.

A key technical lesson: cross-platform system-level interaction is hard. Reliably managing child processes, handling network configs, and securely modifying the OS certificate trust store is far more complex than it sounds. For instance, avoiding zombie processes on app exit required a deep understanding of each OS's process model and a lot of defensive programming.

If you've ever felt this pain, I built ServBay for us. The macOS version is out, and a Windows version is currently in beta. I'd love for you to give it a try. We're iterating quickly, and any feedback, especially from the HN community, would be invaluable.

I'm happy to discuss anything in the comments, from local dev environments and network tunneling tech to cross-platform GUI development.

Website: https://www.servbay.com Github: https://github.com/ServBay/ServBay Windows: https://github.com/ServBay/ServBay-Windows-Release

Comments

Michael9876•1h ago
I'd love to have a try. But when will have windows version?

Tracking Down the Original Photo from the End of 'The Shining'

https://twitter.com/AricToler/status/1908610058318991581
1•Bogdanp•44s ago•0 comments

Muon g-2 announces most precise measurement of the magnetic anomaly of the muon

https://news.fnal.gov/2025/06/muon-g-2-most-precise-measurement-of-muon-magnetic-anomaly/
1•gmays•1m ago•0 comments

OpenAI weighs "nuclear option" of antitrust complaint against Microsoft

https://arstechnica.com/ai/2025/06/openai-weighs-nuclear-option-of-antitrust-complaint-against-microsoft/
2•amendegree•2m ago•0 comments

MicroEvals – Easily run vibe checks against models

https://artificialanalysis.ai/microevals
1•Gcam•3m ago•0 comments

Show HN: RauGen AI Math Solver, Concept Explainer, and More

https://raugen.com/ai-tools/math-solver
1•raugen•3m ago•0 comments

Extend raises $17M to build a document processing cloud

https://www.extend.ai/resources/series-a
1•kbyatnal•5m ago•0 comments

Meta Expands AI Video Ads to Attract Small Marketers

https://gazeon.site/meta-expands-ai-video-ads-to-attract-small-marketers/
1•eligrid•5m ago•0 comments

Why uptime monitoring isn't enough for your website

https://govigilant.io/articles/why-uptime-monitoring-isnt-enough-for-your-website
1•DutchBytes•5m ago•1 comments

New York City mayoral candidate Brad Lander arrested at immigration court

https://www.theguardian.com/us-news/2025/jun/17/brad-lander-arrested-new-york-city-comptroller
3•gizzlon•6m ago•0 comments

Israel's Futile Air War

https://www.foreignaffairs.com/iran/israels-futile-air-war
3•hackandthink•9m ago•0 comments

Show HN: Handy – Free open-source speech-to-text app written in Rust

https://handy.computer/
1•sipjca•9m ago•0 comments

Astronomers Just Solved the Mystery of the Universe's Missing Matter

https://gizmodo.com/astronomers-just-solved-the-mystery-of-the-universes-missing-matter-2000616320
1•guerrilla•9m ago•0 comments

Quori: A custom Chromium browser with passphrase verification and security logs

https://github.com/LENT4869/Quori
1•LENT4869•10m ago•1 comments

André Seznec Receives the 2025 ACM-IEEE CS Eckert-Mauchly Award

https://www.acm.org/media-center/2025/june/eckert-mauchly-award-2025
1•baruchel•13m ago•0 comments

Stage-Based Growth Tactics for B2B SaaS: 1 to 500 Customers (2025 Guide)

https://guptadeepak.com/the-founders-survival-guide-to-b2b-saas-growth/
1•guptadeepak•13m ago•1 comments

I Cloned 2k Hacker News Users to Predict Viral Posts

https://every.to/also-true-for-humans/i-cloned-2-000-hacker-news-users-to-predict-viral-posts
1•virtual_rf•15m ago•0 comments

Solar Stocks Plummetted Today

1•DaveZale•15m ago•0 comments

Show HN: Tenr – Chemistry-first dating that actually makes sense

https://www.tenr.co/
1•ryantrw•16m ago•0 comments

Show HN: PMDb – Public Movie Database

https://pmdb.dev/
2•darkotodoric•16m ago•1 comments

Google Translate has gotten so much worse

https://old.reddit.com/r/languagelearning/comments/1l6v2v8/google_translate_has_gotten_so_much_worse/
2•mgh2•17m ago•0 comments

Implementing the Browser Tool for Sketch.dev

https://sketch.dev/blog/browser-tool
1•philzdev•17m ago•0 comments

Next-gen AI demands smarter cooling tech. How AWS delivered in just 11 months

https://www.aboutamazon.com/news/aws/aws-liquid-cooling-data-centers
1•hochmartinez•18m ago•0 comments

Ban Autonomous Systems

https://alexschroeder.ch/view/2025-06-16-ban-asn
1•dredmorbius•19m ago•0 comments

Israeli Startup 'Redefines' Plant-Based Meat with 90% Less Saturated Fat

https://www.greenqueen.com.hk/redefine-meat-burger-beef-mince-nutrition-facts-saturated-fat-protein/
1•hochmartinez•21m ago•0 comments

Why utils are bad, an example

https://swizec.com/blog/why-utils-are-bad-an-example/
1•Tomte•24m ago•0 comments

Show HN: analogatique – static gallery generator written in Rust

https://github.com/un1970ix/analogatique
1•un1970ix•25m ago•0 comments

An evaluation of LLMs for generating movie reviews

https://arxiv.org/abs/2506.00312
1•PaulHoule•25m ago•0 comments

The emotional disconnect between loving and eating animals, science explains

https://vegoutmag.com/news/dna-the-emotional-disconnect-between-loving-animals-and-eating-them-explained-by-science/
1•hochmartinez•26m ago•0 comments

Psychogenic fever: how psychological stress affects body temperature

https://pmc.ncbi.nlm.nih.gov/articles/PMC4843908/
1•bfoks•26m ago•0 comments

Message from CEO Andy Jassy: Some Thoughts on Generative AI

https://www.aboutamazon.com/news/company-news/amazon-ceo-andy-jassy-on-generative-ai
1•mfiguiere•26m ago•0 comments