Call Sage functions from Node.js or other web app/service
Hi, I have a Node.js app that needs to use a few of Sagemath's functions. I have no idea at all how I can call into Sage from a js backend, or even if it's possible to call it from an external process. Obviously being able to call Sage to plot a graph and receiving the result as a stream or saved to disk would be optimal. But so far, I would be happy if I could call factor() from a web page and display the results. Anyone has an idea how to accomplish this? I don't mind having a Python layer around Sage if thats what it takes, but any code snippets or pointers to existing libraries would be highly appreciated. Thanks.