Eat Telegram Xray Configs Like a Neko
This is a Python script that collects VPN Configs from various Channels and groups and saves them to a Json file for other scripts.
🔴 We recommend using a secondary account or an account that you don't frequently use. 🔴
• ✅ سرعت بسیار بالا در جمع آوری کانفیگ ها
• ✅ قابلیت جمع کردن کانفیگ ها از Code Block های پست های تلگرام
• ✅ دریافت انواع کانفیگ های xray از کانال ها و گروه ها
• ✅ پشتیبانی از کانال ها و گروه های شخصی
• ✅ خروجی به صورت json و Machine-readable
- Fork this repository and make sure the repository is private.
- Obtain your Telegram API ID and hash from my.telegram.org
windows and linux :
-
Clone your private repository to your device.
-
Edit lines 10-11 of
Grabber.py
with your Telegram API ID and hash. -
Edit line 12 of
Grabber.py
with your config file URL (you can seesource.conf.example
for the config file structure). -
Run
Grabber.py
on your PC and complete the initial setup (enter your mobile number and OTP code).pip install telethon requests python Grabber.py
-
Commit the new files to your repository and enable read and write permissions for GitHub Actions in the repository settings.
git add -A && git commit -m "config file edited" && git push
android (termux) :
-
install Git and Python.
apt update apt upgrade pkg install git pkg install python
-
Clone your private repository to your device.
git clone https://github.com/YOURUSERNAME/Neko-ConfigGrabber.git cd Neko-ConfigGrabber
-
Edit lines 10-11 of
Grabber.py
with your Telegram API ID and hash. -
Edit line 12 of
Grabber.py
with your config file URL (you can seesource.conf.example
for the config file structure). (Optional) -
Run
Grabber.py
on your PC and complete the initial setup (enter your mobile number and OTP code).pip install telethon requests python Grabber.py
-
Commit the new files to your repository and enable read and write permissions for GitHub Actions in the repository settings.
git add -A && git commit -m "config file edited" && git push
Done.
Now you will get the configs in the configs.json file Every 3 Hours.
The configuration file should follow the structure below:
channel_username1,channel_username2,channel_username3,private_channel_id1,private_channel_id2,private_group_id1,private_group_id2
-
No Spaces in Usernames
Usernames should not contain any spaces. Ensure there are no spaces before, after, or within the usernames.
-
Manual Joining For Private Chats
You must manually join the private channels and groups before including their names in the configuration file.
-
Full id for Private Channels and Groups
Use the full id of private channels or groups.
- Add JSON configs support.
- Normal Subscription Output
Please note that after running Grabber.py
, the repository will contain personal configuration files. Ensure that your repository remains private to protect your sensitive information. Do not share or distribute your repository.
No Warranty: This project is provided "as is" without any warranty of any kind, either express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. The entire risk as to the quality and performance of the project is with you.
No Liability: In no event shall the authors be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the project or the use or other dealings in the project.
This project is licensed under the GPL-3.0 license. See the LICENSE file for details.