Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Interprocessus communication with the help of NodeJS, WebSockets and VarStream.

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 documents
Octocat-spinner-32 src
Octocat-spinner-32 www
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gruntfile.js
Octocat-spinner-32 LICENCE
Octocat-spinner-32 package.json
Octocat-spinner-32 vars.dat


WebSocketIPC is a websocket server allowing you to synchronize a variable tree between each clients of the server.

It also synchronize the variable tree beetween each worker of the cluster (one per CPU).

Finally, it allows you to pipe a Unix VarStream in and out or to simply visualize the stream in the console and manually type VarStream content from your console.

It's a proof of concept of the VarStream project.

WebSocketIPC program is free to use for any purpose (GNU/GPL).

How to use

On your console :

npm install
node src/backend.js


To build the front-end :

npm install -g browserify
node_modules/browserify/bin/cmd.js src/frontend.js -o www/javascript/script.js 

Note: The Grunt plug-in currently embed an old browserify version. It should work when updated.


Open index.html multiple times on your browsers to test WebSocketIPC synchronization.


  • Nicolas Froidure - @nfroidure


This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see

Something went wrong with that request. Please try again.