Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rcasto/peer-net
Peer connection without a server
https://github.com/rcasto/peer-net
connected-peers datachannel p2p peer webrtc
Last synced: about 1 month ago
JSON representation
Peer connection without a server
- Host: GitHub
- URL: https://github.com/rcasto/peer-net
- Owner: rcasto
- License: mit
- Created: 2017-11-12T01:08:20.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-02T02:37:08.000Z (about 2 years ago)
- Last Synced: 2024-04-14T22:33:47.917Z (8 months ago)
- Topics: connected-peers, datachannel, p2p, peer, webrtc
- Language: HTML
- Homepage: https://rcasto.github.io/peer-net/
- Size: 868 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# peer-net
Goal: Connect peers without the need for a central serverUses [WebRTC](https://www.w3.org/TR/webrtc/) to connect peers together, which in turn necessitates the concept of a ["signaling server"](http://www.webrtc-experiment.com/docs/WebRTC-Signaling-Concepts.html). In our case it's currently just copy/paste and use your channel of choice to share the connection information.
[Give it a shot!](https://rcasto.github.io/peer-net/)
## Getting Up & Running
### Prerequisites
- [Git](https://git-scm.com/downloads)
- [Node.js](https://nodejs.org/en/download/)### 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