head to head · open source
gitdiagram vs patchwork
gitdiagram has 19,069 GitHub stars, 1,453 forks, 43 open issues and last shipped yesterday. patchwork has 1,580 stars, 108 forks, 201 open issues and last shipped 3 months ago. gitdiagram leads on adoption by 1,107% (19,069 vs 1,580 stars). gitdiagram is written in TypeScript under MIT; patchwork is written in Python under AGPL-3.0. gitdiagram has attracted 8% as many forks as stars, patchwork 7%. gitdiagram 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
| gitdiagram | patchwork | |
|---|---|---|
| GitHub stars | ★ 19K | ★ 1.6K |
| License | MIT | AGPL-3.0 |
| Written in | TypeScript | Python |
| Last push | 2026-11-21 | 2026-08-24 |
| Forks | ⑂ 1.5K | ⑂ 108 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick gitdiagram if
- You weight community size — 19K stars and counting
- You want the MIT license terms
- Your stack matches TypeScript
- You value the larger contributor base for long-term maintenance
pick patchwork if
- You want the patchwork feature set and don't need the biggest community
- You prefer the AGPL-3.0 license terms
- Your stack matches Python
- You evaluated both and patchwork fits your workflow better
About gitdiagram
GitDiagram Visualize any codebase: turn any public or private GitHub repository into an interactive architecture diagram, or watch it explained in a one minute narrated video. AI agents can use it too, through the MCP server or the Markdown version of any diagram ( gitdiagram.com/owner/repo.md ). Try GitDiagram → · Or replace hub with diagram in any GitHub repository URL. Sponsored SMS, WhatsApp, and RCS through one API. Try Sent → New: explainer videos GitDiagram can now turn a repository into a narrated video of about a minute. The video starts with what the project is for and what people do with it, then…
read the full gitdiagram overview →
About patchwork
Demo Docs Patchwork automates development gruntwork like PR reviews, bug fixing, security patching, and more using a self hosted CLI agent and your preferred LLMs. Try the hosted version here. Key Components Steps : Reusable atomic actions like create PR, commit changes or call an LLM. Prompt Templates : Customizable LLM prompts optimized for a chore like library updates, code generation, issue analysis or vulnerability remediation. Patchflows : LLM assisted automations such as PR reviews, code fixing, documentation etc. built by combining steps and prompts. Patchflows can be run locally in your CLI and IDE, or…
read the full patchwork overview →
More in Developer Tools
Related comparisons
More Frameworks & Platforms projects
Compare either of these against the rest of the Frameworks & Platforms field.
Frequently asked questions
Is gitdiagram or patchwork more popular?
gitdiagram has 19,069 GitHub stars and patchwork has 1,580. gitdiagram has the larger community by that measure.
Are gitdiagram and patchwork free?
Both are open source. gitdiagram is licensed under MIT and patchwork under AGPL-3.0. Neither carries a licence fee.
What is the difference between gitdiagram and patchwork?
gitdiagram is written in TypeScript and patchwork in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, gitdiagram or patchwork?
Choose gitdiagram if you want the larger community (19,069 stars) or its MIT licence terms. Choose patchwork if its feature set, stack or AGPL-3.0 licence fits better. Both are self-hostable.