Open Clement-Lelievre opened 1 month ago
To help Streamlit prioritize this feature, react with a 👍 (thumbs up emoji) to the initial post.
Your vote helps us identify which enhancements matter most to our users.
I have used cloudflared in the past for that purpose and it is quite simple. Say, for example, you have a streamlit application running locally at localhost:8501
, then you can tunnel that through cloudflared:
./cloudflared tunnel --url http://localhost:8501
That will return a quick tunnel with a public URL:
Requesting new quick Tunnel on trycloudflare.com...
+--------------------------------------------------------------------------------------------+
| Your quick Tunnel has been created! Visit it at (it may take some time to be reachable): |
| https://wings-nurse-cradle-traveling.trycloudflare.com |
+--------------------------------------------------------------------------------------------+
Besides cloudflared, there are also some other tunnel solutions like ngrok or localtunnel. I will keep this feature request open. If there is enough interest, maybe we will integrate a native solution into the Streamlit CLI directly.
Checklist
Summary
Hi,
I could not find this feature request in the issues nor in the roadmap., but sorry if this has been requested before.
It'd be nice to have the possibility to get a shareable URL when developing on a local machine, without having to deploy. All the code and dependencies would be on the local machine.
Why?
There are at least two use cases:
How?
make exposing the URL from local machine easy
Additional Context
Gradio does that