Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Visualize, collaborate, and evolve the software architecture with always actual and live diagrams from your code

License

blackmatrix2007/likec4

 
 

Repository files navigation

Architecture as a code

Visualize, collaborate, and evolve the software architecture with always actual and live diagrams from your code

docs | playground | demo

vscode extension

What is LikeC4? Why "like"?

LikeC4 is a modeling language for describing software architecture and tools to generate diagrams from the model.

LikeC4 is inspired by C4 Model and Structurizr DSL, but provides some flexibility. You customize or define your own notation, element types, and any number of nested levels in architecture model.
Perfectly tailored to your needs.

What does LikeC4 look like?

LikeC4 source:

Run CLI to preview:

npx likec4 start

And result:

Template repository - likec4/template
Deployed - https://template.likec4.dev

Open in StackBlitz

StackBlitz does not support extensions, so no validation, syntax highlighting and etc.
You can try with github.dev and suggested extension.

Check Tutorial - for a quick overview of LikeC4.

About this repository

Top-level layout

This repository's contents are divided into four primary sections:

Packages

  • core: model and type definitions
  • create-likec4: scaffolding tool
  • diagram: react components rendering diagrams
  • generators: LikeC4 -> Other formats
  • language-server: parser and language server
  • layouts: layout algorithms for views
  • likec4: CLI, published to npm as likec4
  • tsconfig: typescript configuration
  • vscode: vscode extension
  • vscode-preview: preview panel in vscode extension

Local development

Development tasks:

  • yarn build: Build packages (without typecheck)
  • yarn typecheck: TypeScript compilation
  • yarn test: Test packages
  • yarn vitest:ui: Opens Vitest UI

For VSCode:

  • Task Run Extension to start a new VSCode instance with the extension loaded.

License

This project is released under the MIT License

About

Visualize, collaborate, and evolve the software architecture with always actual and live diagrams from your code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 72.2%
  • TypeScript 25.4%
  • MDX 1.7%
  • CSS 0.5%
  • Astro 0.1%
  • HTML 0.1%