Skip to content

[Package]: komac #2068

@rc-chuah

Description

@rc-chuah

Name

komac

Home page URL

https://github.com/russellbanks/Komac

Source code URL

https://github.com/russellbanks/Komac

Packaging policy acknowledgement

Additional information

Why is it worth to add this package?

Why it’s worth adding Komac

  • Cross‑platform automation tool: Komac is a Rust‑based CLI designed to simplify and automate the creation of manifests for the Windows Package Manager (WinGet). Because it’s written in Rust, it compiles cleanly for Android/Termux targets (aarch64, arm, x86_64) with minimal dependencies.
  • Empowers mobile contributors: Adding Komac to Termux allows developers and maintainers to contribute to WinGet manifests directly from their Android devices. This lowers the barrier to entry for open‑source contributions, especially for those without access to a desktop environment.
  • Smart installer analysis: Komac can detect installer types (MSI, NSIS, Inno Setup, Burn) and automatically populate manifest fields. This reduces manual YAML editing and speeds up contributions, which is particularly valuable when working from a mobile terminal.
  • Fits Termux philosophy: Termux thrives on lightweight, automation‑friendly tools. Komac complements existing scripting utilities (curl, jq, git) by adding a specialized capability for WinGet ecosystem contributions.

How I plan to use Komac in Termux

  • Manifest updates on‑device:
    • Authenticate with GitHub once (komac token add) and then run komac update <Package.Identifier> --version <x.y.z> --urls <installer_url> to generate and submit manifest updates directly from Termux.
  • Batch automation:
    • Combine Komac with shell scripts and cron jobs in Termux to periodically check upstream software versions and prepare manifest PRs automatically.
  • Educational outreach:
    • Use Komac in workshops or community sessions to demonstrate how contributors can participate in WinGet maintenance using only their phones. This makes open‑source contribution more accessible.
  • Portable dev workflows:
    • Integrate Komac into dotfiles and Termux setups so contributors can maintain consistent workflows across desktop and mobile environments.

Why it’s a nice addition to the Termux repository

  • Low maintenance footprint: Rust‑based, single‑binary builds are easy to package and maintain.
  • Security and reproducibility: Packaging Komac through Termux ensures verified sources, reproducible builds, and safe distribution compared to ad‑hoc binaries.
  • Community impact: By making WinGet contributions possible from Android, Komac broadens the contributor base and strengthens the open‑source ecosystem.
  • Ecosystem continuity: Komac already supports Linux and Windows; adding Termux extends its reach to Android, ensuring consistent tooling across platforms.

Example usage in Termux

Authenticate once
komac token add

Update a package manifest
komac update Mozilla.Firefox --version 132.0.1 --urls https://download.mozilla.org/?product=firefox-132.0.1&os=win64&lang=en-US

Batch script for multiple packages
for pkg in "Mozilla.Firefox" "VideoLAN.VLC"; do
  komac update $pkg --version latest --urls $(curl -s https://example.com/$pkg/latest-url)
done

✅ In summary: Adding Komac to Termux makes smart WinGet manifest automation accessible on Android, enabling mobile contributions, scripting, and education. It’s lightweight, secure, and directly aligned with Termux’s mission of empowering users with portable, automation‑friendly tools.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions