Files
docker-py-revanced/README.md
T
2022-08-18 15:56:17 +05:30

1.8 KiB

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
    1. Install Docker
    2. Run script with
    docker-compose up
    
  • Without Docker
    1. Install Java17 (zulu preferred)
    2. Install Python
    3. Create virtual environment
      python3 -m venv venv
      
    4. Activate virtual environment
      source venv/bin/activate
      
    5. Install Dependencies with
      pip install -r requirements.txt
      
    6. Run the script with
       python main.py
      

Note

By default script build the version as recommended by revanced team.

  1. If you want to a specific version . Add the version in .env file like
    YOUTUBE_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
    
  2. If you want to a latest version, whatever latest is available(including beta) . Add the version in .env file like
    YOUTUBE_VERSION=latest
    YOUTUBE_MUSIC_VERSION=latest
    TWITTER_VERSION==latest
    REDDIT_VERSION==latest
    TIKTOK_VERSION=latest
    WARNWETTER_VERSION=latest
    
  3. 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 environment variable.
    PATCH_APPS=youtube,twitter,reddit
    
  4. If you don't want to use default keystore. You can provide your own by placing it inside apks folder. And adding the name of file in environment
     KEYSTORE_FILE_NAME=revanced.keystore
    

Note

Thanks to @aliharslan0 for his work.