tailJS

Description

Sometimes I really want to see the output of a log file but I don't want to keep another ssh tab open. Normally I already have 10 open running commands and editing files. I usually have another 5 that have timed out. I hate clutter.

While building trading applications I could keep an eye on what was happening right in the internet after building tailJS. I took it a step further and when JavaScript noticed a keyword I had it play a sound to alert me if I was not watching. This is how I knew if an automated trade had gone through.

The way it works is pretty simple really. JavaScript does an Ajax request to a php file on the server which then runs tail via the shell_exec command and returns the output. Check out the demo here, or fork it on GitHub