Files
waggle-os/apps/web/.env.example

20 lines
1.1 KiB
Plaintext

# apps/web environment variables
# Copy to .env.local and fill in the real values.
# NEVER commit .env.local — it is gitignored.
# PostHog product analytics, opt-in only (docs/oss/adr/0006-opt-in-analytics.md).
# Leave unset for builds from source: without a key nothing is sent and the
# consent dialog never appears. Release builds get the key from the build
# environment; Vite reads it at build time, so it cannot be added afterwards.
# VITE_POSTHOG_KEY=
# PR7b Auth — Clerk publishable key. Public-safe by
# design (ships in the client bundle); the SECRET key is server-side only and is NOT
# used by the desktop SPA (the local sidecar authorizes with its device token, not a
# Clerk JWT). Absent → /auth degrades to the accountless local-first state (honest).
# Like VITE_POSTHOG_KEY, this is baked into the Tauri bundle at compile time.
# Leave BLANK/commented here: the key is shape-validated (isPublishableKey), so a
# non-empty placeholder would be rejected anyway — but shipping it blank guarantees a
# verbatim copy degrades to the honest accountless state, never a crash.
# VITE_CLERK_PUBLISHABLE_KEY=