返回 CodeWhale
.env.example
根目录 / web / .env.example
1 # Required for the /api/cron routes (DeepSeek summarization + community agent).
2 DEEPSEEK_API_KEY=sk-your-deepseek-key
3
4 # Optional — raises GitHub API rate limit from 60 to 5000 req/h.
5 # Use a fine-grained PAT scoped to public repos only.
6 GITHUB_TOKEN=
7
8 # Override which repo to mirror. Defaults to Hmbown/CodeWhale.
9 GITHUB_REPO=Hmbown/CodeWhale
10
11 # Optional — required to manually invoke /api/cron
12 # (cloudflare cron triggers don't need this; they set cf-cron).
13 CRON_SECRET=
14
15 # Optional — defaults to deepseek-v4-flash.
16 DEEPSEEK_MODEL=deepseek-v4-flash
17 DEEPSEEK_BASE_URL=https://api.deepseek.com
18
19 # Admin panel auth. Set to a random secret; access /admin?token=<this-value>.
20 MAINTAINER_TOKEN=
21
22 # GitHub PAT for posting comments via /admin. Needs issues:write scope.
23 MAINTAINER_GITHUB_PAT=
24
25 # Set to 1 once the Gitee mirror at gitee.com/Hmbown/...
26 # exists. Until then leave blank to hide Gitee links.
27 NEXT_PUBLIC_GITEE_ENABLED=
28
28 lines Plain Text