GitDiagram turns a GitHub repository URL into an interactive architecture map with AI narration. You can also request about one-minute explainer videos with downloadable captions.
Overview
GitDiagram reads a public or token-authenticated private GitHub repository and produces a navigable architecture diagram with a streamed written explanation. Changing hub to diagram in a repository URL is one way to open a project, or you can paste the URL into GitDiagram.
Diagram components link back to the underlying files or directories so you can move from the overview into source. Diagrams export as PNG or Mermaid text, and a Markdown representation is available for tooling that consumes plain text layouts.
Optional explainer videos summarize what the project is for, how main pieces connect, and a notable design choice in roughly a minute. Finished videos can download as landscape or vertical MP4 with burned-in captions; generating new videos is early access while existing gallery items remain watchable.
A remote MCP endpoint lets compatible AI clients query stored explanations, components, connections, Mermaid source, and videos without signing in. Operators who want an on-premise copy can configure environment variables for API keys and backing services, then run the Next.js application locally.
Key features
- Interactive AI-generated architecture diagrams
- One-minute narrated repository videos
- Click-through links to files and folders
- Private repos via GitHub token
- PNG and Mermaid diagram export
- Remote MCP server for AI agents
- Markdown diagram URLs for automation
- URL tweak from github.com to gitdiagram.com
Use cases
- Onboarding to unfamiliar codebases
- Sharing system overview in reviews
- Agent-assisted repository exploration
- Quick architecture slides or docs
- Teaching how a repo is organized