Actually serverless
Connecting peers using torrent technologies.
Install
Easily create serverless web rtc connections based on a connection string.
npm install --save actually-serverless
or yarn
yarn add actually-serverless
usage
Here is a very basic usage.
let peers = const stopLookingForPeers = // to teardownpeers
Try out the serverless chat room! See the source for more advanced usage.
See the readme for create react app, if you want to play with the demo src.
usage with webpack
Webtorrent is kind of a PITA with webpack. See: https://github.com/webtorrent/webtorrent/issues/347
You will probably run into issues with minifying, what you end up needing to do is split webpack into it's own bundle and ignore that bundle for minificaiton.