mtprotoproxy | Async MTProto proxy for Telegram

 by   alexbers Python Version: 1.0.6 License: MIT

kandi X-RAY | mtprotoproxy Summary

kandi X-RAY | mtprotoproxy Summary

mtprotoproxy is a Python library typically used in Docker applications. mtprotoproxy has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. However mtprotoproxy build file is not available. You can install using 'pip install mtprotoproxy' or download it from GitHub, PyPI.

Async MTProto proxy for Telegram
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              mtprotoproxy has a medium active ecosystem.
              It has 1407 star(s) with 348 fork(s). There are 70 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 92 open issues and 144 have been closed. On average issues are closed in 110 days. There are 7 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of mtprotoproxy is 1.0.6

            kandi-Quality Quality

              mtprotoproxy has 0 bugs and 0 code smells.

            kandi-Security Security

              mtprotoproxy has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              mtprotoproxy code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              mtprotoproxy is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              mtprotoproxy releases are available to install and integrate.
              Deployable package is available in PyPI.
              mtprotoproxy has no build file. You will be need to create the build yourself to build the component from source.
              mtprotoproxy saves you 938 person hours of effort in developing the same functionality from scratch.
              It has 2139 lines of code, 164 functions and 6 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed mtprotoproxy and discovered the below as its top functions. This is intended to give you an instant insight into mtprotoproxy implemented functionality, and help decide if they suit your requirements.
            • Initialize the configuration .
            • Perform a middle handshake .
            • Handle a single handshake .
            • Handle a client .
            • Handle fake TLS handshake .
            • Collect metrics .
            • Perform a direct handshake .
            • Print all known IPs
            • Handle a bad client .
            • get proxy info from middleware
            Get all kandi verified functions for this library.

            mtprotoproxy Key Features

            No Key Features are available at this moment for mtprotoproxy.

            mtprotoproxy Examples and Code Snippets

            Testing MTProto proxy servers,Python
            PHPdot img1Lines of Code : 7dot img1License : Strong Copyleft (AGPL-3.0)
            copy iconCopy
            wget -O - https://git.io/vhgUt | sudo -E bash -
            
               cd /opt
               git clone https://github.com/alexbers/mtprotoproxy.git
               cd mtprotoproxy
               apt-get install python3 python3-crypto
               ## edit config.py file with desired port and proxy tag and start! ##  
            MTProtoProxy,How to use
            C#dot img2Lines of Code : 6dot img2License : Permissive (MIT)
            copy iconCopy
                static void Main(string[] args)
                {
                    var mtprotoProxy = new MTProtoProxyServer("secret", port);
                    mtprotoProxy.Start();
                    Console.ReadLine();
                }
              
            MTProtoProxy,How to generate random secret
            C#dot img3Lines of Code : 4dot img3License : Permissive (MIT)
            copy iconCopy
                public static string GenerateRandomSecret()
                {
                    return Guid.NewGuid().ToString().Replace("-", "");
                }
              

            Community Discussions

            Trending Discussions on mtprotoproxy

            QUESTION

            Connecting MTProto Proxy to bot Telegram.Bot DLL
            Asked 2020-Jan-03 at 01:30

            Telegram is banned in my country and i can't connect the bot to Telegram API without a VPN I wanted to run the bot with MTProto Proxy

            MTProtoProxy Format : host , port , secret

            My code to connect to telegram api is (with Telegram.Bot library)

            ...

            ANSWER

            Answered 2020-Jan-03 at 01:30

            That cannot be done because Bot API uses https requests to communicate while MTProtoProxy proxies are meant for MTProto API (used by telegram clients) which is different from the Bot API.

            You would need to use a normal HTTP/socks proxy in order to avoid the ban which can be found at this page https://telegrambots.github.io/book/4/proxy.html

            Source https://stackoverflow.com/questions/59558937

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install mtprotoproxy

            You can install using 'pip install mtprotoproxy' or download it from GitHub, PyPI.
            You can use mtprotoproxy like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install mtprotoproxy

          • CLONE
          • HTTPS

            https://github.com/alexbers/mtprotoproxy.git

          • CLI

            gh repo clone alexbers/mtprotoproxy

          • sshUrl

            git@github.com:alexbers/mtprotoproxy.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link