/wts-monit

Web terminal shell monit build with Node.js.

Primary LanguageJavaScript

wts-monit

wts-monit

NPM version

Send commands to remote terminal to execute and then show result on the web console.

中文说明

WTS monitor launch a socket server as RPC server, any remote(or maybe the monitor self) terminal can create a socket then connect to the RPC server.

Also WTS monitor will launch a websocket server to manage all remote clients.

The system architecture:

wts architecture

runtime screenshots:

wts architecture

Usage

  • install via npm
$ npm install wts-monit

or just clone from github:

$ git clone https://github.com/chemdemo/wts-monit.git
  • install dependencies
$ npm install
  • conf server(s) port
$ vim conf/index.js
  • run as debug
$ node index.js # relies on Node.js V5.0+
  • deploy via pm2
$ pm2 start pm2_deploy.json

then open http://[YOUR HOST]:[YOUR PORT] in browser.

socket clients written by different languages

Todo

  • login access control

  • command access control

License

Copyright (c) 2015, chemdemo (MIT License)