playdot/README.md

32 lines
858 B
Markdown
Raw Permalink Normal View History

2017-11-23 03:04:38 +01:00
# playdot - A simple playground for dpic and dot
A simple webservice that displays an editor for dpic- and dot-input and shows
the SVG-output or error messages below it. Allows for sharing of links to the
input.
2017-11-23 03:16:38 +01:00
You must first install
2017-11-23 03:17:19 +01:00
2017-11-23 03:18:18 +01:00
* dpic from https://ece.uwaterloo.ca/~aplevich/dpic and
* graphviz from https://graphviz.org
2017-11-23 03:16:38 +01:00
before you can use playdot properly.
2017-11-23 03:59:35 +01:00
Screenshots:
2017-11-23 04:00:08 +01:00
2017-11-23 03:59:35 +01:00
<img src="dot.png" alt="dot screenshot" width=350px> <img src="dpic.png" alt="dpix screenshot" width=350px>
2017-11-23 03:16:38 +01:00
## Install
% go get github.com/oec/playdot
% cd $GOPATH/src/github.com/oec/playdot
% go build
To run the server on port 9999 without TLS:
% ./playdot -l :9999
2017/11/22 18:13:13 handler for /dot/ registered
2017/11/22 18:13:13 handler for /dpic/ registered
2017/11/22 18:13:13 listening non-tls on :9999
See `./playdot -h` for further options.