LikeC4: open source tool that generates software architecture diagrams from code
LikeC4 is a modeling language for describing software architecture, along with tools that generate diagrams from that model. The project is inspired by the C4 Model and Structurizr DSL, but it offers more flexibility: users can customize or define their own notation, element types, and any number of nested levels in an architecture model. The README says the diagrams are always up to date because they are generated from the code.
To preview a model, users run the CLI[1] command `npx likec4 start`. The project provides documentation, an online playground, a demo, a template repository, and a tutorial. Help is offered on Discord and in GitHub Discussions.
LikeC4 is released under the MIT License[2] and depends on financial support through OpenCollective and GitHub Sponsors. The repository had 112 stars on 4 December 2026.
Repository LikeC4 github.com
Open source modeling language and tools that generate software architecture diagrams from a code-based model, inspired by the C4 Model.
Links from the post and discussion
- Project documentation likec4.dev
- Online playground playground.likec4.dev
- Tutorial for a quick overview likec4.dev
- Template repository github.com
Sources
-
GitHub Trending
likec4/likec4







