0xPrateek / 0xPrateek/DASH

Location based Ngrok Server configuration of DASH

Aberta Para iniciantes
#24 0 comentários 0 reações 0 responsáveis Ver no GitHub
jwoc medium
Linguagem predominante
Python
Estrelas
33
Forks
15
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

- Ngrok provides servers which are located at 7 different location in the world and for **faster** file transfer we need to select the nearest server and this can be different to a different user.
- The **objective** of this issue is to add one more configuration step to DASH which will ask the user to enter the server which is nearest to them ;

**code** | **country**
`
us | United States
`
`
eu | Europe
`
`
ap  | Asia/Pacific
`
`
au  | Australia
`
`
sa  | South America
`
`
jp  | Japan
`
`
in  | India
`
`

and depending on the selected location we need to update the line number 58 of **[dash.py](https://github.com/0xPrateek/DASH/blob/master/src/dash.py)**

`ngrok = subprocess.Popen(['ngrok','http','-region','**Server Code**' ,str(port)], stdout = subprocess.PIP )`

- For more information about ngrok region configuration you can check [here](https://ngrok.com/docs#config-options)

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

The change is in src/dash.py line 58, where the ngrok subprocess call is made. First, read the existing configuration flow to see where user input is collected. Add a step to prompt for a region code (us, eu, ap, au, sa, jp, in) and pass it as the '-region' argument. Test by running the tool and verifying the ngrok command includes the chosen region.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
flask, python
Domínio
backend, cli
Tipo de issue
Funcionalidade
Dificuldade
2/5
Tempo estimado
1-3 horas
Status de atividade
Estagnada
Clareza
Claramente especificada
Facilidade para iniciantes
75/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.