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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?