Files
net-deertopia/doerg/doerg-temml-worker
Madeleine Sydney Ślaga faa84f986d
All checks were successful
build / build (push) Successful in 1m24s
doc: doerg-temml-worker
2026-03-05 11:47:59 -07:00
..
2026-03-01 12:08:21 -07:00
2026-03-01 11:56:06 -07:00
2026-03-05 11:47:59 -07:00

doerg-temml-worker

This is a tiny Node script that is used by doerg. For each CBOR-encoded value on stdin (a "command"), a response value is spit to stdout.

Currently, the following commands are supported:

  • Any string: Return the Temml-rendered MathML code as a string (inline).
  • An array with a single string element: Return the Temml-rendered MathML code as a string (display).

If something goes wrong, either of these commands may return an object of form

  {"type": "error"
  ,"error": «error object»}