ashttp
ashttp copied to clipboard
Shell command, that expose any other command as http. To expose top as http, try : ashttp -p8080 top ; then try http://localhost/8080 and hit F5 to refresh your top :)
Dependencies
hl_vt100
To get and compile hl_vt100 :
$ git clone https://github.com/JulienPalard/vt100-emulator.git $ aptitude install python-dev $ make python_module $ python setup.py install
What is ashttp ?
ashttp can serve any text application over http, like :
$ ashttp -p 8080 top to serve a top on port 8080, or :
$ ashttp -p 8080 watch -n 1 ls -lah /tmp to serve an actualized directory listing of /tmp
LICENSE
The ashttp licence is FreeBSD Licence that you can found in the copyright file