Skip to content
A jQuery Peerbind adaption, allows JS initiated interactions between website visitors.
JavaScript
Find file
Pull request Compare This branch is 11 commits behind lsl:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.md
index.html
jQuery.peerbind.js
peerbindserver.js

README.md

Setup Instructions:

Client Side Setup:

Include jQuery.peerbind.js into your webpage.

... Yea it was that easy ..

Setting up an endpoint:

Install node.js (nodejs.org) Mac brew: brew install node

Run cd ~/peerbind node peerbindserver.js

Note: this server will serve files relative from the calling directory. You can specify the public directory with the first argument after the server.

node peerbindserver.js /var/www/peerbind/ node peerbindserver.js ~/peerbind

The index.html file included has some example code to set up a simple chat app to run over your localhost.

Something went wrong with that request. Please try again.