node package manager


Quasselcore event (libquassel) to websocket (


A proxy between Javascript websocket client (browser) and quasselcore

Work in progress

Install the proxy with:

git clone
cd quassel-proxy
npm install --production

or to update npm update

and run the following command: node lib/quassel-proxy.js --port 64004

The proxy is now running.

⚠️ In order to have a fully working test version, your node version should be at least v0.11.13

With the proxy running, open index.html (from client directory) in your favorite browser. Fill in the inputs :

  • Websocket host is the ip/name of the server your proxy is running on
  • Websocket port is the port specified when the proxy was launched (here 64004)
  • The 4 next inputs are informations about your quasselcore

When hitting Connect button, you should start seeing some responses from the quassel server.

The proxy server acts like a basic libquassel client.

By default, events are not streamed to the browser.

socket.emit('register', 'buffer.highlight']);
socket.emit('register', 'login']);

Using EventReceiver class allows to triggers events callbacks in the wanted order. It is also used to automatically register events (see script.js).

To be able to use client side libquassel as if we were using it directly on the server, we must sync the whole NetworkCollection tree Object between the server and the client. It can be a little long to fetch the tree the first time, but when modifications are made server side thereafter, only patches are sent to the client (thanks to Object.Observe method).

For more details, see script.js file.

(Coming soon)

(Coming soon)

Copyright (c) 2014 Joël Charles
Licensed under the MIT license.