Interactive diagrams for GitHub repos
Top 3.7% on sourcepulse
GitDiagram transforms GitHub repositories into interactive Mermaid.js diagrams, aiding developers in understanding complex codebases. It targets open-source contributors and anyone needing to quickly grasp project architecture, offering instant visualization and direct navigation to source files.
How It Works
The tool leverages OpenAI's o4-mini model, processing file tree and README data to generate Mermaid.js diagrams. Prompt engineering is central to extracting and analyzing information, creating a workflow that results in interactive diagrams where components link to relevant files and directories.
Quick Start & Requirements
pnpm i
.docker-compose up --build -d
)../start-database.sh
..env
.pnpm dev
, accessible at localhost:3000
.Highlighted Details
Maintenance & Community
The project is actively maintained by ahmedkhaleel2004. Contributions are welcome via pull requests.
Licensing & Compatibility
The repository does not explicitly state a license in the provided README. Users should verify licensing for commercial or closed-source integration.
Limitations & Caveats
The project is described as having a public API that is "WIP" (Work In Progress). Rate limits on the hosted version may change in the future.
2 months ago
1 day