Marten
- 7 Devlogs
- 24 Total hours
Free reverse tunnel (like ngrok) written in Go
Free reverse tunnel (like ngrok) written in Go
Made the /status page actually useful, showing the time since the start and the number of active tunnels.
btw, this page helped me to detect a memory leak of the http listeners :p
Old listeners weren’t closed when their control connection dropped, so they would accumulate and crash the server.
Designed a polygonal vector logo that resembles a marten (what a coincidence)
Built a minimalistic landing page with the Astro framework. There’s
not much here for now, but just the basic info.
I want to add http support with random address assignment, so
websites can be served on port 443 with https.
I’ve finally managed to finish the TCP tunnel part.
As always, I overengineered at least something. This time, it was the deployment. Now every push to main starts a GitHub Actions workflow that automatically builds and deploys the server. It was fun, but it took a pretty long time to
figure out CI/CD for the first time :D
Marten is a free reverse tunnel (just like ngrok) that I’m building with Go. It’s my first project in Go, so it’s also a good way to learn the language itself :p
Designed the connection process (for tcp only) and build a simple server and a client that can send messages to each other!
Big thanks to bore for inspiration on how to do this.