Add developer API, Prometheus metrics, and community links

This commit is contained in:
2026-10-12 19:59:37 +05:00
parent 3cc3136762
commit 018be5049e
50 changed files with 4087 additions and 31 deletions

View File

@@ -1,5 +1,16 @@
# Deploy MineGeo
The scoped developer API requires `20261012124943_developer_api_keys.sql`.
No additional environment variables are needed. The standalone panel is
`/dev/api`, `/api/dev` redirects there, and the versioned read-only API is
`/api/dev/v1`. See [Developer API](developer-api.md) for permissions, rate
limits, revocation, OpenAPI and Python requests examples.
Admin-only Prometheus/Grafana setup requires `20261012085217_prometheus_metrics.sql`.
No new Vercel variables are needed: Admins generate a dedicated scrape token in
Moderation. See [Prometheus and Grafana](prometheus.md) for the copyable config,
dashboard import, credential rotation, and metric definitions.
The portable Windows Electron client and release process are described in
[Desktop client](desktop.md). Build and publish the EXE before deploying changes
to desktop download links. Public desktop releases are included in the upload;
@@ -25,6 +36,10 @@ changing a link. For the hosted site, add the same names as Production Config
variables in the MineGeo Vercel project, then redeploy. These values are public
destinations; no Discord bot token or Telegram API key is needed.
The hosted community forum is linked in the header and footer using
`shared/forum.json`. `MINEGEO_FORUM_URL` can override its public HTTPS address.
See [Community forum](forum.md) for forum ownership and starter content.
Discord accepts HTTPS links on `discord.gg`, `discord.com`, `www.discord.com`,
and `discordapp.com`. Telegram accepts `t.me` and `telegram.me`, including group
invite links. Blank, malformed, or unsupported URLs hide the corresponding