Skip to content

rcasto/peer-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

peer-net

Goal: Connect peers without the need for a central server

Uses WebRTC to connect peers together, which in turn necessitates the concept of a "signaling server". In our case it's currently just copy/paste and use your channel of choice to share the connection information.

Give it a shot!

Getting Up & Running

Prerequisites

Setup steps

  1. Clone this repo: https://github.com/rcasto/peer-net/
  2. Navigate to where you cloned the repo using the command line or tool of choice
  3. Run the command npm install
  4. Now run the command npm start
  5. Navigate to http://localhost:3000
  6. You're all set up!

Current Limitations

  • Must copy/paste and find outside channel to send offer/answer to other peer
  • Only connects 1 peer to another peer, does not allow multiple connections building up a network
  • Does not allow additional data exchange after initial connection