head to head · open source
gitdiagram vs PromptHub
gitdiagram has 17,596 GitHub stars, 1,346 forks, 43 open issues and last shipped yesterday. PromptHub has 1,687 stars, 193 forks, 42 open issues and last shipped 3 days ago. gitdiagram leads on adoption by 943% (17,596 vs 1,687 stars). gitdiagram is written in TypeScript under MIT; PromptHub is written in TypeScript under AGPL-3.0. gitdiagram has attracted 8% as many forks as stars, PromptHub 11%. gitdiagram was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 2 topic tags (ai, llm), 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
| gitdiagram | PromptHub | |
|---|---|---|
| GitHub stars | ★ 18K | ★ 1.7K |
| License | MIT | AGPL-3.0 |
| Written in | TypeScript | TypeScript |
| Last push | 2026-09-30 | 2026-09-28 |
| Forks | ⑂ 1.3K | ⑂ 193 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick gitdiagram if
- You weight community size — 18K stars and counting
- You want the MIT license terms
- Your stack matches TypeScript
- You value the larger contributor base for long-term maintenance
pick PromptHub if
- You want the PromptHub feature set and don't need the biggest community
- You prefer the AGPL-3.0 license terms
- Your stack matches TypeScript
- You evaluated both and PromptHub fits your workflow better
About gitdiagram
GitDiagram is an open source, MIT licensed TypeScript tool that turns any public or private GitHub repository into an interactive architecture diagram — and now into a one minute narrated explainer video — for developers, reviewers and AI agents who need to understand a codebase quickly.
read the full gitdiagram overview →
About PromptHub
PromptHub is an open source, local first desktop workbench for managing prompts, SKILL.md files and agent assets, aimed at individual developers and small teams who work across several AI coding tools and want that material to stay on their own machines.
read the full PromptHub 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 PromptHub more popular?
gitdiagram has 17,596 GitHub stars and PromptHub has 1,687. gitdiagram has the larger community by that measure.
Are gitdiagram and PromptHub free?
Both are open source. gitdiagram is licensed under MIT and PromptHub under AGPL-3.0. Neither carries a licence fee.
What is the difference between gitdiagram and PromptHub?
gitdiagram is written in TypeScript and PromptHub 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, gitdiagram or PromptHub?
Choose gitdiagram if you want the larger community (17,596 stars) or its MIT licence terms. Choose PromptHub if its feature set, stack or AGPL-3.0 licence fits better. Both are self-hostable.