Asymptote
code may be sent to the
http://asymptote.ualberta.ca server directly from the command
line, specifying any options directly in the URL:
curl --data-binary 'import venn;' 'asymptote.ualberta.ca:10007?f=svg' | display -
curl --data-binary @/usr/local/share/doc/asymptote/examples/Klein.asy 'asymptote.ualberta.ca:10007' -o Klein.html
curl --data-binary 'import teapot;' 'asymptote.ualberta.ca:10007?f=v3d' -o teapot.v3d
curl --data-binary 'import teapot;' 'asymptote.ualberta.ca:10007?f=pdf' -o teapot.pdf
curl --data-binary 'import teapot;' 'asymptote.ualberta.ca:10007?f=pdf&render=4' -o teapot.pdf
curl --data-binary 'import teapot;' 'asymptote.ualberta.ca:10007?f=pdf&prc' -o teapot.pdf
curl --data-binary 'import teapot;' 'asymptote.ualberta.ca:10007?f=pdf&prc&render=4' -o teapot.pdf
The source code for the command-line interface is available at https://github.com/vectorgraphics/asymptote-http-server.