
Picture published by the creator on GitHub.
GitDiagram: Turn any GitHub repository into a diagram or a narrated video
Added · Updated
Made by Ahmed Khaleel
View profile on GitHub (opens in a new tab)GitDiagram reads a public GitHub repository, or a private one with your token, and draws an interactive architecture diagram with each piece linking to its code.
Its newer feature turns the analysis into a narrated video of about a minute, downloadable with captions burned in. The hosted site needs no key; to run your own copy, you need an OpenAI or OpenRouter key. You can open it by replacing "hub" with "diagram" in a GitHub URL. It helps technical and nontechnical readers understand an unfamiliar codebase before deciding whether to use it.
What it does
The tool clones and reads a repository's file tree and key source files, then prompts an AI model to describe its architecture and emit that description as a Mermaid diagram (a text-based diagram format), which the site renders as clickable boxes linked back to the real files and directories. The video mode runs a similar analysis but produces a narrated script and burns captions onto a rendered video instead of a static diagram; a gallery of previously generated diagrams and videos is browsable without generating your own.
You could use it to…
- Turn any GitHub repo into a clickable architecture diagram
- Watch a one-minute narrated video explaining how it works
- Click a diagram box to jump straight to that code
Opens on gitdiagram.com.
Getting started
Browser demo · source checked 2026-10-08 · Source page (opens in a new tab)
- Paste a public GitHub repository URL.
- Choose Generate to get a clickable architecture diagram.
- Open a box to jump to the related source area.
- Try with
- Try a small public repository you already want to understand.
- What to expect
- A clickable architecture diagram for the repository, if the service has capacity.
- Access note
- The public demo may ask you to sign in or apply its own limits; BuildTube has not checked its current account or pricing requirements.
Can I use this?
You'll need A web browser — just visit gitdiagram.com · No install needed
Worth knowing Diagrams are AI-generated summaries of a codebase and can be wrong or misleading about how something actually works; video generation is described by the creator as "early access." MIT licence.
Why it's here
Not trending this week
Last seen on the GitHub trending list on 3 October 2026. It stays on BuildTube so you can still find it.
- 18,805 people have starred it on GitHub.
Numbers checked on 8 November 2026; not refreshed since.
Behind it
View setup guideBuildTube has not run or verified this project. Everything above is written from what the creator published.
Made this?
Quick questions
- What is GitDiagram?
- The tool clones and reads a repository's file tree and key source files, then prompts an AI model to describe its architecture and emit that description as a Mermaid diagram (a text-based diagram format), which the site renders as clickable boxes linked back to the real files and directories.
- What can I use GitDiagram for?
- Turn any GitHub repo into a clickable architecture diagram; Watch a one-minute narrated video explaining how it works; Click a diagram box to jump straight to that code
- Can I run GitDiagram on my computer?
- Nothing runs on your computer: it is used on the web, in your browser.
- What do I need to use GitDiagram?
- Nothing to use the hosted site. Running your own copy needs Bun (a JavaScript runtime), Cloudflare R2 storage, Upstash Redis, and an OpenAI or OpenRouter API key.
- What license does GitDiagram use?
- Diagrams are AI-generated summaries of a codebase and can be wrong or misleading about how something actually works; video generation is described by the creator as "early access." MIT licence.
More from this week
- Spec Kit Turn a written spec into plans, tasks and code
Spec Kit gives your AI coding agent a step-by-step process to build a feature, fix a bug or assess an idea.
- kimi-k3-in-c Run a 2.78-trillion-parameter model on 8 GB of RAM
Get text answers from the huge Kimi K3 AI model using one CPU and no graphics card.
- RAGFlow Ask questions about your documents and get cited answers
Upload documents and ask questions with traceable citations.
Explore by topic
Post this
Download share imageFor makers
Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.
README badge (Markdown)
[](https://buildtube.app/p/gh-ahmedkhaleel2004-gitdiagram/)Embed card (HTML)
<iframe src="https://buildtube.app/embed/gh-ahmedkhaleel2004-gitdiagram/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="GitDiagram on BuildTube"></iframe>