forked from filiksyos/gitreverse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
26 lines (19 loc) · 924 Bytes
/
Copy path.env.example
File metadata and controls
26 lines (19 loc) · 924 Bytes
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
# Copy to .env.local and fill in values. See README for provider setup.
# --- Supabase (optional: response caching is off if these are empty) ---
SUPABASE_URL=
SUPABASE_PUBLISHABLE_KEY=
# --- GitHub (optional: unauthenticated requests have lower API rate limits) ---
GITHUB_TOKEN=
# --- LLM: configure OpenRouter **or** Google AI Studio (OpenRouter is checked first) ---
OPENROUTER_API_KEY=
# OPENROUTER_MODEL=google/gemini-2.5-pro
# GOOGLE_GENERATIVE_AI_API_KEY=
# GOOGLE_AI_STUDIO_MODEL=gemini-2.5-pro
# Optional OpenRouter attribution headers (recommended for rankings)
# OPENROUTER_HTTP_REFERER=https://yoursite.example
# OPENROUTER_APP_TITLE=gitreverse
# Cache TTL for reverse-prompt results in Supabase (hours; default 24)
# CACHE_TTL_HOURS=24
# REQUIRED in production — generate with: openssl rand -hex 32 (or PowerShell random hex)
# Without this, the app will refuse to start in production.
VIEWS_IP_SALT=