A script to automatically build latest releases of ReVanced apps
Find a file
2022-10-18 20:50:18 -05:00
.gitignore Initial commit 2022-10-09 17:37:34 -05:00
build_revanced.sh Fix logging 2022-10-18 20:50:18 -05:00
download_apkmirror.sh Improve checkonly logic 2022-10-13 23:34:05 -05:00
LICENSE Initial commit 2022-10-09 17:37:34 -05:00
patches.txt Fixed version for music 2022-10-09 19:20:15 -05:00
PATCHES_GUIDE.md Initial commit 2022-10-09 17:37:34 -05:00
README.md Added command-line option checkonly 2022-10-13 23:19:22 -05:00

Revanced Builder

This repo will allow one to build ReVanced apps automatically and post it to a telegram channel to access and possibly share the builds with friends. It uses telegram.sh to send messages and telegram-upload to upload files. Make sure that Java >=17 is installed and selected as default.

How to use

Just run ./build_revanced <working-directory> (force/clean/experimental/checkonly). Might be a good idea to set it up to run periodically using cron. I currently use the following in a user crontab to run it everyday at 6 AM:

0 6 * * * <full-script-location> <full-working-directory-location>

Notes

  • The script will download the automatically selected compatible version (using compatibility of patches as listed here) of Youtube on APKMirror, NOT latest official version on Google Play.
  • Under NO CIRCUMSTANCES any APKs will be uploaded to this repository to avoid DMCA.
  • The script assumes that the working directory has the telegram.sh script along with a working config file, and telegram-upload installed and working with the channel link saved in a file called channel_address. For their config, look at the links provided on top.
  • In the current configuration, the script only builds YouTube ReVanced and YouTube Music ReVanced (both nonroot), but it's easy to add support for any other ReVanced app. The code for root builds is included but commented out.
  • All the packages are pulled from APKMirror and GitHub (the revanced/* repos).

Customize your build

If you wish to continue with the default settings, you may skip this step.

By default this will build ReVanced with ALL available patches. Follow this guide to exclude/customizing patches for your build.