-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
24 lines (21 loc) · 919 Bytes
/
Copy path.env.example
File metadata and controls
24 lines (21 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# NVIDIA API (powers /api/ai/generate and /api/ai/fix)
NVIDIA_API_KEY=
# Optional model override (defaults to openai/gpt-oss-120b)
NVIDIA_MODEL=
# Upstash Redis (per-IP AI rate limiting). When the Upstash for Redis
# Marketplace integration is installed, Vercel auto-injects KV_REST_API_URL
# and KV_REST_API_TOKEN — the limiter accepts either naming.
# When unset, rate limiting is disabled and a warning is logged.
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=
KV_REST_API_URL=
KV_REST_API_TOKEN=
# Cloudflare D1 (powers /api/share — JSON snapshot sharing).
# Create the API token at https://dash.cloudflare.com/profile/api-tokens
# with scope: Account → D1 → Edit (scoped to your account).
CLOUDFLARE_ACCOUNT_ID=
CLOUDFLARE_D1_DATABASE_ID=
CLOUDFLARE_D1_API_TOKEN=
# Random secret that authenticates Vercel Cron requests to
# /api/cron/cleanup-shares. Generate with: openssl rand -hex 32
CRON_SECRET=