Skip to main content

Async MTProto Proxy

Project description

# Async MTProto Proxy #

Fast and simple to setup mtproto proxy.

## Starting Up ##

  1. git clone -b stable https://github.com/alexbers/mtprotoproxy.git; cd mtprotoproxy
  2. (optional, recommended) edit config.py, set PORT, USERS and AD_TAG
  3. docker-compose up –build -d (or just python3 mtprotoproxy.py if you don’t like docker)
  4. (optional, shows telegram link to set the proxy) docker-compose logs

## Channel Advertising ##

To advertise a channel get a tag from @MTProxybot and write 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 - using PyPy interprteter - with runtime statistics exported for [Prometheus](https://prometheus.io/): using [prometheus](https://github.com/alexbers/mtprotoproxy/tree/prometheus) branch

Project details


Release history Release notifications

This version
History Node

1.0.0

History Node

0.9.4

History Node

0.9.3

History Node

0.9.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
mtprotoproxy-1.0.0-py35-none-any.whl (21.1 kB) Copy SHA256 hash SHA256 Wheel py35 Jul 5, 2018
mtprotoproxy-1.0.0.tar.gz (22.7 kB) Copy SHA256 hash SHA256 Source None Jul 5, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page