Skip to main content

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.

  1. Just drop it inside /etc/cron.daily/.

  2. To make it run at a specific time (6AM in the example) using cron, put this in your crontab:

    0 6 * * * <program-full-location> <full-working-directory-location>
    
  3. The exact same thing as in 2 can be achieved using systemd timers 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.target
    

    and 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 running which ReVancedBuilder.
  • This app needs some config files to run. Download all the config files inside example_configs directory, namely build_config, chosen_patches (optional), and notification_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_config file. For more information about the config, take at look at the repos of telegram.sh and telegram-upload provided above.
  • It can also run a post script (if exists), specified in the build_config file. The timestamp is 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_config file. The config files are self-explanatory.
  • All the packages are pulled from APKPure and GitHub (the revanced/* repos).

Metadata

Release files for ReVancedBuilder 1.4.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ReVancedBuilder 1.4.6
File Size Uploaded
revancedbuilder-1.4.6.tar.gz 35.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ReVancedBuilder 1.4.6
File Interpreter ABI Platform
revancedbuilder-1.4.6-py3-none-any.whl Python 3 none any Details

Total release size: 59.8 kB

Release files / revancedbuilder-1.4.6.tar.gz

Download URL revancedbuilder-1.4.6.tar.gz
Size 35.4 kB
Tags Source
SHA-256 checksum
How to use checksums
296e19990816974a0ae886b608bf23a2548062929521642b2090411a6c25c28b
BLAKE2b-256 checksum
How to use checksums
10ce7b310803a84f1e8b4887b608a7ead2eb70bf762bc90e1b75aa87d3a0883a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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}

Release files / revancedbuilder-1.4.6-py3-none-any.whl

Download URL revancedbuilder-1.4.6-py3-none-any.whl
Size 24.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3b94881c4b743cf90ccaad47a51958f132ae671cef6cc74226392919c7483cf
BLAKE2b-256 checksum
How to use checksums
9003c7aa1723f79dc01f639b6d69fb15006bc8960c0f84ce7a35bf02f358c31d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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}

Release history Release notifications | RSS feed

This release

1.4.6 This release

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page