Skip to content
u173487Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

A simple API to convert D2 files into SVG images

Usage

Build

docker build -t d2-api:latest

Run

docker run -p 3000:3000 d2-api:latest

Usage

curl -X POST "http://localhost:3000/convert" -F "file=@example.d2" -o diagram2.svg

Swap out url with actual location

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages