-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
57 lines (44 loc) · 2.34 KB
/
.env.example
File metadata and controls
57 lines (44 loc) · 2.34 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
# Update these with your Supabase details from your project settings > API
# https://app.supabase.com/project/_/settings/api
# ==========================================
# SUPABASE CONFIGURATION
# ==========================================
# IMPORTANT: Use the EXACT key names below in Cloudflare Pages Environment Variables
# The URL should be like: https://xxxxx.supabase.co
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
# This is your "anon" or "public" key (starts with "eyJhbGci...")
# Find it in: Supabase Dashboard > Project Settings > API > "anon public"
# NOTE: You can use NEXT_PUBLIC_SUPABASE_ANON_KEY or NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY (they're the same)
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
# This is your "service_role" key (starts with "eyJhbGci...")
# Find it in: Supabase Dashboard > Project Settings > API > "service_role"
# WARNING: Keep this SECRET - never expose to client - only use server-side
SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
# ==========================================
# CLOUDFLARE R2 (Video Storage)
# ==========================================
# Your Cloudflare Account ID (found in R2 dashboard URL)
R2_VIDEOS_ACCOUNT_ID=your-account-id
# R2 API Token credentials (create in Cloudflare Dashboard > R2 > Manage R2 API Tokens)
R2_VIDEOS_ACCESS_KEY_ID=your-access-key-id
R2_VIDEOS_SECRET_ACCESS_KEY=your-secret-access-key
# Name of your R2 bucket (create one in Cloudflare R2 dashboard)
R2_VIDEOS_BUCKET_NAME=your-bucket-name
# Public URL for your R2 bucket (optional - auto-generated if not provided)
# Format: https://your-bucket-name.your-account-id.r2.dev
# Or use custom domain if configured
R2_PUBLIC_URL=https://your-bucket-name.your-account-id.r2.dev
# ==========================================
# GROQ AI (Transcription & Analysis)
# ==========================================
# Get your free API key from: https://console.groq.com/keys
# Used for:
# - Video transcription (Whisper Large V3)
# - AI analysis of student metrics (Llama 3.3 70B)
GROQ_API_KEY=gsk_your-groq-api-key-here
# ==========================================
# SITE CONFIGURATION (Optional)
# ==========================================
# Your production domain (used for SEO and redirects)
# Example: https://learning-analytics.pages.dev
NEXT_PUBLIC_SITE_URL=https://yourdomain.pages.dev