cartograph
Cartograph turns any GitHub repo into an interactive dependency map.
Turn any GitHub repo into an interactive architecture diagram - just swap 'hub' for 'diagram'
gitdiagram is an open-source dev tools project by ahmedkhaleel2004 (ahmedkhaleel2004/gitdiagram on GitHub). It has 17,984 GitHub stars and 1,378 forks, is released under the MIT license, and was last updated on GitHub on 8 October 2026.
Choose any public GitHub repo - or prepare a token for a private one.
Use the hosted site by editing the repo URL, install the agent plugin, or clone to run locally.
For local runs, install dependencies with Bun and copy the example env file.
Click components to jump to code, export a PNG, or watch the explainer video.
AI-generated system diagrams you can explore, with streamed explanations of the codebase.
Every component links to the file or directory it represents in the repo.
Generates a one-minute narrated video explaining the repository.
Use a GitHub token via the Private Repos option to diagram private codebases.
Export diagrams as PNG or copy the Mermaid source for docs and wikis.
Plugins and an MCP server let Claude Code, Codex, Gemini CLI and Copilot CLI request diagrams directly.
Get the source code from GitHub and enter the project directory.
git clone https://github.com/ahmedkhaleel2004/gitdiagram.git
cd gitdiagramClone, install with Bun, configure the environment, and start the dev server.
bun install
cp .env.example .env
bun run devThe README provides plugin/MCP commands for Claude Code, Codex, Gemini CLI and Copilot CLI.
claude mcp add --transport http gitdiagram https://gitdiagram.com/mcp # see README for other agentsIt is maintained by Ahmed Khaleel (ahmedkhaleel2004) and contributors on GitHub.
Yes - GitDiagram is MIT licensed, and the hosted diagrams for public repos are free; local runs need the API keys described in the env example.
The hosted service needs no key for public repos (a GitHub token unlocks private repos). Self-hosting uses your own LLM/API credentials per the .env example.
Compared with static diagram generators, GitDiagram is repo-aware and interactive - components link to source - and adds videos and agent/MCP access.
Take any GitHub URL, replace 'hub' with 'diagram', and explore - or clone and run it locally with Bun.
Cartograph turns any GitHub repo into an interactive dependency map.
Turn any GitHub repo into one formatted text file — perfect context for AI.
Turn any MCP server, OpenAPI spec or GraphQL endpoint into a CLI — at runtime, with zero codegen
Turn any codebase, docs and schemas into a queryable knowledge graph for your coding assistant
Turn any website into a CLI — and let AI agents drive your already-logged-in browser
The CLI and skills that turn any coding assistant into an expert at creating, evaluating, and deploying AI agents on Google Cloud.
The most-starred other Dev Tools projects in the LibreAI catalogue — the realistic shortlist if gitdiagram is not the right fit.
The open source coding agent
The model-definition framework behind modern AI — thousands of pretrained transformers for text, vision, and audio.
Anthropic's agentic coding tool that lives in your terminal and works across your whole codebase
Cross-platform desktop all-in-one manager for Claude Code, Codex, OpenCode and other coding agents
OpenAI's lightweight coding agent that runs locally in your terminal
Free and open — grab the source, star the repo, and start creating.