upd
This commit is contained in:
parent
1823ff87ef
commit
4afa416f10
34
README.md
34
README.md
|
|
@ -1,34 +1,2 @@
|
||||||
# Async MTProto Proxy #
|
# Async MTProto Proxy #
|
||||||
|
Forked -> https://github.com/alexbers/mtprotoproxy.git
|
||||||
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`
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## 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 ##
|
|
||||||
|
|
||||||
- [Running without Docker](https://github.com/alexbers/mtprotoproxy/wiki/Running-Without-Docker)
|
|
||||||
- [Optimization and fine tuning](https://github.com/alexbers/mtprotoproxy/wiki/Optimization-and-Fine-Tuning)
|
|
||||||
|
|
||||||
## 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](https://prometheus.io/)
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user