项目
在 GitHub 查看
alexbers/mtprotoproxy
关于
Telegram 的异步 MTProto 代理
系统与基础设施实测星标增长
- 24小时
- +1
- 7天
- -1
- 15天
- -1
- 1个月
- -4
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Async MTProto Proxy
Fast and simple to setup MTProto proxy written in Python.
Starting Up
git clone -b stable https://github.com/alexbers/mtprotoproxy.git; cd mtprotoproxy- (optional, recommended) edit config.py, set PORT, USERS and AD_TAG
docker-compose up -d(or justpython3 mtprotoproxy.pyif you don't like Docker)- (optional, get a link to share the proxy)
docker-compose logs

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
探索相关项目
加载中…