Simple Go command to encode PlantUML source for the server.
$ go get github.com/orlade/plantuml-encode$ cat file.puml | plantuml-encodeDocker:
$ cat file.puml | docker run -i --rm orlade/plantuml-encodeImport the library:
import "github.com/orlade/plantuml-encode/plantuml"
Call DeflateAndEncode with some PlantUML source:
plantuml.DeflateAndEncode([]byte("@startuml ... @enduml"))