Template for a Cloudstream3 plugin repo
This template includes 1 example plugin.
- Open the root build.gradle.kts, read the comments and replace all the placeholders
- Familiarize yourself with the project structure. Most files are commented
- Build or deploy your first plugin using:
- Windows:
.\gradlew.bat ExampleProvider:make
or.\gradlew.bat ExampleProvider:deployWithAdb
- Linux & Mac:
./gradlew ExampleProvider:make
or./gradlew ExampleProvider:deployWithAdb
- Windows:
For local plugin testing, you need to grant the app "All Files Access" on newer Android devices (Android 11 and above). Here’s how to do it:
adb shell appops set --uid PACKAGE_NAME MANAGE_EXTERNAL_STORAGE allow
- Replace
PACKAGE_NAME
with the name of the package for the Cloudstream3 version you are using:- debug:
com.lagradost.cloudstream3.prerelease.debug
- prerelease:
com.lagradost.cloudstream3.prerelease
- stable:
com.lagradost.cloudstream3
- debug:
-
Open Settings: Go to your device’s Settings menu.
-
Navigate to Special Access:
- Tap on "Apps & notifications" or "Apps".
- Select "Special app access" or "Special access".
-
Select All Files Access:
- Tap on "All files access".
- It may be under the three vertical dots menu towards the top of the screen.
-
Grant Access to the App: Find the app in the list and tap on it to toggle it, if it is not already enabled.
-
Restart the App: Close and reopen the app to apply the changes.
Everything in this repo is released into the public domain. You may use it however you want with no conditions whatsoever
This template as well as the gradle plugin and the whole plugin system is heavily based on Aliucord. Go use it, it's a great mobile discord client mod!