mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
✨ No More GitHub Abuse
This commit is contained in:
@@ -7,6 +7,7 @@ Note - I prefer [Revanced Extended](https://github.com/inotia00/revanced-patches
|
|||||||
Revanced Extended.
|
Revanced Extended.
|
||||||
|
|
||||||
## Pre-Built APKs
|
## Pre-Built APKs
|
||||||
|
|
||||||
You can get pre-built apks [here](https://t.me/revanced_apkss)
|
You can get pre-built apks [here](https://t.me/revanced_apkss)
|
||||||
|
|
||||||
## Build Yourself
|
## Build Yourself
|
||||||
@@ -41,7 +42,6 @@ You can use any of the following methods to build.
|
|||||||
|
|
||||||
4. If the building process is successful, you’ll get your APKs in the ![apks]
|
4. If the building process is successful, you’ll get your APKs in the ![apks]
|
||||||
|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>🐳With Docker Compose</summary>
|
<summary>🐳With Docker Compose</summary>
|
||||||
|
|
||||||
@@ -115,10 +115,11 @@ You can use any of the following methods to build.
|
|||||||
```
|
```
|
||||||
python python main.py
|
python python main.py
|
||||||
```
|
```
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|
||||||
### Note
|
### Note
|
||||||
|
|
||||||
(Pay attention to 3,4)<br>
|
(Pay attention to 3,4)<br>
|
||||||
By default, script build the version as recommended by Revanced team.
|
By default, script build the version as recommended by Revanced team.
|
||||||
|
|
||||||
@@ -132,9 +133,8 @@ By default, script build the version as recommended by Revanced team.
|
|||||||
7. spotify
|
7. spotify
|
||||||
|
|
||||||
2. Remember to download the **_Microg_**. Otherwise, you will not be able to open YouTube.
|
2. Remember to download the **_Microg_**. Otherwise, you will not be able to open YouTube.
|
||||||
3. By default, it will build [all](#note) build app supported by Revanced team. If you
|
3. By default, it will build only `youtube`. To build other apps supported by revanced team.
|
||||||
don't
|
Add the apps you want to build in `.env` file or in `ENVS` in
|
||||||
want to waste time and build only few apps. Add the apps you want to build in `.env` file or in `ENVS` in
|
|
||||||
`GitHub secrets` in the format
|
`GitHub secrets` in the format
|
||||||
```ini
|
```ini
|
||||||
PATCH_APPS=<REVANCED_APPS_NAME>
|
PATCH_APPS=<REVANCED_APPS_NAME>
|
||||||
@@ -247,16 +247,27 @@ By default, script build the version as recommended by Revanced team.
|
|||||||
14. Sample Envs ![envs]
|
14. Sample Envs ![envs]
|
||||||
|
|
||||||
[fork]: https://i.imgur.com/R5HdByI.png
|
[fork]: https://i.imgur.com/R5HdByI.png
|
||||||
|
|
||||||
[secrets]: https://i.imgur.com/083Bjpg.png
|
[secrets]: https://i.imgur.com/083Bjpg.png
|
||||||
|
|
||||||
[step_1]: https://i.imgur.com/Inj82KK.png
|
[step_1]: https://i.imgur.com/Inj82KK.png
|
||||||
|
|
||||||
[step_2]: https://i.imgur.com/V2Wfx3J.png
|
[step_2]: https://i.imgur.com/V2Wfx3J.png
|
||||||
|
|
||||||
[action_0]: https://i.imgur.com/XSCvzav.png
|
[action_0]: https://i.imgur.com/XSCvzav.png
|
||||||
|
|
||||||
[build_wait]: https://i.imgur.com/CsJt9W1.png
|
[build_wait]: https://i.imgur.com/CsJt9W1.png
|
||||||
|
|
||||||
[apks]: https://i.imgur.com/S5d7qAO.png
|
[apks]: https://i.imgur.com/S5d7qAO.png
|
||||||
|
|
||||||
[chat id]: https://i.imgur.com/22UiaWs.png
|
[chat id]: https://i.imgur.com/22UiaWs.png
|
||||||
|
|
||||||
[bot api]: https://i.imgur.com/A6JCyK2.png
|
[bot api]: https://i.imgur.com/A6JCyK2.png
|
||||||
|
|
||||||
[tg api]: https://i.imgur.com/eha3nnb.png
|
[tg api]: https://i.imgur.com/eha3nnb.png
|
||||||
|
|
||||||
[tg api hash]: https://i.imgur.com/7n5k1mp.png
|
[tg api hash]: https://i.imgur.com/7n5k1mp.png
|
||||||
|
|
||||||
[envs]: https://i.imgur.com/ajSE5nA.png
|
[envs]: https://i.imgur.com/ajSE5nA.png
|
||||||
|
|
||||||
Thanks to [@aliharslan0](https://github.com/aliharslan0/pyrevanced) for his work.
|
Thanks to [@aliharslan0](https://github.com/aliharslan0/pyrevanced) for his work.
|
||||||
|
|||||||
+2
-2
@@ -5,7 +5,7 @@ from typing import List
|
|||||||
from environs import Env
|
from environs import Env
|
||||||
from requests import Session
|
from requests import Session
|
||||||
|
|
||||||
from src.utils import supported_apps
|
from src.utils import default_build
|
||||||
|
|
||||||
|
|
||||||
class RevancedConfig:
|
class RevancedConfig:
|
||||||
@@ -20,7 +20,7 @@ class RevancedConfig:
|
|||||||
self.apk_mirror = "https://www.apkmirror.com"
|
self.apk_mirror = "https://www.apkmirror.com"
|
||||||
self.upto_down = ["spotify"]
|
self.upto_down = ["spotify"]
|
||||||
self.keystore_name = env.str("KEYSTORE_FILE_NAME", "revanced.keystore")
|
self.keystore_name = env.str("KEYSTORE_FILE_NAME", "revanced.keystore")
|
||||||
self.apps = env.list("PATCH_APPS", supported_apps)
|
self.apps = env.list("PATCH_APPS", default_build)
|
||||||
self.extended_apps: List[str] = ["youtube", "youtube_music"]
|
self.extended_apps: List[str] = ["youtube", "youtube_music"]
|
||||||
self.rip_libs_apps: List[str] = ["youtube"]
|
self.rip_libs_apps: List[str] = ["youtube"]
|
||||||
self.normal_cli_jar = "revanced-cli.jar"
|
self.normal_cli_jar = "revanced-cli.jar"
|
||||||
|
|||||||
+1
-7
@@ -1,14 +1,8 @@
|
|||||||
"""Utilities."""
|
"""Utilities."""
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
supported_apps = [
|
default_build = [
|
||||||
"youtube",
|
"youtube",
|
||||||
"youtube_music",
|
|
||||||
"twitter",
|
|
||||||
"reddit",
|
|
||||||
"tiktok",
|
|
||||||
"warnwetter",
|
|
||||||
"spotify",
|
|
||||||
]
|
]
|
||||||
possible_archs = ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
|
possible_archs = ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user