DEV Community

Cover image for A commandline tool that generate High Level microservice & serverless Architecture diagrams
Luca Sepe
Luca Sepe

Posted on

A commandline tool that generate High Level microservice & serverless Architecture diagrams

A commandline tool that generate High Level microservice & serverless Architecture diagrams using a declarative syntax defined in a YAML file.

https://github.com/lucasepe/draft

Why?

  • to quickly scketch HL Arks
    • to change the diagrams without pain (point, click drag..etc.)
    • to share diagrams using just a plain YAML file
    • the "terminal" is my playground :-D
    • but..above all..to do something funny and relaxing in Go!

Please check it out and let me know what do you think!

All the best,
Luca

Top comments (2)

Collapse
 
rrampage profile image
Raunak Ramakrishnan

This is really nice! What are the advantages of draft vs other tools like PlantUML or diagrams?

Collapse
 
lucasepe profile image
Luca Sepe

Thank you!

draft right now is a "newborn" so not yet comparable with the giants you mentioned ... I wish one day it would really become worthy :-)

The idea of draft was born of necessity:

  • I often have to create architectural diagrams, sketch and then change this drawings quickly during a meeting
  • defining "abstract" symbols without specifying AWS, Azure, CGP but with a precise meaning, which also facilitates the creation of templates
  • Diagrams is super cool but you need to write python code, so you need python installed etc. etc.
  • PlantUML is perfect but you can create everything sequence diagrams, activities, class diagrams and much more... I wanted something specific for the serverless / cloud architectures
  • having a single executable binary without dependencies and multi os (Win, Nix, Mac etc.)
  • writing a simple YAML file to model the architecture
  • not less important :-D I love coding in Go I love coding this kind of commandline tools (I'm super bored of REST Api etc :-P )

All the best,
Luca