Repository navigation
Expand file tree
/
Copy path.env.local.example
More file actions
41 lines (35 loc) · 1.7 KB
/
Copy path.env.local.example
File metadata and controls
41 lines (35 loc) · 1.7 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
# ---- Supabase (required) ----
# Project URL and anon key from your Supabase project's API settings.
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
# ---- Ingest worker (required for uploads to be processed) ----
# Service-role key (Supabase > Project Settings > API > service_role). Used
# ONLY on the server by the ingest worker (lib/supabase/admin.ts), which
# bypasses RLS. Never expose it to the browser: no NEXT_PUBLIC_ prefix.
SUPABASE_SERVICE_ROLE_KEY=
# Shared secret protecting /api/ingest/tick (sent as "Authorization: Bearer
# <CRON_SECRET>"). Vercel Cron sends it automatically when it is set in the
# project. Generate one with: openssl rand -hex 32
CRON_SECRET=
# ---- Groq (required) ----
# Chat, RAG answers, all study-material generation, and audio/video
# transcription. Free tier: https://console.groq.com
GROQ_API_KEY=
# ---- Google AI (recommended) ----
# Embeddings (gemini-embedding-001, 768d) and reading images/diagrams/
# handwriting (gemini-2.5-flash). Free tier:
# https://aistudio.google.com/apikey
GEMINI_API_KEY=
# ---- Voyage AI (optional) ----
# Fallback embedding provider, used only when GEMINI_API_KEY is unset.
VOYAGE_API_KEY=
# ---- Site URL (optional) ----
# Base URL used for auth email redirects. Defaults to http://localhost:3000.
# Set this to your deployed origin in production.
NEXT_PUBLIC_SITE_URL=
# ---- Google sign-in (optional, recommended) ----
# Web OAuth client ID for Google Identity Services. Makes Google's consent
# screen show this site's domain instead of <ref>.supabase.co. The same ID
# must be listed under Supabase > Authentication > Providers > Google >
# Client IDs. Without it, sign-in falls back to the Supabase redirect flow.
NEXT_PUBLIC_GOOGLE_CLIENT_ID=