A tool to automatically build latest releases of ReVanced apps
Project description
Revanced Builder
This repo will allow one to build ReVanced apps
automatically, send notifications (and possibly share the builds with friends).
It uses Gotify, ntfy.sh or
telegram.sh to send messages.
Make sure that Java >=17 is installed and selected as default.
Installation
Recommended way is to use uv to install the program.
uv tool install ReVancedBuilder
And then you can update/reinstall the program using uv tool update ReVancedBuilder.
How to use
Just run ReVancedBuilder <working-directory> (force/experimental/checkonly/buildonly).
It might be a good idea to set it up to run periodically. There are a few ways of doing it.
-
Just drop it inside
/etc/cron.daily/. -
To make it run at a specific time (6AM in the example) using
cron, put this in yourcrontab:0 6 * * * <program-full-location> <full-working-directory-location> -
The exact same thing as in 2 can be achieved using
systemdtimers instead. Create the following files./etc/systemd/system/revanced-builder.service --------------------------------------------- [Unit] Description=Automatically build new builds of ReVanced Wants=network-online.target After=network-online.target [Service] Type=oneshot User=<user> Group=<group> # Environment="_JAVA_OPTIONS=-Xmx512m" # optional, useful if experiencing crashes due to low memory ExecStart=<program-full-location> <full-working-directory-location>/etc/systemd/system/revanced-builder.timer ------------------------------------------- [Unit] Description=Automatically build new builds of ReVanced [Timer] OnCalendar=*-*-* 6:00:00 [Install] WantedBy=timers.targetand then enable the timer using
sudo systemctl enable --now revanced-builder.timer
Notes
- If you installed it using
uv, you can figure out the full location of the program by runningwhich ReVancedBuilder. - This app needs some config files to run. Download all the config files inside
example_configsdirectory, namelybuild_config,chosen_patches(optional), andnotification_config(optional, needed only if you want to send notifications) and move them to your working directory. Then, you should modify these files to your liking. - The script will download the automatically selected compatible version,
using compatibility of patches as listed here
of Youtube on APKPure, NOT latest official version on Google Play (unless
version is specified in
build_config). - Under no circumstances will any APKs be uploaded to this repository as that might attract legal problems.
- If you enable telegram notifications, make sure to fill up the config options
inside the
build_configfile. For more information about the config, take at look at the repos oftelegram.shandtelegram-uploadprovided above. - It can also run a post script (if exists), specified in the
build_configfile. Thetimestampis passed as$1. - 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 using the
build_configfile. The config files are self-explanatory. - All the packages are pulled from APKPure and GitHub
(the
revanced/*repos).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file revancedbuilder-1.4.4.tar.gz.
File metadata
- Download URL: revancedbuilder-1.4.4.tar.gz
- Upload date:
- Size: 35.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"EndeavourOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
524efb4a9f6396253939561a37bc8f47baef2d4bb4971903e7db0695fd4e550c
|
|
| MD5 |
dba6323ab860538c3d4e76e3c5300071
|
|
| BLAKE2b-256 |
268f00ea33ff61f5e19493d6bb46139ee92a50d7b14512986051133ea6af47a3
|
File details
Details for the file revancedbuilder-1.4.4-py3-none-any.whl.
File metadata
- Download URL: revancedbuilder-1.4.4-py3-none-any.whl
- Upload date:
- Size: 24.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"EndeavourOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2851e4a2f89cf60dce4ff3f63691ba86d283ad3b4ec76e19c0093b6dab6778bb
|
|
| MD5 |
76c4f1d7040a6c6e6af3d060a7e48829
|
|
| BLAKE2b-256 |
9127293914afeb57862d51ebf291ea93df3a8633f9cbc36078e5881f3951b8d4
|