Skip to content

uml2image is discord bot to convert uml to image.

License

Notifications You must be signed in to change notification settings

minami14/uml2image

Repository files navigation

uml2image

Travis Go Report Card

uml2image is discord bot to convert uml to image.

Install

Docker

docker run -d -e TOKEN=[Your token] minami14/uml2image

Binary

Install JRE(or JDK) and Graphviz.

sudo apt install default-jre graphviz

clone this repository.

git clone https://github.com/minami14/uml2image

build uml2image.

cd uml2image
go build -o uml2image cmd/main.go

Save plantuml.jar in the same directory as the built binary.

wget -O plantuml.jar http://sourceforge.net/projects/plantuml/files/plantuml.jar/download

Usage

./uml2image [Your token]

Write uml with discord as follows

```uml
@startuml
Class01 <|-- Class02
Class03 *-- Class04
Class05 o-- Class06
Class07 .. Class08
Class09 -- Class10
@enduml
```

example

About

uml2image is discord bot to convert uml to image.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published