Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/kaakaa/dio-exporter
- Owner: kaakaa
- License: apache-2.0
- Created: 2020-07-06T12:36:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-11T03:11:48.000Z (over 4 years ago)
- Last Synced: 2024-06-20T08:14:01.776Z (7 months ago)
- Topics: drawio-tools
- Language: Go
- Homepage: https://github.com/kaakaa/dio-exporter
- Size: 70.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`