mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-14 07:13:09 +00:00
20 lines
716 B
Markdown
20 lines
716 B
Markdown
# 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 smallest VDS instance with 1 CPU core and 1024MB RAM.
|