# Matchbox

> MIT/Apache-2.0 Rust/WASM P2P sockets for Bevy + GGRS

**Category:** Rust  
**Pricing:** open-source  
**URL:** https://github.com/johanhelsing/matchbox  
**GitHub:** https://github.com/johanhelsing/matchbox  
**Added:** 2026-09-09

---

## The Hook

Matchbox is UDP-like unreliable WebRTC P2P for Rust/WASM when Bevy + GGRS browser multiplayer needs a socket, not a JS rooms kit.

## What's Good

MIT OR Apache-2.0. johanhelsing/matchbox: matchbox_socket (native + WASM, optional ggrs feature), matchbox_server full-mesh signaling, matchbox_signaling library, and bevy_matchbox for Bevy. Unreliable/reliable data channels with ordering/retransmit knobs — built for low-latency rollback netcode in the browser. Tutorial path with Bevy + GGRS is documented.

## The Catch

Vs PeerJS, Trystero, and Colyseus: Rust/WASM P2P socket + signaling crates — not a JS-first rooms kit, not serverless Nostr/MQTT discovery, not an authoritative game-room framework. You still run matchbox_server (or your own signaling) so peers can find each other; NAT/TURN still applies. Bevy version pins matter (bevy_matchbox tracks Bevy releases).

## Verdict

MIT/Apache-2.0 Rust P2P for Bevy/GGRS. Free forever; you still host signaling.
