kam 0.2.1

A CLI tool for managing Magisk/KernelSU modules with built-in template support, build hooks, and workspace management
Documentation
kam-0.2.1 has been yanked.

Kam Module Template

Description

This is a template for creating Kam modules. Kam modules are custom modifications for Android devices, typically installed via Magisk or similar managers.

This template provides a basic structure for a Kam module, including:

  • Module metadata and configuration
  • Installation scripts
  • Basic file structure

Usage

Quick Start

  1. Initialize a new project:

    kam init my_module --kam
    
  2. Customize the module:

    • Edit kam.toml for module metadata
    • Modify src/Kam/customize.sh for installation logic
    • Add module files to src/Kam/
  3. Build the module:

    kam build
    

Template Management

Kam supports importing and exporting module templates for easy sharing and reuse.

Import Templates

Import a single template:

kam tmpl import templates/meta_template.tar.gz

Import multiple templates from a ZIP file:

kam tmpl import templates/all-templates.zip

List Available Templates

kam tmpl list

Export Templates

Export a single template:

kam tmpl export meta_template -o my_template.tar.gz

Export multiple templates to a ZIP:

kam tmpl export kam_template ak3_template -o my_templates.zip

Additional Template Commands

# Remove a template from cache
kam tmpl remove template_name

# Show template cache directory
kam tmpl path

For more details on templates, see templates/README.md.

Module Information

  • ID: Kam
  • Name: Kam
  • Version: 0.1.0
  • Author: Author

License

This template is provided under the MIT License. See LICENSE file for details.