0xPrateek / 0xPrateek/DASH

Location based Ngrok Server configuration of DASH

オープン 初心者向け
#24 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
jwoc medium
主要言語
Python
スター
33
フォーク
15
PR マージ指標
30日以内にマージされた PR はありません

説明

- 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)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
flask, python
領域
backend, cli
issue の種類
機能追加
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
75/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。