Skip to content

reza-sadrinia/mtproto-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Async MTProto Proxy

Fast and simple to setup MTProto proxy written in Python.

Starting Up

  1. git clone -b stable https://github.com/Reza-SadriNia/mtproto-proxy.git; cd mtprotoproxy
  2. (optional, recommended) edit config.py, set PORT, USERS and AD_TAG
  3. docker-compose up -d (or just python3 mtprotoproxy.py if you don't like Docker)
  4. (optional, get a link to share the proxy) docker-compose logs

Demo

Channel Advertising

To advertise a channel get a tag from @MTProxybot and put it to config.py.

Performance

The proxy performance should be enough to comfortably serve about 4 000 simultaneous users on the VDS instance with 1 CPU core and 1024MB RAM.

Advanced Usage

The proxy can be launched:

  • with a custom config: python3 mtprotoproxy.py [configfile]
  • several times, clients will be automaticaly balanced between instances
  • with runtime statistics exported to Prometheus

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published