OronBox 的资源、审核与跨平台发布服务
OronBox Server is the production resource service behind OronBox. It provides the shared resource catalog, creator revisions, moderation, downloads, user feedback and publication integrations for BandBBS and AstroBox-Repo.
| 组件 / Component | 用途 / Purpose |
|---|---|
| Go | HTTP 服务与业务逻辑 / HTTP service and application logic |
| PostgreSQL | 账号、资源、修订、审核与发布状态 / Accounts, resources, revisions, reviews, and publication state |
| Cloudflare R2 | 可选的资源副本与下载线路 / Optional resource replica and download route |
| BandBBS OAuth 与 API | 用户身份与米坛发布 / User identity and BandBBS publishing |
| GitHub API | AstroBox-Repo 发布 / AstroBox-Repo publishing |
准备一个空的 PostgreSQL 数据库,复制 .env.example 并填写所需配置,然后运行:
Prepare an empty PostgreSQL database, copy .env.example, fill in the required configuration, and run:
go run ./cmd/server检查代码:
Run checks:
gofmt -w .
go test ./...管理后台的角色边界、资源审核、发布控制、维护操作与上线验证流程见 后台运维手册
OronBox Server 采用 GNU Affero General Public License v3.0 许可证
OronBox Server is licensed under the GNU Affero General Public License v3.0