Comment by darkhorse222
2 years ago
This is where a pi web server along with cloudflare tunnel and a website really shine. You don't need to ask anyone to run that service. I'm running a custom todo app off my pi without exposing my router. It's incredibly freeing.
Another way could be host it on a Tailscale network, then it can only be accessed by your own devices.
We need something that goes one level beyond Tailscale. It should be built on a simple open OAuth2 protocol for establishing tunnels/VPNs so you can choose different providers. Then developers can implement tunneled networking directly into their apps.
Do you want to share publicly (via a URL for anyone) or privately (accessible only with an endpoint and identity)?
For the former, zrok frontdoor (by https://docs.zrok.io/docs/guides/frontdoor/) protected by OAuth could be the solution. Further, if you want to embed directly in your app, use the SDK - https://blog.openziti.io/the-zrok-sdk. Today we only have for Golang; Python and NodeJS/Javascript coming soon. More in the pipeline.
For the latter, use OpenZiti (which zrok is built on - https://github.com/openziti). We have SDKs in Go, C, Java, NodeJS, Python, and many more.
It's all FOSS under Apache 2.0. I work on the project.
3 replies →
Zrok might be the closest?