I use tailscale to manage my local homelab and vps instances and needed to expose a local server for some quick testing. My go-to app here is ngrok, but I didn’t have it installed on this machine. The hamster started spinning on his wheel in my head, shouldn’t we be able to do some magic with tailscale for this?
After some reasearch, it’s kind of already built in (funnels) but the cli ergonimics are not-great. I figured this is a perfect opportunity to mess around with golang, maybe I could build something quick for this.
TUIs are also pretty cool and ngrok’s TUI is actually decent, so I figured why not try something similar? After some reaserach, the bubbletea library for golang seems like a perfect fit.
So I present tsgrok, my ngrok-for-tailscale app. Best to see the repo for usage and whatnot, just in-case it changes over time.
And to be transparent, it’s a mix of AI and human generated code. It feels like an amazing time to be building, even with limited golang experience, I was able to build this functioning app in about a week.