https://github.com/mmrlapp/webui-dex-template
A template to extend WebUI X
https://github.com/mmrlapp/webui-dex-template
Last synced: 3 months ago
JSON representation
A template to extend WebUI X
- Host: GitHub
- URL: https://github.com/mmrlapp/webui-dex-template
- Owner: MMRLApp
- Created: 2025-02-23T14:43:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-27T22:31:34.000Z (12 months ago)
- Last Synced: 2025-10-12T00:44:13.952Z (9 months ago)
- Language: Kotlin
- Homepage:
- Size: 3.86 MB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebUI X Dex Plugin
This repository serves as a template to demonstrate the integration of WebUI plugins, providing a framework to enhance the WebUI experience with custom functionality.
## Building the Plugin
To build the plugin, simply run the following command:
```shell
gradlew build-dex
```
This will compile the necessary code and generate the required `.dex` files for use within your WebUI project.
## Setting Up the Plugins
To get started with the plugin integration, create a file named `config.json` within the `/data/adb/modules//webroot` directory. This file will specify the plugins to be loaded. The `.dex` file associated with these plugins should be placed in the `/data/adb/modules//webroot` directory for them to be properly loaded and utilized by the WebUI X.
Here's an example of what your `config.json` file should look like:
```json
{
"dexFiles": [
{
"path": "plugins/webui.dex",
"className": "dev.mmrl.webui.TestClass"
}
]
}
```