Hacker News new | past | comments | ask | show | jobs | submit login

So my buddy Sean (@tilmonedwards) just built something pretty similar as a command-line app, just for yucks:

https://github.com/seanedwards/svcizer




"The request body will be passed to stdin."

"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


Yeah--that's neat, to me. :-) I've written against CGI before. The kicker to me is that it converges back on what we'd already done. History is fun.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: