freedomjs / freedom

Embracing a distributed web
http://freedomjs.org
Apache License 2.0
512 stars 53 forks source link

how to set up private signal server using node.js+socket.io #298

Closed wei-jiang closed 8 years ago

wei-jiang commented 8 years ago

I want to build social module's signal server into my node.js+express+socket.io website (not use official wss://p2pbr.com/route/).Is threre any guidance of this setup? or can each individual signalling server config to connect each other?

willscott commented 8 years ago

The social router code is here: https://github.com/freedomjs/socialrouter

you can change the URL when you make the social provider to point to your own URL.

The protocol is pretty simple, so you could make a compatible server if you don't like python.

On Mon, Sep 28, 2015 at 3:51 AM, wei-jiang notifications@github.com wrote:

I want to build social module's signal server into my node.js+express+ socket.io website (not use official wss://p2pbr.com/route/).Is threre any guidance of this setup? or can each individual signalling server config to connect each other?

— Reply to this email directly or view it on GitHub https://github.com/freedomjs/freedom/issues/298.

wei-jiang commented 8 years ago

Thanks a lot for the right direction.

agallant commented 8 years ago

Closing as I assume that repo helped you, but if you have any other questions feel free to ask. Thanks!