Trystero is a clandestine courier network that allows encrypted peer-to-peer communication without a server middleman.

It allows you to make any site multiplayer in a few lines.

It supports BitTorrent, Firebase, and IPFS as connection options and provides abstractions on top of WebRTC, including rooms for broadcasting, automatic serialization/deserialization of data, metadata attachment to binary data and media streams, automatic chunking and throttling of large data, progress events and promises for data transfers, and session data encryption.

Features

Besides making peer matching automatic, Trystero offers some nice abstractions on top of WebRTC:

  • πŸ‘‚πŸ“£ Rooms / broadcasting
  • πŸ”’πŸ“© Automatic serialization / deserialization of data
  • πŸŽ₯🏷 Attach metadata to binary data and media streams
  • βœ‚οΈβ³ Automatic chunking and throttling of large data
  • ⏱🀞 Progress events and promises for data transfers
  • πŸ”πŸ“ Session data encryption

License

  • MIT license

Resources

Trystero - serverless WebRTC matchmaking
Serverless WebRTC matchmaking for painless P2P
GitHub - dmotz/trystero: 🀝 Serverless WebRTC matchmaking for painless P2P β€” Make any site multiplayer in a few lines β€” Use BitTorrent, IPFS, or Firebase
🀝 Serverless WebRTC matchmaking for painless P2P β€” Make any site multiplayer in a few lines β€” Use BitTorrent, IPFS, or Firebase - GitHub - dmotz/trystero: 🀝 Serverless WebRTC matchmaking for painle…