Skip to content
forked from boplish/core

Browser-based Open Publishing core libraries

License

Notifications You must be signed in to change notification settings

BytesGalore/core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BOPlish Core

Browser-based Open Publishing (BOPlish) is an infrastructure-independent content sharing facility using WebRTC DataChannels. This repository holds the core library for establishing a Browser-based Peer-to-Peer Network. It handles connection maintenance and routing.

For some demo applications using BOPlish refer to https://github.com/boplish/demos/.

This library currently only works on Firefox since DataChannel interoperation between Firefox and Chrome doesn't work, yet. For interop progress have a look at https://code.google.com/p/webrtc/issues/detail?id=2279.

Requirements

Usage

The main component consists of a JavaScript library. To build a minimal JavaScript file run

$ sudo npm install -g grunt-cli
$ npm install
$ grunt uglify

The library then resides in dist/boplish.min.js and can be included in your HTML page.

Bootstrap server

In bootstrap-server you will find two sample implementations of the bootstrap signaling protocol that BOPlish mandates. This is

  • a Flask application using Python
  • a Node.js application using Javascript

The bootstrap server holds WebSocket connections to existing peers in the boplish network in order to help joining peers find initial neighbours.

About

Browser-based Open Publishing core libraries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published