# duanhf2012/origin

A  game server framework in Go (golang).

Repository: https://github.com/duanhf2012/origin
Canonical: https://ross.abutalabs.com/products/duanhf2012-origin
Language: Go
License: Apache-2.0
License Family: permissive
Last push: 2026-08-26T14:21:16+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 61, longevity 100
- inputs: {"age_days": 2778, "days_push": 7, "days_rel": 261, "gap_med": 11.0, "n_releases_24m": 19}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1703, forks 200 (observed 2026-08-28T04:05:24.573404+00:00)

## What it is
Origin is a distributed game server engine written in Go, organized around three core abstractions: Node, Service, and Module. It provides service discovery (etcd or built-in), RPC, and networking over TCP, KCP, and WebSocket, plus utilities for building game backends including H5 game servers.

## Use cases
- build a distributed game server backend in Go
- create an H5 HTML5 game server
- set up service discovery and RPC between game server nodes
- structure game logic into services and modules with monitoring
- implement login, save, and config loading flows for a multiplayer game

## When to choose
- you are building a multiplayer game server in Go and want a batteries-included engine
- you need distributed nodes with RPC and etcd-based service discovery
- you want TCP, KCP, and WebSocket networking out of the box

## When to avoid
- you are building a non-game backend where general web frameworks fit better
- you need a battle-tested engine with a large community and ecosystem
- your team does not work in Go

## Facets
- artifact type: framework
- maturity: active
- function: rpc, web-framework, websocket, concurrency, service-discovery, developer-tools
- domain: backend, microservices, networking, developer-tools
- platform: go, windows, cross-platform
- tags: game-server-engine, distributed, node-service-module, kcp, etcd, golang, game-development, linux, macos

## Member repositories
- duanhf2012/origin (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:24.573404+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-30T03:37:37.518646+00:00, confidence not recorded.
  - readme: https://github.com/duanhf2012/origin (fetched 2026-08-28T04:05:24.573404+00:00, sha 05ae7c3c1061)
- Data as of 2026-08-30T08:39:29.467469+00:00.
