Runs a terminal emulator that provides output via WebSocket, formatted for Resonite's rich text system.
  • JavaScript 100%
Find a file
2026-04-10 11:27:51 +01:00
.gitignore init 2026-04-10 11:02:05 +01:00
index.js raw mode fail silently 2026-04-10 11:27:51 +01:00
package-lock.json init 2026-04-10 11:02:05 +01:00
package.json init 2026-04-10 11:02:05 +01:00
README.md init 2026-04-10 11:02:05 +01:00

resonite-term

Runs a terminal emulator that provides output via WebSocket, formatted for Resonite's rich text system.

Usage

git clone https://git.boxfox.es/fox/resonite-term
npm i
node index.js
# Additional options:
# -p, --port <int>    Port to listen on (default: "5712")
# -h, --rows <int>    Number of rows in the terminal (default: "24")
# -w, --cols <int>    Number of columns in the terminal (default: "80")
# -r, --rate <int>    Rate to send updates at in ms (default: "1000")
# You can also specify a shell and its arguments after the options, e.g.:
node index.js --port=5712 --rows 30 --cols 100 -r 500 -- ssh user@host

Then, in Resonite, you can connect to the WebSocket server and display the terminal output. Input can be sent to the terminal via the terminal used to launch the server.

Take a look at the viewer in my public folder: resrec:///U-TaylorRobinson/R-262D2DABED24300AC00656DAF01EE6747C2D3AFB493990F0D46E4C390533CA6B

Doesn't this already exist?

yeah but this one's better :)