mtprotoproxy

Async MTProto proxy for Telegram

Github星跟踪图

Async MTProto Proxy

Fast and simple to setup MTProto proxy written in Python.

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

More Instructions

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 uvloop module to get an extra speed boost
  • with runtime statistics exported to Prometheus

主要指标

概览
名称与所有者alexbers/mtprotoproxy
主编程语言Python
编程语言Python (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2018-05-27 10:09:13
推送于2024-11-11 20:09:02
最后一次提交2024-11-12 01:08:57
发布数14
最新版本名称v1.1.1 (发布于 )
第一版名称v0.9 (发布于 )
用户参与
星数1.6k
关注者数63
派生数367
提交数306
已启用问题?
问题数251
打开的问题数101
拉请求数22
打开的拉请求数6
关闭的拉请求数26
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?