Onboard-CLI, a command-line tool and web visualizer, has been launched to assist developers in understanding complex codebases. It utilizes AST parsing via Tree-sitter to create topology graphs and enforce architectural boundaries, improving code management and visualization.
Onboard-CLI is a tool designed for developers to visualize and analyze large codebases. Integrating a command-line interface with a web-based visualizer, it leverages Abstract Syntax Tree (AST) parsing through Tree-sitter to facilitate deep code analysis.
The tool generates structural topology graphs and enforces architectural constraints, aiding in maintaining code health.
The AST Slicing Engine enables reliable parsing of multiple programming languages including Go, JavaScript, TypeScript, Python, and Java. This enhances the toolβs utility for diverse codebases.
An interactive visualizer is included, which quickly sets up a local React Flow canvas to help users explore code paths and dependencies interactively.
Onboard-CLI features an architecture drift detection mechanism that compares the code against predefined architecture rules. This ensures that unauthorized cross-file imports and architectural violations are flagged, promoting proper code management over time.
Built with a modern tech stack including Go for the CLI, and Vite with React 19 for the frontend, Onboard-CLI offers impressive performance. Optimizations ensure that it can handle large node sets effectively.
The tool supports configurable visualization radii for deep mapping of complex dependency trees.
Onboard-CLI can be easily installed using shell scripts provided in the repository, and it supports CI/CD environments by generating necessary configurations. Users can invoke several commands to initialize the tool and trigger visualization for specific code targets.
β¨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors β check the original sources. How BrevFeed works β
Onboard-CLI, a command-line tool and web visualizer, has been launched to assist developers in understanding complex codebases. It utilizes AST parsing via Tree-sitter to create topology graphs and enforce architectural boundaries, improving code management and visualization.