Async MTProto Proxy
Project description
# Async MTProto Proxy #
Fast and simple to setup mtproto proxy.
## 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 –build -d (or just python3 mtprotoproxy.py if you don’t like docker)
(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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mtprotoproxy-1.0.0-py35-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e33839db93155e0fdff7d5574fd0e9b6f379eae57445f6554c4994e2ffeb908a |
|
MD5 | 0ce287fec64a840fc94a81b4d218d177 |
|
BLAKE2b-256 | 7f38c5acbd3807c6f246af6014d0d02a9f62e004ff108c7ee9e0269b9b2e2dee |