ArchSketch

Architecture diagrams as YAML

Describe the boxes and arrows; ArchSketch lays them out and draws them by hand. Because it is text, diagrams can be reviewed in pull requests and live next to the code they describe.

Example

title: Checkout
nodes:
  - { id: web, kind: web, label: Storefront }
  - { id: api, kind: gateway, label: API, zone: Backend }
  - { id: db,  kind: sql,     label: Postgres, zone: Backend }
links:
  - web -> api : HTTPS
  - api -> db : SQL

Fields

Node kinds

user web mobile server service container function worker scheduler sql nosql graphdb timeseries vector cache search warehouse bucket queue topic stream eventbus lb gateway cdn dns firewall auth monitor notify email payment external ml

Embed it in a README

![Architecture](https://cloudforge.in/render?src=OWNER/REPO/arch.yaml)
![Dark](https://cloudforge.in/render?src=OWNER/REPO/arch.yaml&theme=dark)
https://cloudforge.in/render?src=OWNER/REPO/docs/arch.yaml&ref=main&format=svg

Or let ArchSketch infer a diagram from the repo itself: https://cloudforge.in/render?repo=OWNER/REPO

Try it in the editor