LikeC4 is a set of tools and DSL, that describes architecture as a single model and then compiled into multiple diagrams.
Your code is single source of truth. Any change, refinement or deprecation is reflected automatically in the architecture diagrams. No more outdated documentation! And history of changes is your version control system.
LikeC4 provides:
- architecture-as-a-code with native IDE support
- development server with live reload
- static website generation (live demo)
- React and Webcomponents generation to embed to your website
- CI/CD automation via CLI and GitHub Actions
- export to various formats:
- PNG
- Mermaid
- D2
- DOT (Graphviz)
You can use LikeC4 standalone or integrate with existing toolchain.
LikeC4 is inspired by the C4 model and Structurizr DSL, and goes beyond them by offering flexibility and customization. You can use your ubiquitous language, your terms and any number of nested levels.
Run CLI to preview:
npx likec4 start
And result:
Template repository - likec4/template
Deployed - https://template.likec4.dev