.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
SESSION_SECRET
secret
Secret used to sign session cookies (generate with: openssl rand -base64 32)
CF_OAUTH_CLIENT_ID
Cloudflare OAuth ("Sign in with Cloudflare", self-managed PKCE client) Create the client in the Cloudflare dashboard. No client secret is…
CF_OAUTH_REDIRECT_URI
TOKEN_ENC_KEY
secret
AES-GCM key (base64, 32 bytes) used to encrypt stored OAuth tokens at rest (generate with: openssl rand -base64 32). Set as a Worker secret…
CLOUDFLARE_ACCOUNT_ID
Cloudflare account ID (for wrangler deploy)
CF_ANALYTICS_TOKEN
secret
Cloudflare Analytics API token + account for LIVE cost/usage data on the dashboard. Set these as Worker secrets/vars (not committed). When…
CF_ACCOUNT_ID
CF_ACCOUNT_NAME
APP_URL
Public base URL of this deployment, used for links in alert emails.
RESEND_API_KEY
secret
Email alerts via Resend (daily digest). RESEND_API_KEY is a Worker secret.
ALERT_EMAIL_FROM
ALERT_EMAIL_TO
Fallback recipient used only when no user has configured per-user alerts.
ALERTS_REQUIRE_PAYMENT
Monetization flag. Unset/"false": every enabled user receives alerts. "true": automated alerts require a paid plan…