Skip to content

reejit/proxy-gen-telegram-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

proxy-gen-telegram-bot

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

  • Clone this repo to your local machine using https://github.com/chirusandeep/proxy-gen-telegram-bot.git

Setup

  • Get token from telegram bot API in botfather of telegram.
  • Use generated token in proxy-gen-telegram-bot file.

Installation

Linux

$ pip3 install -r requirements.txt

Windows

$ pip install -r requirements.txt
  • Modules will be installed are python-telegram-bot,pytz,requests.

Usage

Linux

$ python3 testing_proxy_gen.py

Windows

$ python testing_proxy_gen.py
  • Now bot will up and use the commands http,socks4,socks5.

Deployment

We use heroku here with files of Procfile and requirements 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. :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%