{"repo":"d2lang/d2","free":true,"listed":false,"github":"https://github.com/d2lang/d2","clone":"git clone https://github.com/d2lang/d2.git","description":"D2 is a modern diagram scripting language that turns text to diagrams.","language":"Go","stars":24942,"topics":["diagramming","diagrams","text-to-diagram","software-architecture","go","golang","developer-tools"],"license":"MPL-2.0","category":"dev-tools","readme_excerpt":"A modern diagram scripting language that turns text to diagrams. Docs Cheat sheet Comparisons Playground https://user-images.githubusercontent.com/3120367/206125010-bd1fea8e-248a-43e7-8f85-0bbfca0c6e2a.mp4 Table of Contents - What does D2 look like? - Quickstart - Install - D2 as a library - Themes - Fonts - Export file types - Language tooling - Plugins - Comparison - Contributing - License - Related - Official plugins - Community plugins - Misc - FAQ - Notable open-source projects documenting with D2 What does D2 look like? Open in playground For more examples, see ./docs/examples. Quickstart The most convenient way to use D2 is to just run it as a CLI executable to produce SVGs from .d2 files. A browser window will open with out.svg and live-reload on changes to in.d2 . Install The easiest way to install is with our install script: You can run the install script with --dry-run to see the commands that will be used to install without executing them. Or if you have Go installed you can install from source though you won't get the manpage: You can also install a release from source which will include manpages. See ./docs/INSTALL.md#source-release. To uninstall with the install script: For detailed installation docs, see ./docs/INSTALL.md. We demonstrate alternative methods and examples for each OS. As well, the functioning of the install script is described in detail to alleviate any concern of its use. We recommend using your OS's package manager directly instead for improve","default_branch":null,"files":null,"tree":[],"storefront":"/r/d2lang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/d2lang/d2/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}