Interactive diagrams for codebases
Top 47.8% on SourcePulse
CodeBoarding is an open-source tool that generates interactive, high-level diagrams of codebases using static analysis and LLM agents. It aims to improve code onboarding, documentation, and comprehension for complex systems by visualizing module relationships and control flow. The output is compatible with Mermaid.js for easy integration into documentation and workflows.
How It Works
The system employs an orchestration workflow that invokes a static code analyzer to extract raw graph data. This data is then processed by an AI analysis engine, leveraging LLMs (with multi-provider support), to create high-level models. These models are persisted for caching and then passed to an output generator, which renders interactive Mermaid.js diagrams. This approach combines precise static analysis with the abstractive capabilities of LLMs for comprehensive code understanding.
Quick Start & Requirements
uv venv --python 3.11
and uv pip sync requirements.txt
.pygraphviz
(requires Graphviz installation on macOS via brew install graphviz
).python demo.py <github_repo_url> --output-dir <output_path>
Highlighted Details
Maintenance & Community
The project is actively seeking contributions and welcomes issues and pull requests. Further details on community channels or roadmaps are not explicitly provided in the README.
Licensing & Compatibility
The project's license is not explicitly stated in the README. Compatibility for commercial use or closed-source linking would require clarification of the license terms.
Limitations & Caveats
Installation of pygraphviz
may require specific steps on macOS. The README does not specify the license, which is crucial for understanding usage restrictions and commercial compatibility.
1 day ago
Inactive