terminal.js

A functional client-side terminal. It manipulates the DOM and is styled with regular CSS (so you can play around with it with your browser’s dev tools). This is a very limited preview of a work in progress, but it shows how it can be used.

Hello. Waiting for input...


I originally made a prototype for a small game that accepts some text input from players and I decided to expand on it. It’s versatile: you can easily add your own JS functions as working commands and make it as useful as you need.

After a bit more polishing I might switch its private GitHub repository public.