I developed a CMS system using openjscad.js (pre jscad 2). It is OpenJsCad.version = '0.5.1 (2016/06/27). It used openscad.js, jscad-worker.js and jscad-function.js.
It was fun to put together and useful for collecting, openscad, stl, gcode and narratives about how to build the designs. It was written in PHP using an Apache2 web server.
I had to move servers and didn't pay addition to the differences between the old openjscad command line tool (which was used for converting uploaded STL files into jscad files for viewing). Now the current jscad syntax is a bit different since the polyhedron has faces in addition to points and this trips the old code.
So now try to tinker with the current jscad set up but cannot figure out how to just view an stl file on my webroot. Does anyone know of a simple template script that I can use to upgrade this tool from the old code?