// use case
Share a Streamlit demo without paying for Streamlit Cloud
You built a Streamlit demo and want to send it to a stakeholder. Streamlit Community Cloud requires a GitHub repo, redeploys, and waiting through builds. lrok shares the running demo from your laptop in two commands.
Start Streamlit
$ streamlit run app.py # default :8501Tunnel
$ lrok http 8501 --hint demoThe URL is shareable
Send https://demo.lrok.io. Streamlit's WebSocket-based reactivity flows through the tunnel without rewriting.
// why lrok for this
Streamlit re-runs the script on every interaction over a WebSocket. Tunnels that buffer or rewrite WS frames break this. lrok passes them through.