|
|
|
|
|
by dmotz
1862 days ago
|
|
I recently wrote a library to abstract away the tedious aspects of WebRTC called Trystero: Repo: https://github.com/dmotz/trystero Demo: https://oxism.com/trystero/ The goal is to allow adding P2P/multiplayer to your web app in a few lines and no server setup. While there are a few good abstraction libraries out there (this one builds on simple-peer), I felt the need the set up a server for matchmaking peers was too much friction for experiments and too centralized in the context of P2P apps. Trystero abstracts away the matchmaking aspect using BitTorrent, IPFS, or Firebase behind the scenes. |
|