Giter Club home page Giter Club logo

xray-proxy-grabber-telegram's Introduction

Xray Proxy Grabber

See more: also explore this project; the best solution to use these collected proxies : clash-meta-iran-bridge-config :)
See more: And also this project for xray-core: xray-iran-bridge-configs :)

Quick access

all active all active ping less than 1000ms active ping less than 1500ms active ping less than 1000ms and No google 403
Row URLs subscription link subscription link ask me to provide if u need ask me to provide if u need ask me to provide if u need
Xray JSON ask me to provide if u need json configs json configs json configs json configs
Clash Meta provider link ask me to provide if u need provider link provider link ask me to provide if u need

Explanation

This project is aimed at grabbing fresh proxies from Telegram channels and testing them by real-delay ping. A Telegram bot will listen on provided channels (even private ones), then parse new proxies and commit them to ur repo.

The main differences between this project and others are:

  • creating xray json config from urls (I'll explain what this is for :) )
  • can grab proxies from private channels or even PVs (with some little changes).
  • AND to-dos that will be added :)

Telegram grabber:

Uses the Telegram MTProto API Framework and acts exactly like ur real account. After first running, It will ask u to sign in to your account. then listens to the provided channel in env.

Because of that, it can grab proxies everywhere that u join them with ur real account, even PVs :) To get started with the MTProto API, u should get app_id and api_hash which I couldn't get them easily.

Note: Telegram detects u'r using a VPN and throws an error while creating app_id :|. Ask someone to create it for u.(God bless Telegram.)

On each new message that contains a proxy URL, proxies_row_url.txt will be updated real-time.

Tip: u can use proxies_row_url.txt as subscription link in ur clients app (V2rayNG, V2rayN, etc):)

Xray URL Decoder

This part of project aimed to decode and convert proxy URL to python class witch can be played with. Because of this part I only support vless

I couldn't find it anywhere. Really nobody wrote it before !? :|

If u know any repo done this before, notify me, tnx.

Xray ping

To test grabbed proxies, be only relied on ping of server on that port is not a correct approach.

In this part I run a xray-core temporarily, witch trys to GET a simple html page by real connection throw proxy.

Also, nobody wrote it before. Come on guys.

Auto Run Jobs

checkProxies.py will be run every 1 hour by the GitHub runner and check for grabbed proxies to be active. Next, sort these proxies by real delay ping and save them as JSON type in proxies_active.txt

Note: GitHub runners aren't in Iran, So proxy checker can't detect censored proxies. U can run it on ur server from Iran by cron jobs.

cleanProxiesRowUrl.py will be run each 12 hours by GitHub runner and remove all URL proxies witch are not present in proxies_active.txt. So the url list will be clean always

Note: It means only supported protocols will remain, and all others will be deleted.

Env-File:

To commit new proxies in ur repo, u should get GitHub tokenSo the bot will be able to commit new changes, such as new proxies.

Also, I explained How to get api_id here

ToDo

  • vless protocol support
  • reality security support
  • vmess protocol support
  • trojan protocol support
  • connect to iran bridge
  • update iran bridge with actives
  • tcp security support
  • server less grabber (no telegram or server needed)

xray-proxy-grabber-telegram's People

Contributors

dependabot[bot] avatar mrmohebi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

xray-proxy-grabber-telegram's Issues

Can you add support for yaml format?

Hi, I love this repo but unfortunately I have to add every proxy manually to openclash ? It's very time consuming, can you provide a yaml file so that on openclash I can just add a static URL to your yaml file to update the proxies automatically ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.