LikeC4 is a modeling language and CLI for C4-style software architecture. You describe components in code and generate live, versioned diagrams and static sites.
Overview
LikeC4 lets teams define actors, systems, and components in a dedicated DSL inspired by the C4 model and Structurizr, with room for custom element types and nested levels. The CLI previews diagrams locally, builds static sites, and can emit React components for embedding.
Workflow centers on writing model files, running commands such as start, build, and gen react, and sharing outputs through Git-friendly text. Features include interactive views, validation and diff checks, MCP or API exposure for AI agents, and plugins for Vite, React, or web components.
The project is MIT-licensed with documentation, a playground, and template repositories for new adopters.
Key features
- Architecture DSL
- Live diagram preview CLI
- Static site export
- React component generation
- Git-versioned models
- Validation and diff checks
- MCP and API integration
Use cases
- Documenting system architecture
- Keeping diagrams in sync with code
- Embedding architecture views in docs
- Collaborative architecture reviews
- C4-style modeling workflows