# xtaci/gonet

A Game Server Skeleton in golang.

Repository: https://github.com/xtaci/gonet
Canonical: https://ross.abutalabs.com/products/xtaci-gonet
Language: Go
License: MIT
License Family: permissive
Archived: true
Last push: 2024-07-25T03:40:39+00:00

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

## Adoption (not part of the score)
Stars 1286, forks 290 (observed 2026-08-28T04:04:14.957012+00:00)

## What it is
gonet is a game server skeleton written in Go, providing a multi-server architecture with Game Servers, a Hub Server for packet forwarding, and a Stats Server for analytics. It handles player connections, unicast/multicast/broadcast messaging, and persistence via MongoDB.

## Use cases
- build a multiplayer game server in go
- game server architecture with hub and game nodes
- handle player messaging and packet forwarding
- persistent unicast messages for offline players
- collect player behavior statistics for game analytics

## When to choose
- building an MMO-style multiplayer game backend in Go
- you need a ready-made GS/HUB/SS topology with message routing rules
- you want MongoDB-backed message persistence

## When to avoid
- starting a new project - the author recommends gonet2 instead
- you need a maintained framework with active support
- your stack is not Go or you don't want MongoDB

## Facets
- artifact type: framework
- maturity: maintenance
- function: web-framework, rpc, message-queue, database-driver, logging, monitoring
- domain: backend, microservices
- platform: go, self-hosted
- tags: game-server, messaging, multiplayer, mongodb, hub-server, skeleton, deprecated, game-development, real-time, linux

## Member repositories
- xtaci/gonet (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:14.957012+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-30T04:56:37.438348+00:00, confidence not recorded.
  - readme: https://github.com/xtaci/gonet (fetched 2026-08-28T04:04:14.957012+00:00, sha 29a7726b8810)
- Data as of 2026-08-30T08:39:29.467469+00:00.
