Code Graph

•
1
•

Index codebases to build and visually explore interactive RDF knowledge graphs for enhanced code understanding.

Code Graph transforms your GitHub repositories or local ZIP archives into an interactive knowledge graph. By leveraging Tree-sitter for Abstract Syntax Tree (AST) parsing across numerous programming and markup languages, it constructs an OWL-based RDF graph that's both SPARQL-queryable and stored in Turtle format. This powerful tool offers dynamic visualization capabilities with Cytoscape.js, allowing for in-depth analysis of blast radius, execution flow, and module clustering. Beyond exploration, it can automatically generate a Markdown wiki from the graph, providing a comprehensive and navigable documentation of your codebase.

Key Features

01AST parsing for various programming and markup languages
02OWL-based RDF knowledge graph, SPARQL-queryable and stored as Turtle
03Interactive graph visualization with Cytoscape.js for blast radius, execution flow, and clustering
04Auto-generation of Markdown wiki from the codebase graph
05Real-time indexing status updates via WebSocket
060 GitHub stars

Use Cases

01Exploring complex codebases to understand structure and dependencies
02Onboarding new developers by visualizing codebase architecture
03Generating automated documentation and wikis for projects