Thriving Thriving Go GO TypeScript TS
↑ 86
croupier cuihairu/croupier

Croupier is a universal GM (Game Master) backend system designed for game operations. It supports integration with multi-language game servers and provides a unified management interface along with powerful extensibility.

https://cuihairu.github.io/croupier/ ↗
HEALTH 100 / Healthy
// solo builder// hidden gem// release machine clickhousegamegame-analyticsgame-backendgame-telemetrygolangjaegerliveopsloggingmetrics

// readme

Croupier 是面向游戏运营与控制场景的 Server / Agent / SDK 平台,默认服务于单一游戏公司内部的多个游戏与多个环境。当前架构已经收敛到“统一 session 传输”方向:

  • Agent <-> Server:默认采用 TCP session,默认启用 TLS
  • SDK <-> Agent:默认采用 TCP session,默认不启用 TLS,按需开启
  • 两条链路共享同一套 session 传输基座,只在首条握手消息和业务语义上区分子协议

在线演示

地址:https://croupier.cuihairu.site/

账号密码
adminadmin123

[演示环境,全部为假数据,会不定期重置。请勿填写任何真实信息。]

Highlights

  • 单公司、多游戏、多环境作用域模型:标准业务边界是 gameId + env
  • 业务作用域与运行目标分离:scope 表达归属,target 表达部署与执行位置
  • 统一的函数注册、调度、调用与作业模型
  • 轻量 session 传输:单连接、双向请求、可重连、可背压、可摘流
  • JSON payload + protobuf 信封,兼顾跨语言一致性与接入成本
  • JSON Schema 能力契约 + Ant Design Pro/ProComponents 驱动的生成式控制台 UI

支持的数据库

数据库驱动适用场景
SQLiteglebarez/sqlite开发、测试、小型部署
MySQLgorm.io/driver/mysql生产环境(推荐)
PostgreSQLgorm.io/driver/postgres生产环境
SQL Servergorm.io/driver/sqlserver企业环境

各库 DSN 配置示例见服务端配置说明。

SDK 生态

所有官方 SDK 已整合到 monorepo 的…

↑ The Undervalued Score +

How much a project earns versus how much attention it actually gets. Above 50 means the work is outrunning its audience. Recomputed nightly from commit velocity, contributor effort, issue resolution, fork utility, release cadence, and project maturity — divided by a logarithmic reach factor.

score  = signal / reach

signal = 0.25·commit_velocity   // commits in last 90 days (cap 30)
       + 0.20·contributor_work  // unique authors × velocity (cap 100)
       + 0.20·issue_resolution  // closed ÷ total issues
       + 0.20·fork_ratio        // forks ÷ stars (proxy for real usage)
       + 0.10·release_cadence   // releases in 90 days (cap 3)
       + age_bonus              // +0 to +0.30 after 6 months
       + homepage_bonus         // +0.05 if homepage is set

reach  = log₁₀(stars + watchers + 10)█
♥ The Health Score +

Is the project alive and maintained right now? A 0–100 pulse recomputed nightly from commit recency, rhythm, how fast issues close, and how quickly PRs get merged.

health = 0.35·recency       // days since last commit (90d decay)
       + 0.25·cadence       // commit rhythm consistency
       + 0.20·issue_health  // closed ÷ total issues
       + 0.20·pr_health     // merged ÷ total PRs█
◷ Health bands +

The colour and label on every card come straight from the health score.

Healthy   80 – 100   active, responsive, regular releases
Stable    60 – 79    maintained, steady, no alarms
Quiet     40 – 59    slowing down — watch this one
At Risk    0 – 39    going dark · candidate for rescue█
// Tags — what each label means +

Tags are independent behavioral signals computed nightly. A project can hold multiple at once. They drive the home page sections.

solo_builder      one person holds > 80% of commits (last 180d)
needs_contributors has open "help wanted" or "good first issue" labels
hidden_gem        < 100 stars · active in last 3 months · documented
legacy_hero       repo > 5 years old · committed this year
fork_magnet       forks/stars > 0.5 · used as template or dependency
release_machine   5+ releases in the last 90 days
under_pressure    > 10 open issues · ≤ 2 contributors · health ≥ 60
community_watch   watchers > stars · devs tracking before the public
community_hub     GitHub Discussions enabled · > 20 discussions
funded            maintainer has active funding channel█
★ Why rank against stars at all? +

Stars are an outcome, not effort. A project with 8 stars and daily commits is doing more interesting work than one coasting on 8k. We measure the building, then divide by the attention already received — so the genuinely undervalued rise to the top.

// stars   = lagging indicator
// commits = leading indicator
// we rank by the leading one█