# naia-lib/naia

a cross-platform (including Wasm!) networking library built in Rust. Intended to make multiplayer game development dead-simple & lightning-fast

Repository: https://github.com/naia-lib/naia
Canonical: https://ross.abutalabs.com/products/naia
Language: Rust
License: Apache-2.0
License Family: permissive
Last push: 2026-08-23T20:26:29+00:00

## Health v2 (maintenance only)
Score: 82/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 51, longevity 100
- inputs: {"age_days": 2257, "days_push": 10, "days_rel": 113, "gap_med": 300.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1170, forks 65 (observed 2026-08-28T04:03:51.240394+00:00)

## What it is
naia is a cross-platform Rust networking library for multiplayer games, providing server-authoritative entity replication and typed message passing over UDP (native) and WebRTC (browser/Wasm). It is ECS-agnostic with adapters for Bevy and macroquad, following the Tribes 2 networking model.

## Use cases
- build a multiplayer game server in Rust
- replicate game entities from server to clients
- make a browser-based multiplayer game with WebAssembly
- send reliable and unreliable messages between game client and server
- delegate entity authority to clients in a multiplayer game
- add networking to a Bevy game
- sync game state across native and web clients

## When to choose
- you are building a multiplayer game in Rust, especially with Bevy or macroquad
- you need the same networking code to run natively and in the browser via Wasm
- you want server-authoritative entity replication with automatic diffing
- you need configurable reliability and ordering channels for game messages

## When to avoid
- you need general-purpose HTTP or REST networking rather than game state replication
- your project is not in Rust
- you need peer-to-peer networking rather than a client-server model
- you want a turnkey game server hosting solution rather than a library

## Facets
- artifact type: library
- maturity: active
- function: networking, serialization, concurrency, game-engine, websocket
- domain: gaming-tools, cross-platform
- platform: rust, wasm, cross-platform, browser, windows
- tags: multiplayer-games, entity-replication, server-authoritative, webrtc, udp, ecs-agnostic, bevy, macroquad, client-server, game-development, linux, macos

## Member repositories
- naia-lib/naia (main) score 82

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:51.240394+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:28:37.881631+00:00, confidence not recorded.
  - readme: https://github.com/naia-lib/naia (fetched 2026-08-28T04:03:51.240394+00:00, sha ae3d06af9aad)
- Data as of 2026-08-30T08:39:29.467469+00:00.
