Skip to content

Tool for extracting v2ray and Shadowsocks from telegram channel

License

Notifications You must be signed in to change notification settings

icho53/TelegramV2rayCollector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TelegramV2rayCollector

Collector

This is a PHP script that collects V2Ray subscription links from various Telegram channels and saves them to different files based on their protocol type (VMess, VLess, Trojan, and Shadowsocks). The collected links are stored in text format.

How it Works

The script includes two modules getv2ray.php and config.php.

The config.php file contains an array of Telegram channels and the types of protocols they offer for V2ray subscriptions.

The getv2ray.php module is responsible for fetching the latest subscription links from a Telegram channel and formatting them as plain text. It takes three arguments: $channel represents the Telegram channel name, $type represents the type of V2Ray protocol, and $format specifies the format of the output (text or JSON).

The main script iterates over each channel and the protocol types they offer, then passes the appropriate arguments to getv2ray.php to retrieve the subscription links. The collected links are then concatenated into a single string and saved to individual files based on their protocol type.

Instructions & Usage

Just import the following subscription link into the corresponding client. Use a client that at least support ss + vless + vmess + trojan.

CONFIG TYPE NORMAL SUBSCRIPTION BASE64 SUBSCRIPTION CLASH SUBSCRIPTION
MIX of ALL NORMAL SUBSCRIPTION BASE64 SUBSCRIPTION CLASH SUBSCRIPTION
VMESS NORMAL SUBSCRIPTION BASE64 SUBSCRIPTION CLASH SUBSCRIPTION
VLESS NORMAL SUBSCRIPTION BASE64 SUBSCRIPTION -
REALITY NORMAL SUBSCRIPTION BASE64 SUBSCRIPTION -
TROJAN NORMAL SUBSCRIPTION BASE64 SUBSCRIPTION CLASH SUBSCRIPTION
ShadowSocks NORMAL SUBSCRIPTION BASE64 SUBSCRIPTION CLASH SUBSCRIPTION

Manual Subs Conversion

  • If your client does not support the formats that provided here use below services to convert them to your client format (like surfboard)

Services for online sub conversion:

  • sub-web-modify

  • bianyuan

  • If you don't like the groups and rules that are already set, you can simply use bianyuan API like this (ONLY FOR BASE64 SUBSCRIPTION)::

don't use this API for your personal subs! Pls run the subconverter locally

https://pub-api-1.bianyuan.xyz/sub?target=(OutputFormat)&url=(SubUrl)&insert=false

For Example:
(OutputFormat) = clash
(SubUrl) = https://raw.githubusercontent.com/yebekhe/TelegramV2rayCollector/main/sub/mix_base64

https://pub-api-1.bianyuan.xyz/sub?target=clash&url=https://raw.githubusercontent.com/yebekhe/TelegramV2rayCollector/main/sub/mix_base64&insert=false

Now you can use the link above to import the subs into your client

NODE Sources

This project currently utilizes Telegram channels as the source of v2ray nodes.

Telegram Channels utilized in this Project:

Telegram Channels Telegram Channels Telegram Channels Telegram Channels
V2rayNGn free4allVPN PrivateVPNs V2rayng_Fast
DirectVPN ProxyFn v2ray_outlineir v2ray_swhil
NetAccount oneclickvpnkeys daorzadannet LoRd_uL4mo
Outline_Vpn vpn_xw prrofile_purple proxyymeliii
ShadowSocks_s azadi_az_inja_migzare WomanLifeFreedomVPN MsV2ray
internet4iran LegenderY_Servers vpnfail_v2ray free_v2rayy
UnlimitedDev vmessorg v2rayNG_Matsuri v2ray1_ng
v2rayngvpn vpn_ioss v2freevpn vless_vmess
customv2ray FalconPolV2rayNG Jeyksatan MTConfig
hassan_saboorii v2rayvmess v2rayNGNeT lagvpn13
server01012 ShadowProxy66 ipV2Ray v2rayNG_VPNN
kiava Helix_Servers PAINB0Y vmess_vless_v2rayng
VpnProSec VlessConfig NIM_VPN_ir FreeIranT
hashmakvpn X_Her0 Napsternetvirani Cov2ray
iran_ray INIT1984 EXOGAMERS V2RayTz
ServerNett Pinkpotatocloud CloudCityy VmessProtocol
DarkVPNpro Qv2raychannel xrayzxn MehradLearn
shopingv2ray xrayproxy Proxy_PJ SafeNet_Server
ovpn2 OutlineVpnOfficial proxy_kafee TheHotVPN
lrnbymaa v2ray_vpn_ir ConfigsHUB freeconfigv2
vpn_tehran v2_team AlienVPN402 V2rayngninja
iSegaro - - -

Contribution

If you have a Telegram channel and you want to add it to this project or you know Telegram channels that can be used in this project you can ask for addition in Issues.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Tool for extracting v2ray and Shadowsocks from telegram channel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages