https://github.com/eilvelia/pony-mtproxy
Yet another MTProxy server. Written in Pony.
https://github.com/eilvelia/pony-mtproxy
mtproto mtproxy
Last synced: 4 days ago
JSON representation
Yet another MTProxy server. Written in Pony.
- Host: GitHub
- URL: https://github.com/eilvelia/pony-mtproxy
- Owner: eilvelia
- License: mit
- Created: 2018-06-24T20:01:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-08T15:05:37.000Z (over 7 years ago)
- Last Synced: 2025-02-27T19:52:38.061Z (12 months ago)
- Topics: mtproto, mtproxy
- Language: Pony
- Homepage:
- Size: 31.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pony-mtproxy
Yet another Telegram MTProto Proxy server.
wip
- Crossplatform.
- Multithreaded.
- No promoted channels support.
- No multi secret support.
## Usage
```console
$ pony-mtproxy [options]
```
Options:
```
-p, --port [string] Defaults to '443'.
-s, --secret [string]
--ponythreads Use N scheduler threads. Defaults to the number of
cores (not hyperthreads) available.
```
Example:
```console
$ pony-mtproxy --secret 15abcdef1234567890deadbeef123456
```
---
Link example: `tg://proxy?server={SERVER_IP}&port={PORT}&secret={SECRET}`
Link with secure mode: `tg://proxy?server={SERVER_IP}&port={PORT}&secret=dd{SECRET}`
## Building
```sh
git clone https://github.com/Bannerets/pony-mtproxy pony-mtproxy
cd pony-mtproxy
ponyc src -b pony-mtproxy
```
Requirements:
- `ponyc`
- `openssl`
## Docker
```console
$ docker run --name mtproxy -d --restart unless-stopped -p 443:443 bannerets/pony-mtproxy:latest --secret 15abcdef1234567890deadbeef123456
```
#### Logs
```console
$ docker logs mtproxy
```