-
-
Notifications
You must be signed in to change notification settings - Fork 4
Description
I had an idea for how to potentially use this to solve an issue with trying to setup fedimint as an umbrel app. but I think it could also be relevant for other apps. Fedimint needs to be available publicly and it needs to know what URL its available on before even starting up.
What are your thoughts on this change?:
This app could have a UI section where you associate one of your tunnels with an umbrel app ID. Then it writes the URL to a file somewhere in the app data like /data/umbrel-apps/my_umbrel_app_id and the contents of that file would just be the public URL you will be pointing to the app. This way when the fedimint app starts up it can mount the cloudflared app data dir somewhere and then read its URL from the file based on its app ID.
Or maybe there is an easier way to achieve this by setting a metadata flag on the tunnel or something and then using curl to get it?