JSPM

  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q24968F
  • License KINDLY

A full screen terminal in your browser.

Package Exports

  • web-term
  • web-term/bin/public/js/blm.js
  • web-term/bin/public/js/jquery.js
  • web-term/bin/public/js/term.js
  • web-term/bin/public/js/web-term.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (web-term) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

web-term

$ web-term Donate now

A full screen terminal in your browser.

Installation

$ npm i web-term

CLI Usage

You can install the package globally and use it as command line tool:

$ npm i -g web-term

Then, run web-term --help and see what the cli tool can do.

Usage

Run web-term and then open localhost:9000 in your web browser. If you want to configure the things, run web-term -h and see what are the available options.

In short:

  • -d Starts web-term as daemon (e.g. web-term -d)
  • -p <port> Sets a different port (e.g. web-term -p 5000)
  • -o Opens the web-term page in the default browser.
  • -c <cwd> Specifies the current working directory.

Sure, they can be combined:

# The following command will start web-term as daemon
# on localhost:5000, with the current working directory
# set to ~/Documents and after the process is started,
# the web-term page will be opened in browser.
$ web-term -d -p 5000 -c ~/Documents -o

Screenshots

VIM

Alsamixer

Thanks

This project is highly based on tty.js created by @chjj. Thanks a lot for this awesome stuff!

Documentation

For full API reference, see the DOCUMENTATION.md file.

How to contribute

Have an idea? Found a bug? See how to contribute.

License

KINDLY © Ionică Bizău–The LICENSE file contains a copy of the license.