Manage software architecture as code to generate live diagrams
LikeC4 is a modeling language that generates diagrams automatically from code descriptions of software architecture. It removes the burden of manually updating diagrams when system structures change. Because visual materials update immediately as code changes are reflected, it prevents documentation from diverging from the actual system.
Flexible extension of the C4 model
LikeC4 is inspired by the C4 model and Structurizr DSL but offers more freedom to suit user needs. Beyond standardized notation, you can define your own notation and element types, and freely set the nesting level of the architecture model. This allows you to create an architecture representation method that fits your organization or project exactly.
Diagram generation starting with code
After writing a LikeC4 source file, running the npx likec4 start command lets you preview the diagram in a browser. This process enables managing architecture like code, and using it with a version control system makes it easy to track architecture change history. You can start faster by using a template repository.
Things to check before use
LikeC4 is an open-source project released under the MIT license. As a TypeScript-based tool, it requires a Node.js environment. If you are not familiar with the C4 model, it is recommended to look at the tutorial first. You can also participate in Discord or GitHub Discussions to get help from the community. Since the project's continuous development relies on contributor support, you may consider financial support if you are satisfied with the tool.