[Feature Request] Share a locally running app on a public URL with app.run(tunnel=True)
Mantenedores costumam responder em até 2 dias
Ninguém assumiu esta issue ainda.
- #4028 de @ndrezn — fechado sem integrar
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 45/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- python
- Domínio
- cloud, devtools, networking
Direção de pesquisa
Start at the app.run entry point and inspect how the local server and hot reload lifecycle are managed. Compare the linked langgraph_cli/cli.py flag and LangGraph JS cloudflare.mts functions for downloading cloudflared and reading its URL. Done means supporting tunnel=True and DASH_TUNNEL, preserving the URL across reloads, warning for debug use, and covering the new behavior with tests.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Sharing an app that runs locally (with a teammate, on a phone, for a quick demo) currently means deploying it or setting up ngrok or a similar tool yourself.
Proposal: add a tunnel option to app.run (and a DASH_TUNNEL env var) that opens a Cloudflare quick tunnel and logs a public trycloudflare.com URL next to the local one. Quick tunnels need no account or login.
Suggested implementation: follow LangChain's --tunnel flag for langgraph dev, which does the same thing with a Cloudflare quick tunnel.
- The flag in the Python CLI:
langgraph_cli/cli.py - How it works, from the JS CLI:
startCloudflareTunnelrunscloudflared tunnel --url http://localhost:<port>and reads thetrycloudflare.comURL from its output.downloadCloudflaredfetches the binary from Cloudflare's GitHub releases and caches it.
Why Cloudflare and not ngrok: ngrok needs a free account and an authtoken before it will start a tunnel, and has not allowed anonymous tunnels since 2023. Cloudflare quick tunnels are the mainstream option that works with no signup, which is also why LangChain uses them. ngrok's free tier does give one fixed domain (quick tunnel URLs change on every start), so it could be added later as an option for people who already have a token.
For Dash:
- Use
cloudflaredfrom the PATH, or download it once if missing. - The URL stays the same across hot reloads.
- For development only. Anyone with the URL can reach the app, so it should warn when debug is on.
- Linguagem predominante
- Python
- Estrelas
- 24.4k
- Forks
- 2.3k
- Merge médio
- 2d 13h
- PRs com merge (30d)
- 20
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de plotly/dash
-
P2 plotly-internal size: 1 task
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 2 dias
-
Extract graph schema validation into properly named testTalvez já em andamento @Nice6042 assumiu há 55 dias. Abertagood first issue P3 size: 1 task
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
plotly/dash#3735 · 3 comentários ·
Mantenedores costumam responder em até 2 dias
-
[BUG] dcc.Dropdown: hidden focus-target input is focusable inside aria-hidden and can overflow its wrapperTalvez já em andamento @KoolADE85 assumiu há 3 dias. Abertabug P2 size: 1
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 56/100
plotly/dash#4042 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 2 dias
-
P3 plotly-internal size: 10+ task
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 30/100
plotly/dash#4040 · 3 comentários ·
Mantenedores costumam responder em até 2 dias
-
Drop Python 3.9 SupportAbertaP2 plotly-internal size: 5 task
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
plotly/dash#4038 · 2 comentários ·
Mantenedores costumam responder em até 2 dias
Todas as issues de plotly/dash
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
UKGovernmentBEIS/inspect_ai#5781 ·
Mantenedores costumam responder em até 2 dias
-
Bump .cicd to wamp-cicd 4c2f9ac: `just land` refuses open A18 decisions, `just where` lists themAberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 82/100
crossbario/cfxdb#139 ·
-
Bump .cicd to wamp-cicd 4c2f9ac: `just land` refuses open A18 decisions, `just where` lists themAberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 84/100
crossbario/txaio#241 ·
-
UX
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
mediajunkie/piper-morgan-product#1963 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100