webpty is a simple web-based application to access shells & shell based applications in the system via a browser.
Use the package manager pip to install webpty.
pip install webpty
webpty
This creates a tornado server which will be serving your bash shell on http://localhost:8000/
webpty -c $SHELL
or
webpty --cmd=$SHELL
This $SHELL can be anything like bash, sh, python, vim, etc. which is present in the system.
webpty -p $PORT
or
webpty --port=$PORT
This creates a tornado server which will be serving your bash shell on http://localhost:$PORT/
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.