head to head · open source
gitleaks vs CodeMachine-CLI
gitleaks has 30,582 GitHub stars, 2,330 forks, 481 open issues and last shipped 6 days ago. CodeMachine-CLI has 2,511 stars, 235 forks, 9 open issues and last shipped 8 months ago. gitleaks leads on adoption by 1,118% (30,582 vs 2,511 stars). gitleaks is written in Go under MIT; CodeMachine-CLI is written in TypeScript under Apache-2.0. gitleaks has attracted 8% as many forks as stars, CodeMachine-CLI 9%. gitleaks was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (cli), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| gitleaks | CodeMachine-CLI | |
|---|---|---|
| GitHub stars | ★ 31K | ★ 2.5K |
| License | MIT | Apache-2.0 |
| Written in | Go | TypeScript |
| Last push | 2026-10-28 | 2026-02-25 |
| Forks | ⑂ 2.3K | ⑂ 235 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick gitleaks if
- You weight community size — 31K stars and counting
- You want the MIT license terms
- Your stack matches Go
- You value the larger contributor base for long-term maintenance
pick CodeMachine-CLI if
- You want the CodeMachine-CLI feature set and don't need the biggest community
- You prefer the Apache-2.0 license terms
- Your stack matches TypeScript
- You evaluated both and CodeMachine-CLI fits your workflow better
About gitleaks
Gitleaks [!WARNING] Gitleaks is feature complete. I'm not merging new features into Gitleaks. Future releases will be security patches only. I'm shifting my focus to Betterleaks [license]: ./LICENSE [badge license]: [go docs badge]: [go docs]: [badge build]: [build]: [go report card badge]: [go report card]: [dockerhub]: [dockerhub badge]: [gitleaks action]: [gitleaks badge]: [![GitHub Action Test][badge build]][build] [![Docker Hub][dockerhub badge]][dockerhub] [![Gitleaks Action][gitleaks badge]][gitleaks action] [![GoDoc][go docs badge]][go docs] [![GoReportCard][go report card badge]][go report card]…
read the full gitleaks overview →
About CodeMachine-CLI
npm i g codemachine CodeMachine is an open source tool that orchestrates AI coding agents into repeatable, long running workflows. ⚡️ Every time you use an AI coding agent, you're running a workflow. Fix a bug? You ask questions, reproduce, analyze, plan, implement, test. Build a feature? You research, design, code, review. The workflow lives in your head. You guide the agent through it, step by step, session by session. But every time you start, you rebuild it from scratch. You re explain the process. You remember to ask the right questions. You manage when to clear context, when to push forward, when to loop…
read the full CodeMachine-CLI overview →
More in Infrastructure & Operations
Related comparisons
More Orchestration & Scheduling projects
Compare either of these against the rest of the Orchestration & Scheduling field.
Frequently asked questions
Is gitleaks or CodeMachine-CLI more popular?
gitleaks has 30,582 GitHub stars and CodeMachine-CLI has 2,511. gitleaks has the larger community by that measure.
Are gitleaks and CodeMachine-CLI free?
Both are open source. gitleaks is licensed under MIT and CodeMachine-CLI under Apache-2.0. Neither carries a licence fee.
What is the difference between gitleaks and CodeMachine-CLI?
gitleaks is written in Go and CodeMachine-CLI in TypeScript. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, gitleaks or CodeMachine-CLI?
Choose gitleaks if you want the larger community (30,582 stars) or its MIT licence terms. Choose CodeMachine-CLI if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.