UNPKG

guacamole-lite

Version:

Lite version of guacamole server in node.js. RDP/VNC client for HTML5 browsers

28 lines (21 loc) 498 B
#!/usr/bin/env node const GuacamoleLite = require('guacamole-lite'); const express = require('express'); const http = require('http'); const app = express(); const server = http.createServer(app); const guacdOptions = { port: 4822 // port of guacd }; const clientOptions = { crypt: { cypher: 'AES-256-CBC', key: 'MySuperSecretKeyForParamsToken12' } }; const guacServer = new GuacamoleLite( {server}, guacdOptions, clientOptions ); server.listen(8080);