engineer-man/piston ? reverse-engineered prompt
Reverse engineered prompt
Build me a self hosted code execution service like Piston that I can run on my own machine or server.
I want it to safely run untrusted code in isolated containers, support multiple programming languages and multiple versions of the same language, and give me a simple HTTP API. One endpoint should list the installed runtimes, and another should accept code files, stdin, the chosen language, and version, then return the output and any errors. Please also include a command line tool that can install language runtimes, list what is available, and run a local script either against the local server or a remote one.
Make the local setup straightforward with Docker, and have the API listen on port 2000 by default. I do not need a fancy UI, but I do want clear docs and a couple of example requests so I can test it quickly. If anything is unclear, look up the current project docs online and match the expected behavior closely.
Have a live product UI? Try website reverse