This will generate the proxy which less than <50ms out of list. It is based on Telegram bot API and module usage of python-telegram-bot.
- Clone this repo to your local machine using
https://github.com/chirusandeep/proxy-gen-telegram-bot.git
- Get token from telegram bot API in botfather of telegram.
- Use generated token in proxy-gen-telegram-bot file.
Linux
$ pip3 install -r requirements.txt
Windows
$ pip install -r requirements.txt
- Modules will be installed are
python-telegram-bot
,pytz
,requests
.
Linux
$ python3 testing_proxy_gen.py
Windows
$ python testing_proxy_gen.py
- Now bot will up and use the commands
http
,socks4
,socks5
.
We use heroku here with files of
Procfile
andrequirements
necessary.
- Steps to Deploy in Heroku.
$ heroku login
$ heroku git:clone -a `bot name here`
$ cd `bot name here`
- Deploy the files in Heroku.
$ git add .
$ git commit -am "First commit"
$ git push heroku master
Leave a star for noobs army. :)