Skip to content
M

Matchbox

Painless peer-to-peer WebRTC networking for rust wasm (and native!)

by johanhelsingFree

#2158in Utilities
0In stores

Description

Matchbox is an open source Rust project for peer-to-peer WebRTC networking in WebAssembly and native applications, aimed mainly at low-laten…

Highlights

  • Peer-to-peer WebRTC for Rust Wasm and native
  • Unreliable or reliable data channels
  • GGRS-compatible socket for rollback netcode
  • Ready-made full-mesh signaling server
  • Bevy integration via bevy_matchbox

Ratings & Reviews

No ratings yet

Be the first to rate Matchbox.

People also visit

P

P2pt

Use free public WebTorrent trackers as signalling servers for WebRTC apps

Utilities
Launch
P

Peerjs

Simple peer-to-peer with WebRTC

Utilities
Launch
T

Trystero

Build instant multiplayer webapps, no server required

Social
Launch
R

Rust Libp2p

The Rust Implementation of the libp2p networking stack

Utilities
Launch
N

Netflux

JavaScript client and server side transport API based on WebRTC & WebSocket

Developer Tools
Launch
T

Turn RS

A pure rust implemented turn server

Utilities
Launch

Matchbox FAQ

What is Matchbox?

A Rust library set for peer-to-peer WebRTC networking in browsers (Wasm) and native apps, designed for low-latency multiplayer games.

Does traffic go through a server?

Only connection setup goes through the signaling server. After that, data flows directly between peers.

Does it work with Bevy?

Yes. bevy_matchbox integrates it with Bevy, and the README lists which version matches each Bevy release.

Can I use it with GGRS?

Yes, matchbox_socket has a ggrs feature, and there is a tutorial for Bevy and GGRS.

Do I have to write my own signaling server?

No. matchbox_server is ready to use, and matchbox_signaling helps if you want a custom one.

What are the best Matchbox alternatives?

Popular alternatives to Matchbox include P2pt, Peerjs and Rust Libp2p. See all Matchbox alternatives

Developer Stuff

Badges