ahmedkhaleel2004/gitdiagram
Visualize any GitHub codebase: free interactive architecture diagrams and one-minute explainer videos. Replace 'hub' with 'diagram' in any GitHub URL.
What it solves
GitDiagram removes the guesswork from understanding an unfamiliar codebase. Instead of reading through dozens of files to figure out how a project is structured, you can get an AI-generated architecture diagram that shows the main components and how they connect, plus a short narrated video that explains what the project does and how its parts fit together.
How it works
You give it a GitHub repository URL (public or private with a token). GitDiagram analyzes the code and produces an interactive diagram with streamed explanations. Clicking any component jumps to the actual file or directory in the repo. You can export the diagram as a PNG or copy the Mermaid source. For videos, it generates a script and scenes using Claude or GPT, and uses OpenRouter (Gemini 3.8 Flash TTS) for the voice. The service also runs as a remote MCP server at https://gitdiagram.com/mcp, so AI agents can query architecture explanations, components, connections, Mermaid source, stored diagrams, and videos without any sign-in.
Who it’s for
Developers who want to quickly understand a new or existing codebase, teams that need to onboard people onto a project, and AI agents (via the MCP server) that need structured insight into a repository’s architecture. It works for both public and private repos, and can be used from tools like Claude, Cursor, VS Code, Codex, Gemini CLI, and others.
Highlights
- Turn any GitHub repository into an interactive architecture diagram
- Generate a one-minute narrated video explaining the project (early access for new videos)
- Jump directly to code from any diagram component
- Support for private repositories using a GitHub token
- Export diagrams as PNG or Mermaid source
- Remote MCP server for AI agents — no key or sign-in required
- Built with Next.js, React, TypeScript, Tailwind CSS, and Mermaid; deployed on Cloudflare Workers
Related
- Project
- Project
- Project
- Project
- Project