Trying to replicate the Revanced Manager features in a Telegram Bot.
Project is in early development stage and all features from ReVanced Manager is not implemented
Implemented Features
- Patch given APK using default patch choices.
Feels free to check the repo and report bugs / features
Requirements
- Python>=3.10 (3.12 recommended)
- Git installed (optional)
Steps
- Install system dependencies
# Ubuntu/Debian
sudo apt-get update
sudo apt-get install -y default-jre-headless
# macOS
brew install openjdk
- Git clone (or download) the repo
- Create virtual environment and run
virtualenv -p python3 VENV
. ./VENV/bin/activate
- Edit and fill out the essentials environment variables in
sample.env
(refer here) - Rename
sample.env
to.env
- Finally run
pip install -r requirements.txt
python -m bot
TG_BOT_TOKEN
- Telegeam bot token (get it from BotFather)APP_ID
- Your Telegram APP ID (get it from my.telegram.org)(int)
API_HASH
- Your Telegram APP HASH (get it from my.telegram.org)(str)
BOT_USERNAME
- Your Telegram Bot username (with or without@
)(str)
ADMINS
- List of Admin users for the Bot (seperated by space)(str)
REVANCED_CLI_RELEASES
- Github API URL for ReVanced CLI releases(str)
REVANCED_PATCH_RELEASES
- Github API URL for ReVanced Patches releases(str)
REVANCED_API_URL
- ReVanced API URL for fetching informations(str)
PATCH_TIMEOUT
- Timeout for cancelling the patching process(int)
/patch
- Reply to APK file to start the patching process
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- ReVanced Team for the amazing patching tools
Made with ❤️ for the ReVanced community