runasdog
Make your normal program become a server
The runasdog(run as watchdog) is an amazing program.It will change your local program's std i/o into web i/o.So if you want to create a web app,just write program in local,and run it with "runasdog",then is becomes a watchdog!.
Using this,your bash will become a web-bash,or you can create a web chatroom with any language you want,and without caring about whether it support web i/o,and so on...