# colyseus/colyseus

⚔ Multiplayer Framework for Node.js

Repository: https://github.com/colyseus/colyseus
Canonical: https://ross.abutalabs.com/products/colyseus
Homepage: https://colyseus.io
Language: TypeScript
License: MIT
License Family: permissive
Topics: colyseus, multiplayer, realtime-games, websockets, nodejs, turn-based, networking, game-server, multiplayer-game-server, multiplayer-game-engine
Last push: 2026-08-26T00:19:32+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 3937, "days_push": 8, "days_rel": 8, "gap_med": 0, "n_releases_24m": 88}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7226, forks 658 (observed 2026-08-28T04:09:57.616627+00:00)

## What it is
Colyseus is an authoritative multiplayer game framework for Node.js that provides room-based matchmaking, automatic state synchronization, and client SDKs for many engines and platforms. It handles networking concerns like reconnection, client prediction, and lag compensation so developers can build real-time multiplayer games quickly.

## Use cases
- build a real-time multiplayer game server in Node.js
- sync game state automatically across all connected clients
- implement matchmaking and room-based lobbies for players
- add multiplayer to a Unity, Godot, or Defold game
- create turn-based multiplayer games with authoritative server logic
- handle client prediction and lag compensation for fast-paced games
- build a Discord Activity or WeChat mini-game with multiplayer
- run load tests against a multiplayer game server

## When to choose
- you need an authoritative multiplayer server with built-in state sync and matchmaking
- your game targets multiple engines (Unity, Godot, Defold, web) and you want consistent SDKs
- you want to ship real-time or turn-based multiplayer games on Node.js without writing netcode from scratch
- you need reconnection handling, room lifecycle, and scalability features out of the box

## When to avoid
- you need peer-to-peer multiplayer without an authoritative server
- your project is not JavaScript/Node.js based on the server side
- you need a general-purpose WebSocket messaging layer without game-specific abstractions
- you want a fully managed non-game realtime service like Firebase Realtime Database

## Facets
- artifact type: framework
- maturity: stable
- function: websocket, state-management, sdk, middleware, auth, load-testing, monitoring
- domain: web-development, networking, backend
- platform: cross-platform, browser, game-engine, cpp, bun
- tags: multiplayer, game-server, matchmaking, state-sync, netcode, client-prediction, lag-compensation, rooms, authoritative-server, websockets, turn-based-games, realtime-games, unity-sdk, godot-sdk, discord-activity, colyseus-cloud, game-development, real-time, nodejs, web-server, godot, defold, haxe, flutter, swift, typescript, react

## Member repositories
- colyseus/colyseus (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:57.616627+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-30T07:21:23.998267+00:00, confidence not recorded.
  - readme: https://github.com/colyseus/colyseus (fetched 2026-08-28T04:09:57.616627+00:00, sha ec676564e62b)
  - homepage: https://colyseus.io (fetched 2026-08-29T08:35:07.197628+00:00, sha eacf1220315b)
  - site_page: https://docs.colyseus.io/ (fetched 2026-08-29T08:35:07.209944+00:00, sha f75dd541d322)
  - site_page: https://docs.colyseus.io/getting-started/typescript (fetched 2026-08-29T08:35:07.212551+00:00, sha f2d3ec1f6c50)
  - site_page: https://docs.colyseus.io/getting-started/unity (fetched 2026-08-29T08:35:07.214680+00:00, sha 2d80dd514008)
  - site_page: https://docs.colyseus.io/getting-started/godot (fetched 2026-08-29T08:35:07.216629+00:00, sha 5bb890bae56a)
  - site_page: https://docs.colyseus.io/getting-started/gamemaker (fetched 2026-08-29T08:35:07.218517+00:00, sha 060a5bd328b0)
  - site_page: https://docs.colyseus.io/getting-started/defold (fetched 2026-08-29T08:35:07.220632+00:00, sha 228690421fb3)
  - site_page: https://docs.colyseus.io/getting-started/haxe (fetched 2026-08-29T08:35:07.222453+00:00, sha e8e7998b1ecc)
  - site_page: https://colyseus.io/pricing (fetched 2026-08-29T08:35:07.207291+00:00, sha 69618b0079e6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
