blob: 259fd64618c58471ec5c2e9c1789ebd1bc3e6b49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# 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.
You must first install
* dpic from https://ece.uwaterloo.ca/~aplevich/dpic and
* graphviz from https://graphviz.org
before you can use playdot properly.
Screenshots:
<img src="dot.png" alt="dot screenshot" width=350px> <img src="dpic.png" alt="dpix screenshot" width=350px>
## 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.
|