peerjs
Simple peer-to-peer with WebRTC. (by peers)
Peer
Sane and easy to use WebRTC Peer implementation (by wesz)
Our great sponsors
peerjs | Peer | |
---|---|---|
22 | 1 | |
11,910 | 0 | |
1.0% | - | |
9.2 | 0.0 | |
3 days ago | over 3 years ago | |
TypeScript | JavaScript | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
peerjs
Posts with mentions or reviews of peerjs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-11.
-
Help us prioritize features for our decentralized p2p chat app
this app is using peerjs to connect peers over a webrtc connection. check out thier docs for more info. with webrtc, things like file-transfer, should be very performant compared to cloud storage providers... especially over LAN. network speed doesnt seems to be an issue i have experienced.
- Blockchain as a Datastructure
-
Some things I learned, retrofitting a browser-based RTS for network multiplayer.
I'm using the client-side PeerJS https://peerjs.com/ library for networking. As the name may imply, a direct connection is established between two peers using WebRTC via "handshake" through an intermediary server they host - and, they provide source for the server as well. I have found it to be quite reliable, thus far.
-
Create a Keyword Generator Chrome Extension🔥
If you want you can use Preact. PreactJS is a lightweight alternative to ReactJS, designed for high performance and compatibility. is often used in applications where performance is critical and has a small footprint.
-
Ask HN: Those making $0/month or less on side projects – Show and tell
You might be able to eliminate the VPS by making it P2P using something like PeerJS [1]. PeerJS provides a free shared connection broker server.
[1]: https://peerjs.com/
-
We just release our first version of TOONKS, a 3D Multiplayer Game where you can play a tiny tank against your friends directly on your browser without any installation.
We use peer.js module to create a WebRTC connection between clients
-
CRDTs and Distributed Consistency - Part 3: Building a distributed counter
Now that we have all the required boilerplate we can start building the actual game. For the communications between peers we are going to use PeerJS a peer-to-peer library built on top of WebRTC.
-
Multiplayer in Augmented Reality
I am using https://peerjs.com/. I am currently using their default brokering system (which is the default out-of-the-box). it seems (when necessary) i am able to run my own version as provided at: https://github.com/peers/peerjs-server
- Networking of a Turn-Based Game
-
How would you create a board game backend?
Without backend, you can choose WebRTC for all communication b/w players. peerjs is a good library for that. However, I would still suggest not to take this approach as it can be overwhelming.
Peer
Posts with mentions or reviews of Peer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-06.
-
PeerJS – Simple peer-to-peer with WebRTC
My own attempt at creating simple to use wrapper for WebRTC: https://github.com/wesz/Peer
What are some alternatives?
When comparing peerjs and Peer you can also consider the following projects:
simple-peer - 📡 Simple WebRTC video, voice, and data channels
Socket.io - Realtime application framework (Node.JS server)
mediasoup - Cutting Edge WebRTC Video Conferencing
Pion WebRTC - Pure Go implementation of the WebRTC API
coturn - coturn TURN server project
simple-peer-files - A library to send files over WebRTC
js-libp2p-webrtc-star - libp2p WebRTC transport that includes a discovery mechanism provided by the signalling-star
peerjs-go - Golang PeerJS implementation
peer - Decentralized web apps over web2.
boardgame.io - State Management and Multiplayer Networking for Turn-Based Games
p2pchat - Video & audio chat in less than 200 lines of JS :satellite:
mornin.fm