{"id":13478747,"url":"https://github.com/SinTan1729/ReVancedBuilder","last_synced_at":"2025-03-27T08:30:55.550Z","repository":{"id":132816221,"uuid":"548606080","full_name":"SinTan1729/ReVancedBuilder","owner":"SinTan1729","description":"A script to automatically build latest releases of ReVanced apps","archived":false,"fork":false,"pushed_at":"2025-03-24T18:41:01.000Z","size":421,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T16:21:21.845Z","etag":null,"topics":["build-tool","revanced","telegram","youtube"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SinTan1729.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-09T22:37:32.000Z","updated_at":"2025-03-24T18:26:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"1db51079-d86c-4a63-ba6b-4db186610768","html_url":"https://github.com/SinTan1729/ReVancedBuilder","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"n0k0m3/revanced-build-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SinTan1729%2FReVancedBuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SinTan1729%2FReVancedBuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SinTan1729%2FReVancedBuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SinTan1729%2FReVancedBuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SinTan1729","download_url":"https://codeload.github.com/SinTan1729/ReVancedBuilder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245809678,"owners_count":20676033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build-tool","revanced","telegram","youtube"],"created_at":"2024-07-31T16:02:02.167Z","updated_at":"2025-03-27T08:30:55.541Z","avatar_url":"https://github.com/SinTan1729.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Revanced Builder\nThis repo will allow one to build [ReVanced](https://github.com/revanced/) apps\nautomatically, send notifications (and possibly share the builds with friends).\nIt uses [Gotify](https://gotify.net), [ntfy.sh](https://ntfy.sh) or\n[telegram.sh](https://github.com/fabianonline/telegram.sh) to send messages.\nMake sure that `Java \u003e=17` is installed and selected as default.\n\n## Installation\nRecommended way is to use [`uv`](https://github.com/astral-sh/uv) to install the program.\n```\nuv tool install git+https://github.com/SinTan1729/ReVancedBuilder\n```\nAnd then you can update/reinstall the program using `uv tool update ReVancedBuilder`.\n## How to use\nJust run `ReVancedBuilder \u003cworking-directory\u003e (force/experimental/checkonly/buildonly)`.\n\nIt might be a good idea to set it up to run periodically. There are a few ways of doing it.\n1. Just drop it inside `/etc/cron.daily/`.\n1. To make it run at a specific time (6AM in the example) using `cron`, put this in your `crontab`:\n    ```\n    0 6 * * * \u003cprogram-full-location\u003e \u003cfull-working-directory-location\u003e\n    ```\n1. The exact same thing as in 2 can be achieved using `systemd` timers instead. Create the following files.\n    ```\n    /etc/systemd/system/revanced-builder.service\n    ---------------------------------------------\n    [Unit]\n    Description=Automatically build new builds of ReVanced\n    Wants=network-online.target\n    After=network-online.target\n\n    [Service]\n    Type=oneshot\n    User=\u003cuser\u003e\n    Group=\u003cgroup\u003e\n    # Environment=\"_JAVA_OPTIONS=-Xmx512m\" # optional, useful if experiencing crashes due to low memory\n    ExecStart=\u003cprogram-full-location\u003e \u003cfull-working-directory-location\u003e\n    ```\n    ```\n    /etc/systemd/system/revanced-builder.timer\n    -------------------------------------------\n    [Unit]\n    Description=Automatically build new builds of ReVanced\n\n    [Timer]\n    OnCalendar=*-*-* 6:00:00\n\n    [Install]\n    WantedBy=timers.target\n    ```\n    and then enable the timer using\n    ```\n    sudo systemctl enable --now revanced-builder.timer\n    ```\n\n## Notes\n- If you installed it using `uv`, you can figure out the full location of the\nprogram by running `which ReVancedBuilder`.\n- This app needs some config files to run. Download all the config files inside\n`example_configs` directory, namely `build_config`, `chosen_patches`\n(optional), and `notification_config` (optional, needed only if you want to\nsend notifications) and move them to your working directory. Then, you should\nmodify these files to your liking.\n- The script will download the **automatically selected compatible version**,\nusing compatibility of patches as listed [here](https://revanced.app/patches)\nof Youtube on APKPure, **NOT** latest official version on Google Play (unless\nversion is specified in `build_config`).\n- **Under no circumstances** will any APKs be uploaded to this repository as\nthat might attract legal problems.\n- If you enable telegram notifications, make sure to fill up the config options\ninside the `build_config` file. For more information about the config, take at\nlook at the repos of `telegram.sh` and `telegram-upload` provided above.\n- It can also run a post script (if exists), specified in the `build_config`\nfile. The `timestamp` is passed as `$1`.\n- In the current configuration, the script only builds YouTube ReVanced and\nYouTube Music ReVanced (both nonroot), but it's easy to add support for any\nother ReVanced app using the `build_config` file. The config files are\nself-explanatory.\n- All the packages are pulled from [APKPure](https://apkpure.com) and GitHub\n(the [`revanced/*`](https://github.com/revanced) repos).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSinTan1729%2FReVancedBuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSinTan1729%2FReVancedBuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSinTan1729%2FReVancedBuilder/lists"}