This is a template for creating KernelSU/Apatch/Magisk modules with WebUI. It includes a basic structure and a build script
- Fork this template
- Modify
module/module.propwith your module details.- Set your repo url in
updateJson
- Set your repo url in
- Develop you own module, lol
- Edit
CHANGELOG.md - Build the module using
nix build- or just use GitHub Actions (
nix run nixpkgs#act -- -j build -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-24.04 --artifact-server-path ./artifacts(choose Medium size image))
- or just use GitHub Actions (
- Remove "How to use template" section from
README.md
- docs
module/: Module contentmodule.prop: Module metadatabanner.{png,webp}: Banner which will be shown in module managers- works in KSU-Next and other new managers
- you could place it inside
webroot/to use as WebUI media - recommended size is
640*320
webroot/: WebUI assetsMETA-INF/From magisk docs
CHANGELOG.md: Module changelogupdate.json: Will be generated frommodule.prop
Use nix develop (or better, use direnv) to enter a development shell with necessary tools installed:
- Download zip from latest release
- Flash via your module manager of choice