mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
c8b10b854856e861f34e5022f4044d40f57f5008
Docker Py ReVanced
This little utility will help you in building all revanced apps.
Build
You can use any of the following methods to build
- With Docker
- Install Docker
- Run script with
docker-compose up - Without Docker
- Install Java17 (zulu preferred)
- Install Python
- Create virtual environment
python3 -m venv venv - Activate virtual environment
source venv/bin/activate - Install Dependencies with
pip install -r requirements.txt - Run the script with
python main.py
- In GitHub
- Fork the project. Add following secrets to the repo
- GH_TOKEN (required) - Github token so that it can upload to github after building.
- VT_API_KEY (required , only if you want Virus total scan) - So that it can send apks for VirusTotal Scan.
- ENVS (optional) - If you want cook specific apps/versions
Should look something like this in GitHub
PATCH_APPS=youtube,twitter,reddit YOUTUBE_VERSION=latest YOUTUBE_MUSIC_VERSION=latest TWITTER_VERSION=latest REDDIT_VERSION=latest TIKTOK_VERSION=latest WARNWETTER_VERSION=latest
- Go to actions tab. Select
Build Revanced APK.Click onRun Workflow.
- Fork the project. Add following secrets to the repo
Note
By default script build the version as recommended by revanced team.
- If you want to a specific version . Add the version in
environmentlikeYOUTUBE_VERSION=17.31.36 YOUTUBE_MUSIC_VERSION=X.X.X TWITTER_VERSION==X.X.X REDDIT_VERSION==X.X.X TIKTOK_VERSION=X.X.X WARNWETTER_VERSION=X.X.X - If you want to a
latestversion, whatever latest is available(including beta) . Addlatestinenvironmentfile likeYOUTUBE_VERSION=latest YOUTUBE_MUSIC_VERSION=latest TWITTER_VERSION==latest REDDIT_VERSION==latest TIKTOK_VERSION=latest WARNWETTER_VERSION=latest - By default, it will build all build app supported by revanced team. If you don't
want to waste time and build only few apps. Add following(the apps you want to
build)
environment.PATCH_APPS=youtube,twitter,reddit - If you don't want to use default keystore. You can provide your own by placing it
inside
apksfolder. And adding the name of file inenvironmentKEYSTORE_FILE_NAME=revanced.keystore - If you want to exclude any patch. Set comma seperated environment variable like
EXCLUDE_PATCH_YOUTUBE=custom-branding,hide-get-premium EXCLUDE_PATCH_YOUTUBE_MUSIC=yt-music-is-shit
Thanks to @aliharslan0 for his work.
Languages
Python
99.1%
Shell
0.6%
Dockerfile
0.3%