https://github.com/seanedwards/svcizer
"STDOUT and STDERR from cmd will be dumped to the response body."
"HTTP headers and query parameters will be passed as environment variables."
Uhhh, your friend just reinvented CGI: https://en.wikipedia.org/wiki/Common_Gateway_Interface
https://github.com/seanedwards/svcizer