Conversation
|
This PR is missing an issue to discuss the problem you're running into. Tsk tsk tsk @ndrezn. ;) Note, this type of developer tooling should probably go into the |
|
Ticket opened. ngrok isn't an option unfortunately as you need an account to spin up a tunnel. This design isn't original, there's a good similar no-config example in langchain linked in the ticket, if you're curious about whether this design is adopted in other frameworks. Feel free to move this over to the |
Also stop the tunnel on SIGHUP so closing the terminal does not leave it running.
|
Added download confirmation if the binary doesn't exist & version pin for the binary for good measure |
|
|
I am not sure we want this baked in the framework, it's convenient, but then I can just ask an agent to open a tunnel for me for the same result. |
|
Fair on possible vendor shifts; I've found it super handy as a built-in in general for development. Even if an agent can do this I suspect many developers haven't tried these tools with Dash, which makes discoverability low. I could refactor to make this less locked to Cloudflare and therefore easier to swap out in the future. |
From @robertclaus in #4028 Looking forward to seeing the implementation from Plotly folks! |



Adds
app.run(tunnel=True)(orDASH_TUNNEL=1) to share a locally running app on a publictrycloudflare.comURL through a Cloudflare quick tunnel. No account or login needed. For development only.cloudflaredfrom the PATH, otherwise downloads the latest release once into~/.cache/dash/cloudflared.Closes #4029