GoAT
GoAT is a pretty simple Go library (with an accompanying CLI tool) that parses ASCII art diagrams, attempting to convert them to an aesthetically pleasing SVG output.
Example
[goat] .... .---. .-. .-. .-. .---. | A +--->| 1 |<--->| 2 |<--->| 3 |<---+ B | '---' '-' '+' '+' '---' ....
Installation
-
Install the Go runtime
-
Run
go install github.com/blampe/goat/cmd/goat@latest
Attributes
| Name | Default value | Description |
|---|---|---|
svg-type |
unspecified |
One of |
goat |
goat |
The path to the |
svg-color-dark-scheme |
#FFFFFF |
The SVG color when user prefers a dark theme |
svg-color-light-scheme |
#000000 |
The SVG color when user prefers a light theme |