Skip to content

EDDYMENS/interactive-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive web-based terminal

Requirements:

  • NodeJS >= v16 and NPM

Setup process

There are two parts to this, the frontend and backend, just like a typical web application.

To get the backend running use the following steps:

  • cd into the directory.
  • Run npm install to pull in dependencies.
  • Run node backend.js to start the WebSocket.

There is little to do regarding the frontend except to open up index.html in the browser.

The WebSocket port number is hard coded thus 6060. Feel free to change it in backend.js Also, don't forget to update the WebSocket URL in frontend.js.

A complete tutorial details how different parts of the code work.

Changelog

  • V2 - Improvements to support 1:1 mirroring of an actual terminal e.g: Vim works with this implementation
  • V1 - Initial release

About

An Interactive terminal using Xterm.JS and Node.JS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published