-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.env.example
More file actions
69 lines (54 loc) · 3.38 KB
/
.env.example
File metadata and controls
69 lines (54 loc) · 3.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# =============================================================================
# codingcat.dev — Environment Variables
# =============================================================================
# Copy this file to .env.local and fill in the values.
# See: https://nextjs.org/docs/app/building-your-application/configuring/environment-variables
# Variables prefixed with NEXT_PUBLIC_ are exposed to the browser.
# All other variables are server-only.
# =============================================================================
# -----------------------------------------------------------------------------
# Public (client-side) variables — NEXT_PUBLIC_*
# -----------------------------------------------------------------------------
# Sanity CMS — project configuration
NEXT_PUBLIC_SANITY_PROJECT_ID= # Sanity project ID (from sanity.io/manage)
NEXT_PUBLIC_SANITY_DATASET= # Sanity dataset name (e.g. "prod")
NEXT_PUBLIC_SANITY_API_VERSION= # Sanity API version date (e.g. "2024-01-01")
# Site URLs
NEXT_PUBLIC_BASE_URL= # Canonical base URL (e.g. "https://codingcat.dev")
NEXT_PUBLIC_VERCEL_URL= # Vercel preview URL (auto-set by Vercel)
# Algolia search — public keys
NEXT_PUBLIC_ALGOLIA_APP_ID= # Algolia application ID
NEXT_PUBLIC_ALGOLIA_INDEX= # Algolia index name
# Analytics
NEXT_PUBLIC_FB_PIXEL_ID= # Facebook Pixel tracking ID
# Preview mode
NEXT_PUBLIC_PREVIEW_TOKEN_SECRET= # Secret token for Sanity preview mode
# -----------------------------------------------------------------------------
# Server-only variables
# -----------------------------------------------------------------------------
# Sanity CMS — API tokens
SANITY_API_READ_TOKEN= # Sanity read token (viewer role)
SANITY_API_WRITE_TOKEN= # Sanity write token (editor role)
# Algolia search — admin keys
PRIVATE_ALGOLIA_ADMIN_API_KEY= # Algolia admin API key (server-side indexing)
PRIVATE_ALGOLIA_WEBOOK_SECRET= # Shared secret for Algolia webhook verification
# Syndication
PRIVATE_SYNDICATE_WEBOOK_SECRET= # Shared secret for syndication webhook verification
PRIVATE_DEVTO= # Dev.to API key (cross-posting)
PRIVATE_HASHNODE= # Hashnode API key (cross-posting)
# Cloudflare Turnstile (bot protection)
CLOUDFLARE_TURNSTILE_SECRET_KEY= # Turnstile server-side secret key
# Cron / scheduled jobs
CRON_SECRET= # Secret for authenticating cron job requests
# YouTube integration
YOUTUBE_API_KEY= # YouTube Data API v3 key
YOUTUBE_CHANNEL_ID= # YouTube channel ID to fetch videos from
YOUTUBE_UPLOAD_VISIBILITY= # YouTube upload privacy: "public", "private", or "unlisted" (default: "private")
# Vercel
VERCEL_PROJECT_PRODUCTION_URL= # Production URL (auto-set by Vercel)
# -----------------------------------------------------------------------------
# Supabase
# -----------------------------------------------------------------------------
NEXT_PUBLIC_SUPABASE_URL= # Supabase project URL (e.g. "https://xxx.supabase.co")
NEXT_PUBLIC_SUPABASE_ANON_KEY= # Supabase anonymous/public key
SUPABASE_SERVICE_ROLE_KEY= # Supabase service role key (server-only, bypasses RLS)