{"id":32135314,"url":"https://github.com/russellbanks/komac","last_synced_at":"2025-10-21T03:59:03.955Z","repository":{"id":64277716,"uuid":"560207581","full_name":"russellbanks/Komac","owner":"russellbanks","description":"The Community Manifest Creator for WinGet","archived":false,"fork":false,"pushed_at":"2025-10-16T16:04:38.000Z","size":13133,"stargazers_count":350,"open_issues_count":46,"forks_count":27,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-10-16T16:33:27.581Z","etag":null,"topics":["rust","winget","winget-cli","winget-pkgs"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/russellbanks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"russellbanks","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-11-01T00:55:35.000Z","updated_at":"2025-10-15T18:30:19.000Z","dependencies_parsed_at":"2023-10-03T00:18:17.408Z","dependency_job_id":"353786c6-acf9-4ad2-b878-c86a4585c829","html_url":"https://github.com/russellbanks/Komac","commit_stats":null,"previous_names":[],"tags_count":50,"template":false,"template_full_name":null,"purl":"pkg:github/russellbanks/Komac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/russellbanks%2FKomac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/russellbanks%2FKomac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/russellbanks%2FKomac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/russellbanks%2FKomac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/russellbanks","download_url":"https://codeload.github.com/russellbanks/Komac/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/russellbanks%2FKomac/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280200870,"owners_count":26289477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rust","winget","winget-cli","winget-pkgs"],"created_at":"2025-10-21T03:59:02.549Z","updated_at":"2025-10-21T03:59:03.947Z","avatar_url":"https://github.com/russellbanks.png","language":"Rust","funding_links":["https://github.com/sponsors/russellbanks"],"categories":[],"sub_categories":[],"readme":"\u003ch2 align=\"center\"\u003e\n  \u003cimg height=\"100\" alt=\"komac\" src=\"assets/branding/banner.svg\" /\u003e\n  \u003cbr\u003e\n  Komac: Smart Manifest Automation for WinGet\n\u003c/h2\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![Latest version](https://img.shields.io/github/v/release/russellbanks/komac?label=Latest\u0026color=A975E5)](https://github.com/russellbanks/komac/releases/latest)\n[![Build](https://img.shields.io/github/actions/workflow/status/russellbanks/komac/build.yml?label=Build\u0026color=647BF2)](https://github.com/russellbanks/komac/actions)\n[![GitHub Issues](https://img.shields.io/github/issues/russellbanks/komac?label=Issues\u0026color=417EF9)](https://github.com/russellbanks/Komac/issues)\n[![License](https://img.shields.io/crates/l/komac?label=License\u0026color=1E81FF)](https://github.com/russellbanks/Komac/blob/main/LICENSE.md)\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![Crates.io Version](https://img.shields.io/crates/v/komac)](https://crates.io/crates/komac)\n[![Crates.io Total Downloads](https://img.shields.io/crates/d/komac?label=Downloads%20from%20crates.io)](https://crates.io/crates/komac)\n[![MSRV](https://img.shields.io/crates/msrv/komac?label=MSRV)](https://github.com/russellbanks/Komac/blob/main/Cargo.toml)\n\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n  A \u003cstrong\u003efast, intelligent CLI\u003c/strong\u003e to create and submit \u003ca href=\"https://github.com/microsoft/winget-pkgs\"\u003eWinGet manifests\u003c/a\u003e.\n  \u003cbr\u003e\n  Think: automation, deep installer analysis, and zero YAML wrangling.\n\u003c/p\u003e\n\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"assets/vhs/demo.gif\" alt=\"Demo gif\" /\u003e\n\u003c/div\u003e\n\n## ⚡ Quick start\n\n```bash\n# 1. Install komac\nwinget install komac\n  \n# 2. Set your GitHub token\nkomac token add\n  \n# 3. Update a package\nkomac update Package.Identifier --version 1.2.3 --urls https://example.com/installer.exe\n```\n\n## 🎯 Features\n\n- 🔄 Advanced installer analysis\n    - [Inno Setup](https://jrsoftware.org/isinfo.php)\n    - [Nullsoft Scriptable Install System](https://nsis.sourceforge.io)\n    - [MSI](https://learn.microsoft.com/windows/win32/msi/windows-installer-portal)\n    - [Burn](https://docs.firegiant.com/wix/tools/burn/)\n- 🌍 Cross-platform support (Windows, Linux, macOS)\n\n## Installation\n\nKomac is cross-platform and binaries are built for Windows, Linux, and macOS.\n\n### All platforms\n\nIf you have cargo installed, you can compile Rust for any platform:\n\n```bash\ncargo install --locked komac\n```\n\nKomac also supports [cargo-binstall](https://github.com/cargo-bins/cargo-binstall):\n\n```bash\ncargo binstall komac\n```\n\n#### Nightly\n\nNightly releases that are built every week are\navailable [here](https://github.com/russellbanks/Komac/releases/tag/nightly).\nThese are useful for debugging or if you want the latest features and fixes.\n\n### Windows\n\nBoth portable EXEs and installers are available from the [releases](https://github.com/russellbanks/Komac/releases).\n\n#### WinGet\n\n```bash\nwinget install komac\n```\n\n#### Scoop\n\n```bash\nscoop install komac\n```\n\n### Linux\n\nPortable binaries are available from the [releases](https://github.com/russellbanks/Komac/releases).\nDebian (`.deb`)and Red Hat (`.rpm`) installers are also available.\n\n### macOS\n\nPortable binaries for macOS are available from the [releases](https://github.com/russellbanks/Komac/releases).\n\n#### Homebrew\n\n```bash\nbrew install komac\n```\n\n## GitHub Token Setup\n\nkomac needs a classic GitHub token to submit PRs to `winget-pkgs`.\n\nThis should be a classic token with the `public_repo` scope.\n\n![Screenshot of classic token being created with public_repo scope selected](https://github.com/russellbanks/komac/assets/74878137/fbe4472e-dc53-4caf-ad2b-3bef75c47b07)\n\nAdding to komac:\n\n```bash\nkomac token add\n```\n\n\u003cdetails\u003e\n\n\u003csummary\u003eWhy not fine-grained tokens?\u003c/summary\u003e\n\nWhilst Komac can fully create manifests and commit with a fine-grained token, it fails to create a pull request to\nwinget-pkgs. This may change as fine-grained tokens improve.\nSee https://github.com/russellbanks/Komac/issues/310.\n\n\u003c/details\u003e\n\n## Commands\n\n\u003cdetails\u003e\n\n\u003csummary\u003eFull Command List\u003c/summary\u003e\n\n| Command        | Description                                                                                         | Usage                      |  \n|----------------|-----------------------------------------------------------------------------------------------------|----------------------------|  \n| New            | Create a package from scratch                                                                       | `new`                      |  \n| Update         | Update a pre-existing package in winget-pkgs                                                        | `update`                   |  \n| Remove         | Remove a version from winget-pkgs                                                                   | `remove`                   |  \n| Sync Fork      | Syncs your fork of winget-pkgs to [microsoft/winget-pkgs](https://github.com/microsoft/winget-pkgs) | `sync-fork`, `sync`        |  \n| Branch Cleanup | Deletes branches that have had a merged or closed pull request to winget-pkgs                       | `cleanup`                  |  \n| List Versions  | Lists all the versions for a given package                                                          | `list-versions`, `list`    |  \n| Analyse        | Analyses a file and outputs information about it. Useful for debugging                              | `analyse`                  |  \n| Token update   | Update stored GitHub OAuth token                                                                    | `token update`             |  \n| Token remove   | Delete stored GitHub OAuth token                                                                    | `token remove`             |  \n| Complete       | Outputs an autocompletion script for the given shell                                                | `complete`, `autocomplete` |  \n\n\u003c/details\u003e\n\n### komac new\n\nCreates a new package from scratch.\n\n```bash\nkomac new\n```\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"assets/vhs/new_package.gif\" alt=\"New package gif\" /\u003e\n\u003c/div\u003e\n\n### komac update\n\nAdd a version to a pre-existing package:\n\n```\nkomac update Package.Identifier --version 1.2.3 --urls https://www.example.com/installer.exe https://www.example.com/installer.msi --submit\n```\n\n| Parameter                            | Usage                             | Notes                                                      |\n|--------------------------------------|-----------------------------------|------------------------------------------------------------|\n| Package Identifier                   | `komac update Package.Identifier` |                                                            |\n| Version                              | `--version`                       |                                                            |\n| URLs                                 | `--urls`                          | URLs are delimited by a space                              |\n| Automatically submit                 | `--submit`                        |                                                            |\n| Token (if one is not already stored) | `--token`                         | Komac will check for a `GITHUB_TOKEN` environment variable |\n\n### komac sync\n\nUpdates your fork of winget-pkgs to be up-to-date\nwith [microsoft/winget-pkgs](https://github.com/microsoft/winget-pkgs).\n\n```bash\nkomac sync\n```\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"assets/vhs/sync.gif\" alt=\"Sync gif\" /\u003e\n\u003c/div\u003e\n\n## Feature Comparison 🔍\n\nWhile other manifest creation tools have made a solid foundation for the manifests in winget-pkgs, their development\npace\nis slower and lacks the deeper installer analysis that komac is capable of.\n\n|                                          | Komac  | WingetCreate |                           YamlCreate                           |\n|------------------------------------------|:------:|:------------:|:--------------------------------------------------------------:|\n| Parameters                               |   ✅    |      ✅       |                               ❌                                |\n| Download progress bar \u0026 ETA              |   ✅    |      ❌       |                               ❌                                |\n| Fully cross-platform                     |   ✅    |      ❌       |                            Limited                             |\n| Works without Git                        |   ✅    |      ✅       |                               ❌                                |\n| Full Inno Setup value retrieval          |   ✅    |      ❌       |                               ❌                                |\n| Full MSI value retrieval                 |   ✅    |   Partial    |                            Partial                             |\n| Linux \u0026 macOS MSI support                |   ✅    |      ❌       |                               ❌                                |\n| Full MSIX value retrieval                |   ✅    |   Partial    |   Partial - https://github.com/Trenly/winget-pkgs/issues/180   |\n| Get information from GitHub              |   ✅    |      ✅       |                               ❌                                |\n| Formatted GitHub release notes retrieval |   ✅    |      ❌       |                               ❌                                |\n| Release date identification              |   ✅    |      ❌       |                               ❌                                |\n| No telemetry                             |   ✅    |    ⭕ [^1]    |                               ✅                                |\n| Fully standalone (w/o winget-pkgs clone) |   ✅    |      ✅       |                               ❌                                |\n| Inno setup detection                     | ✅ [^2] |      ✅       |                             ✅ [^3]                             |\n| Nullsoft detection                       | ✅ [^2] |      ✅       |                             ✅ [^3]                             |\n| Burn installer detection                 | ✅ [^2] |      ✅       | Opt-in feature (not enabled by default due to slow processing) |\n| Programming Language                     |  Rust  |      C#      |                           PowerShell                           |\n\n[^1]: Telemetry is enabled by default in WingetCreate. Use `wingetcreate settings` to manually disable telemetry.\n[^2]: There is much more accurate detection for Inno, Nullsoft, and Burn installers since Komac v2.\n[^3]: The logic for this was contributed by me :)\nCheck [issues](https://github.com/Trenly/winget-pkgs/issues?q=is:issue+author:russellbanks) that I've opened to request\nthis feature for YamlCreate.\n\n## GitHub Actions 🌟\n\n[WinGet Releaser](https://github.com/vedantmgoyal9/winget-releaser) is a GitHub Action that invokes Komac, passing in\nyour release's URLs. This completely automates\npublishing to WinGet.\n\n### Example 📝\n\n```yaml\nname: Publish to WinGet\non:\n  release:\n    types: [ released ]\njobs:\n  publish:\n    runs-on: windows-latest\n    steps:\n      - uses: vedantmgoyal9/winget-releaser@main\n        with:\n          identifier: Package.Identifier\n          token: ${{ secrets.WINGET_TOKEN }}\n          # installers-regex: '\\.exe$' # Only .exe files\n```\n\n### Alternative actions 🔄\n\n- Run Komac manually: [michidk/run-komac](https://github.com/michidk/run-komac)\n- Automate releases for external repositories: [michidk/winget-updater](https://github.com/michidk/winget-updater)\n\n## How can I support Komac? ❤️\n\n- ⭐ Star this project! :)\n- 🤝 Sponsor this project through [GitHub Sponsors](https://github.com/sponsors/russellbanks)\n- 🧑‍💻 Use Komac and [create an issue](https://github.com/russellbanks/Komac/issues/new) for feature requests or bugs.\n\n## Star History ⭐\n\n\u003ca href=\"https://star-history.com/#russellbanks/Komac\u0026Date\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=russellbanks/Komac\u0026type=Date\u0026theme=dark\" /\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=russellbanks/Komac\u0026type=Date\" /\u003e\n    \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=russellbanks/Komac\u0026type=Date\" /\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\n## License\n\n[![GNU GPLv3 Logo](https://www.gnu.org/graphics/gplv3-or-later.png)](http://www.gnu.org/licenses/gpl-3.0.en.html)\n\nKomac is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or\nmodify it under the terms of the [GNU General Public License](http://www.gnu.org/licenses/gpl-3.0.en.html) as published\nby the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frussellbanks%2Fkomac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frussellbanks%2Fkomac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frussellbanks%2Fkomac/lists"}