berttejeda / bert.bill.webterminal

Webterminal agent for bert.bill

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

This is the Webterminal agent to be used with bert.bill.

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:

  • Install bertdotbill with pip install bertdotbill and running bill -aio, OR
    Cloning the bert.bill project, installing all requirements, and running python bertdotbill/app.py -aio
    Doing so will launch a local websocket that forwards keystrokes to a bash process on your system
  • Running the pre-built docker image:
    docker run -it --name webterminal --rm -p 10001:10001 berttejeda/bill-webterminal
  • Running docker-compose up -d from this project

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 bert.bill web app.

Architecture

Features

  • You can practice the lesson material with your own OS/system
  • Simply click on a command, and it will be executed in the underlying shell via web terminal!
  • Default shell is bash (for now)

About

Webterminal agent for bert.bill


Languages

Language:Python 94.9%Language:Dockerfile 3.9%Language:Shell 1.2%