Giter VIP home page Giter VIP logo

revanced-creator's Introduction

revanced-creator

CI
this script first downloads the latest revanced-cli, revanced-patches and revanced-integrations. then it downloads the latest supported youtube version and patches it according to revanced-documentation
Now we even support patching YouTube-Music, Reddit and Twitter
Check out github actions (they are all built using this script. also non-root variant there includes vanced-microg.apk inside it)

deps

  • curl(curl is required to get latest versions of revanced-*)
  • awk
  • java(17)
  • grep
  • (optional)find(we use it to remove old versions of revanced-*, if there is any)

usage

$ mkdir -p revanced
$ cd revanced
$ sh -c "$(curl https://raw.githubusercontent.com/XDream8/revanced-creator/main/patch.sh)"
  • or
$ git clone https://github.com/XDream8/revanced-creator
$ cd revanced-creator
$ ./patch.sh

options

additional_args

we include enable-wide-searchbar patch and exclude hide-shorts-button here

$ export additional_args="-i enable-wide-searchbar -e hide-shorts-button"
$ ./patch.sh

what_to_patch(youtube, youtube-music, reddit or twitter)

$ export what_to_patch="youtube-music"
$ ./patch.sh

apk_version(defaults to latest)

Versions Available
YouTube: 17.26.35, 17.27.39, 17.28.34, 17.29.34
YouTube-Music: 5.14.53, 5.16.51
Twitter: 9.52.0
Reddit: 2022.28.0(building reddit fails atm)

$ export apk_version=17.27.39
$ ./patch.sh

nonroot(defaults to 1)

$ export nonroot=1
$ ./patch.sh

downloader

$ export downloader="axel -n 16"
$ ./patch.sh

or you can use all these options together

$ export nonroot=1
$ export downloader="axel -n 16"
$ export additional_args="-i enable-wide-searchbar -e hide-shorts-button"
$ export what_to_patch="youtube"
$ export apk_version=17.27.39
$ ./patch.sh

mentions

  • @halal-beef added CI which was a great help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.