How to take a CLI app and put it on the web (client-side)
So let's say I have a statically linked x86_64 linux binary. It provides a REPL and that's it. What would be the easiest way to compile it to asm.js, emscripten, webassembly or whatever and deploy it. I basically want a process that takes the binary and spits out an html page that I can open that runs the app. I'm not a web dev and have no interest in being one. What's the absolute easiest way to make this happen?
Try CGI, any input in url[GET] will be accessed by Argc,and Post can be by reading and parsing commandline args.