Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kaakaa/dio-exporter

dio-exporter is a CLI tool for exporting .drawio or .dio file as image file.
https://github.com/kaakaa/dio-exporter

drawio-tools

Last synced: about 1 month ago
JSON representation

dio-exporter is a CLI tool for exporting .drawio or .dio file as image file.

Awesome Lists containing this project

README

        

# dio-exporter

`dio-exporter` is a CLI tool for exporting .drawio or .dio file as image file.

![](./assets/overview_Page-1.png)

## Usage

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
```

## Requirement

`dio-exporter` is using [chromedp](https://github.com/chromedp/chromedp) library for capturing screen shot, so you must install `google-chrome` before runnint `dio-exporter`.

https://www.google.com/intl/ja_jp/chrome/

## Build
`make dist`

## Test
`make test`