This is the Webterminal agent to be used with various projects I've developed, e.g.
- bert.dashboard
- bert.bill (superceded by above)
- bert.slidev - webterminal addon
This agent allows the app's xtermjs Webterminal React component to connect
to a local bash process on your computer.
You can get this Webterminal agent running either by:
- Running the pre-built docker image:
docker run -it --name webterminal --rm -p 10001:10001 berttejeda/bill-webterminal
- Running
docker-compose up -dfrom this project - Install btdashboard with
pip install btdashboardand runningbtdashboard, OR
Cloning the berttejeda/bert.dashboard project, installing all requirements, and
runningpython btdashboard/app.py -aio
Doing so will launch a local websocket that forwards keystrokes to a bash process on your system - Install bertdotbill with
pip install bertdotbilland runningbill -aio, OR
Cloning the bert.bill project, installing all requirements, and
runningpython bertdotbill/app.py -aio
Doing so will launch a local websocket that forwards keystrokes to a bash process on your system
Either of the commands above will start the websocket and bash process on localhost:10001,
but you can change the port if you like.
You can then connect to the agent through the Web UI.
- Utilizes spyder-terminal component
- You can practice the lesson material with your own OS/system
- Simply click on a command, and it will be sent and executed on the underlying shell via web terminal!
- Default shell is bash (for now)