Fork of noVNC to be used with Node/browserify.
- With npm:
$ npm install --save novnc-node
var noVNC = require('novnc-node');
Take the browserified version of the library at dist/novnc-node-X.Y.Z.js
. It exposes the global window.noVNC
module/Object.
<script src='novnc-node-X.Y.Z.js'></script>
The browserified version is built with browserify, meaning that when it is loaded with a <script>
it just exposes the global noVNC
module/Object if there is not a JavaScript module loader (RequireJS
, etc) in use.
Read the full API documentation in the docs folder.
Node.js must be installed.
Install gulp-cli
4.0 globally (which provides the gulp
command):
$ npm install -g gulpjs/gulp-cli#4.0
(you can also use the local gulp
executable located in node_modules/.bin/gulp
).
Get the source code:
$ git clone https://github.com/eface2face/noVNC-node.git
$ cd noVNC/
Install dependencies:
$ npm install
And run gulp
(or node_modules/.bin/gulp
):
$ gulp
This fork is maintained by Iñaki Baz Castillo at eFace2Face, Inc..