An executable HTTP server that lets you run a shell command
Example using cat
as the command.
$ shell-runner cat
This will start a server on port 8080. You can specify a port with the env varible PORT
.
This is simply a health check endpoint. Returns a 200 response.
This is the main endpoint. It can take any string as input and will pass it to the command as stdin.