# cBournhonesque/lightyear

A networking library to make multiplayer games for the Bevy game engine

Repository: https://github.com/cBournhonesque/lightyear
Canonical: https://ross.abutalabs.com/products/lightyear
Homepage: https://cbournhonesque.github.io/lightyear/book
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: bevy, gamedev, multiplayer, networking, rust
Last push: 2026-09-03T00:52:39+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 85, longevity 93
- inputs: {"age_days": 1304, "days_push": 0, "days_rel": 23, "gap_med": 34, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1137, forks 156 (observed 2026-09-03T02:15:09.748833+00:00)

## What it is
Lightyear is a Rust networking library for building server-authoritative multiplayer games with the Bevy game engine. It provides transport-agnostic connections (UDP, WebSocket, WebTransport, Steam), message channels, input handling, and entity replication with prediction and interpolation.

## Use cases
- build a multiplayer game in Bevy
- add server-authoritative networking to a Rust game
- sync game state between clients and server
- implement client prediction and rollback for an FPS
- run a Bevy multiplayer game in the browser via WebTransport
- send reliable and unreliable messages between game clients

## When to choose
- you are building a multiplayer game with Bevy
- you need server-authoritative state replication with prediction and interpolation
- you want transport flexibility including WebAssembly/WebTransport support

## When to avoid
- you use a game engine other than Bevy
- you need peer-to-peer networking rather than client-server
- your project is not written in Rust

## Facets
- artifact type: library
- maturity: active
- function: networking, serialization, middleware
- domain: gaming-tools
- platform: rust, cross-platform, wasm
- tags: bevy, multiplayer, server-authoritative, netcode, replication, prediction, interpolation, webtransport, udp, game-development, real-time

## Member repositories
- cBournhonesque/lightyear (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:09.748833+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:41:05.163657+00:00, confidence not recorded.
  - readme: https://github.com/cBournhonesque/lightyear (fetched 2026-09-03T02:15:09.748833+00:00, sha fabc276fe2a0)
  - homepage: https://cbournhonesque.github.io/lightyear/book (fetched 2026-08-29T12:44:49.418603+00:00, sha 2cc7198abbf8)
  - registry_crates: https://crates.io/api/v1/crates/lightyear (fetched 2026-08-29T12:44:49.427672+00:00, sha 5866ff58aab7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
