Skip to content

Commit

Permalink
channel advertising support
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbers committed Jun 3, 2018
1 parent 6da40e4 commit fee5a0c
Show file tree
Hide file tree
Showing 3 changed files with 408 additions and 18 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# Async mtproto proxy #
# Async MTProto Proxy #

Fast and simple to setup mtproto proxy.

**This is pre-alpha. Don't recommended for production use yet**

## Starting up ##
## Starting Up ##

1. `git clone https://github.com/alexbers/mtprotoproxy.git; cd mtprotoproxy`
2. *(optional, recommended)* edit *config.py*, set **PORT** and **USERS**
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*.
3 changes: 3 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
"tg": "00000000000000000000000000000000",
"tg2": "0123456789abcdef0123456789abcdef"
}

# Tag for advertising, obtainable from @MTProxybot
# AD_TAG = "3c09c680b76ee91a4c25ad51f742267d"
Loading

0 comments on commit fee5a0c

Please sign in to comment.