• Stars
    star
    1,524
  • Rank 30,745 (Top 0.7 %)
  • Language
    Python
  • License
    MIT License
  • Created over 6 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Async MTProto proxy for Telegram

Async MTProto Proxy

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

Demo

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

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

More Repositories

1

tgsocksproxy

Async socks proxy for Telegram and others
Python
60
star
2

manual-tls

A simple example of manual TLS 1.3 connection with Elliptic Curve Diffieโ€“Hellman key exchange and AES128 encryption
Python
51
star
3

substitution_cipher_solver

Simple substitution cipher solver.
Python
49
star
4

exploit_farm

The utility for CTF hacker competition for team hacking and flag submitting
Python
42
star
5

wg_deploy

The quick script to deploy WireGuard on Ubuntu
Shell
23
star
6

quick_proxy

Yet another TCP proxy. Very simple to use -- just edit config file and run. Supports Linux, Freebsd and Windows; IPv4 and IPv6, Python 2.6, 2.7, 3.1, 3.2. No external modules required. Not forks on each connection. Saves sessions in files.
Python
13
star
7

huawei_oled_hijack_ng

Advanced on-screen menu for Huawei E5785 (and probably others) portable LTE routers
Objective-C
12
star
8

coffeebot

Telegram bot to order coffee from coffee vending machine at Ural Federal University building
Python
10
star
9

mpiexec-docker

Build MPI programs as containers and run them on cluster with Slurm and InfiniBand
Shell
8
star
10

quadratic_sieve

Just a factorization using a quadratic sieve algo
Python
6
star
11

passwords-neuro-checker

The password checker based on GPT3
4
star
12

asmon

The asyncronous platform to check your services and send Telegram alerts if something goes wrong
Python
3
star
13

pytracer

Prints function calls of the Python program.
Python
2
star
14

outline_deploy

The quick script to deploy Outline server on Ubuntu
Shell
2
star
15

autodep

Auto dependency builder for Getnoo
C
1
star
16

alexbers.github.io

Password checker demo site
HTML
1
star
17

github_python_analyse

Some scripts to analyse python code on GitHub
Python
1
star
18

matrixmul

A simple matrix multiplication benchmark on CPU and GPU(cuda)
C
1
star
19

gentle_scaner

Like nmap but gentle
Python
1
star