-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
45 lines (34 loc) · 1.82 KB
/
.env.example
File metadata and controls
45 lines (34 loc) · 1.82 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
# 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=
# --- Quick LLM (GET prompt / reverse-prompt API) ---
# Pick the provider in one line. Keys for other providers can stay in the file; only the selected one is used.
# GITREVERSE_QUICK_LLM=auto
# auto — first key wins: Grok → OpenRouter → OpenAI → Google (same as leaving this unset)
# grok | openrouter | openai | google — require that provider’s API key only
# XAI_API_KEY=
# XAI_MODEL=grok-3 # or e.g. grok-4.20-0309-non-reasoning
OPENROUTER_API_KEY=
# OPENROUTER_MODEL=google/gemini-2.5-pro
# OPENAI_API_KEY=
# OPENAI_MODEL=gpt-4.1 # or e.g. gpt-5.5
# 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
# 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=
# --- Custom reverse (optional) ---
# Backend base URL for Custom reverse (local or your own deployment).
# CUSTOM_REVERSE_SERVICE_URL=http://localhost:3001
# --- Stripe checkout (optional: “Get Unlimited” on rate limit) ---
# Server-side Checkout Session — success URL is set in code (?session_id={CHECKOUT_SESSION_ID}).
# STRIPE_SECRET_KEY=sk_live_... # or sk_test_... for test mode
# STRIPE_PRICE_ID=price_1TQj8FIBG5KwEK8atVJ49Oq9 # GitReverse $9/mo (or your price id)
# Fallback if /api/create-checkout fails (optional):
# NEXT_PUBLIC_STRIPE_PAYMENT_LINK=https://buy.stripe.com/...