Eat Telegram Xray Configs Like a Neko
- 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). -
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.
- Add support for private channels and groups.
- Add JSON configs support.
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.