head to head · open source
codegraph vs repomix
codegraph has 71,514 GitHub stars, 4,598 forks, 526 open issues and last shipped 4 days ago. repomix has 28,416 stars, 1,530 forks, 138 open issues and last shipped yesterday. codegraph leads on adoption by 152% (71,514 vs 28,416 stars). codegraph is written in C under MIT; repomix is written in TypeScript under MIT. codegraph has attracted 6% as many forks as stars, repomix 5%. repomix was the more recently maintained of the two, and both are self-hostable with no licence fee.
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
| codegraph | repomix | |
|---|---|---|
| GitHub stars | ★ 72K | ★ 28K |
| License | MIT | MIT |
| Written in | C | TypeScript |
| Last push | 2026-09-16 | 2026-09-19 |
| Forks | ⑂ 4.6K | ⑂ 1.5K |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick codegraph if
- You weight community size — 72K stars and counting
- You want the MIT license terms
- Your stack matches C
- You value the larger contributor base for long-term maintenance
pick repomix if
- You want the repomix feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches TypeScript
- You evaluated both and repomix fits your workflow better
About codegraph
CodeGraph is a pre indexed code knowledge graph that runs locally and wires into AI coding agents — Claude Code, Cursor, Codex, Gemini, OpenCode, AntiGravity, Kiro, GitHub Copilot, and Hermes Agent — so those agents query a semantic map of the codebase instead of reading files one at a time.
read the full codegraph overview →
About repomix
Repomix is an MIT licensed TypeScript tool that packs an entire repository into a single AI friendly file, built for developers who need to feed a whole codebase to large language models such as Claude, ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, or Grok.
read the full repomix overview →
More in Developer Tools
Related comparisons
More AI Assisted Coding projects
Compare either of these against the rest of the AI Assisted Coding field.
Frequently asked questions
Is codegraph or repomix more popular?
codegraph has 71,514 GitHub stars and repomix has 28,416. codegraph has the larger community by that measure.
Are codegraph and repomix free?
Both are open source. codegraph is licensed under MIT and repomix under MIT. Neither carries a licence fee.
What is the difference between codegraph and repomix?
codegraph is written in C and repomix 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, codegraph or repomix?
Choose codegraph if you want the larger community (71,514 stars) or its MIT licence terms. Choose repomix if its feature set, stack or MIT licence fits better. Both are self-hostable.