dio-exporter
is a CLI tool for exporting .drawio or .dio file as image file.
Find drawio files (.drawio
or .dio
) from ./data
directory recursivelly, convert files to .png
or .svg
, and write converted files to ./dist
$ dio-exporter-vX.X.X-${GOOS}-${GOARCH} \
-in ./data/ \
-out ./dist/ \
-format png
Run drawio server locally
$ dio-exporter-vX.X.X-${GOOS}-${GOARCH} -debug-server
dio-exporter
is using chromedp library for capturing screen shot, so you must install google-chrome
before runnint dio-exporter
.
https://www.google.com/intl/ja_jp/chrome/
make dist
make test