GithubHelp home page GithubHelp logo

plebeiusgaragicus / interactive-terminal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eddymens/interactive-terminal

0.0 0.0 0.0 8 KB

Interactive terminal demo using Xterm.JS and Node.JS

License: Apache License 2.0

JavaScript 87.50% HTML 12.50%

interactive-terminal's Introduction

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 the frontend will be connecting to.

There is not much 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 after.

There is also a complete tutorial detailing how different parts of the code work.

TODO:

  • [] Enable key combo detection.
  • [] Enable arrow key usage.

interactive-terminal's People

Contributors

eddymens avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.