[zeromq-dev] Zyre on the web

Johan Philips Johan.Philips at kuleuven.be
Tue Aug 4 08:56:47 CEST 2015

Hi guys

We have some robots in our lab running Zyre to discover each other and exchange data, which works great. Most of them use the C implementation and some use Pyre (Python binding). We would like to add a “web interface” to our lab which shows all available robots in the browser and give a user the ability to introspect the robots, get a live feed of its camera or laser scan data and send some basic commands.

How could we combine this best with Zyre? The webpage would be HTML5 / Javascript and we would use JSON to serialise and model the data.
I’ve noticed that there is a Node.js binding for ZeroMQ but not for Zyre (the node_zyre project [1] we found, does not seem to work, i.e. is still very experimental and not maintained anymore?).

Is the best solution to run a C proxy with a Zyre node connecting to the robots and Router socket connecting to a Node.js running the javascript code or is this an unnecessary indirection? Alternatively we are thinking to run Pyre on the webserver and use Python instead of Node.js.

Any expertise and advice from you on this front is more than welcome :-)


More information about the zeromq-dev mailing list