GitDiagram
GitDiagram turns any public or private GitHub repository into an interactive, AI-generated architecture diagram with a streamed explanation. Replace `hub` with `diagram` in any GitHub URL (or paste the repo on gitdiagram.com) and you get a Mermaid system diagram where clicking a component jumps straight to the linked file or directory; diagrams export as PNG or raw Mermaid source. A newer explainer mode renders a roughly one-minute narrated video of the codebase — what the project is for, how its main parts fit together and one decision under the hood — downloadable as MP4 in landscape or 9:16 with burned-in captions. It is built with Next.js, React, TypeScript, Tailwind and Mermaid, uses Claude or GPT for scripts and scenes and OpenRouter TTS for voice, and can be self-hosted with your own keys.
GitDiagram passed 17K GitHub stars and was trending in September 2026 after adding AI-narrated explainer videos (gitdiagram.com/owner/repo/video) alongside the interactive diagrams.
As of
- Interactive AI-generated architecture diagram for any GitHub repo
- URL trick: swap `hub` for `diagram` in a GitHub URL
- Click any component to jump to the linked file or directory
- Private repositories via your own GitHub token
- Export as PNG or copy the Mermaid source
- Explainer videos: ~1-minute narrated MP4 (landscape or 9:16) per repository
- Open source (MIT), self-hostable with OpenAI/OpenRouter keys
Developers onboarding to an unfamiliar codebase, maintainers who want a shareable architecture overview, and educators explaining open-source projects.
Non-GitHub repositories, teams needing deep semantic code search or Q&A over a codebase, and precise, hand-maintained architecture documentation.
GitDiagram is open source under the MIT license and free to use on gitdiagram.com for public repositories; private repositories work by pasting your own GitHub token. Watching existing explainer videos is free and making new ones is in early access. Self-hosting requires Bun, Cloudflare R2, Upstash Redis and your own OpenAI or OpenRouter API key.
GitDiagram is the quickest way to get a first mental model of a repository — one URL edit and you have a clickable architecture map — and the new narrated videos make it a handy onboarding and open-source-showcase tool, though it is an overview, not a code-intelligence engine.
Is GitDiagram free?
GitDiagram is Freemium. GitDiagram is open source under the MIT license and free to use on gitdiagram.com for public repositories; private repositories work by pasting your own GitHub token. Watching existing explainer videos is free and making new ones is in early access. Self-hosting requires Bun, Cloudflare R2, Upstash Redis and your own OpenAI or OpenRouter API key. Check the official site for current plans.
Is GitDiagram open source?
Yes - GitDiagram is open source. GitDiagram is open source under the MIT license and free to use on gitdiagram.com for public repositories; private repositories work by pasting your own GitHub token. Watching existing explainer videos is free and making new ones is in early access. Self-hosting requires Bun, Cloudflare R2, Upstash Redis and your own OpenAI or OpenRouter API key.
How much does GitDiagram cost?
GitDiagram is open source under the MIT license and free to use on gitdiagram.com for public repositories; private repositories work by pasting your own GitHub token. Watching existing explainer videos is free and making new ones is in early access. Self-hosting requires Bun, Cloudflare R2, Upstash Redis and your own OpenAI or OpenRouter API key. Pricing changes often - verify on the official site.
Who is GitDiagram best for?
Developers onboarding to an unfamiliar codebase, maintainers who want a shareable architecture overview, and educators explaining open-source projects.
Who is GitDiagram not ideal for?
Non-GitHub repositories, teams needing deep semantic code search or Q&A over a codebase, and precise, hand-maintained architecture documentation.
What are the best GitDiagram alternatives?
The closest GitDiagram alternatives on ai.dosa.dev are Greptile, Fern, remio - all listed under AI Codebase Knowledge & Generation.
Who makes GitDiagram?
GitDiagram is developed by Ahmed Khaleel. It is listed in the AI Codebase Knowledge & Generation category on ai.dosa.dev.
Favorite this tool to revisit it later, or Zap it to contribute to the public vote count.
Content on this page is AI-generated. Please verify details with the vendor's website for accuracy.