This is an experiment. It is not performant! Do not use in production.
Start http-dynamic
./lib/http-dynamic
Put scripts (ruby, python, php) in the ./scripts directory:
scripts/hello.rb
puts 'hello from ruby' puts 'arguments are '+ ARGV[0] exit()
And execute over HTTP:
curl localhost:8080/hello.rb?foo=bar
Should output:
hello from ruby arguments are foo=bar
(all data written to stdout will be buffered and returned to HTTP client when script exits)