Leverages the original "freman/goterm" and xterm.js
This is a completely insecure daemon that permits anyone to connect and control your computer, please don't run this anywhere.
# Clone repo
git clone https://github.com/thomasvn/goterm.git
# Initialize the module. Download dependencies.
go mod init goterm
go mod tidy
# Build & run
go run main.go
The HTTP Server and Websocket Handler are written in Go.
The static frontend files import xterm.js
, and create a new terminal for every websocket connection to the server.