-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
35 lines (28 loc) · 1.39 KB
/
Copy pathenv.example
File metadata and controls
35 lines (28 loc) · 1.39 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
# ============================================================
# Codebase Time Machine — Environment Variables
# Copy this file to .env.local and fill in all values
# ============================================================
# --- Supabase (Required) ---
NEXT_PUBLIC_SUPABASE_URL=https://your-project-ref.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
# --- OpenRouter (Required — LLM + Embeddings) ---
OPENROUTER_API_KEY=your_openrouter_api_key
# --- Pinecone (Required — Vector Store) ---
PINECONE_API_KEY=your_pinecone_api_key
PINECONE_INDEX=codebase-time-machine
# --- GitHub (Required — Repo Access) ---
# Classic PAT with repo:read scope for public repos
GITHUB_TOKEN=ghp_your_github_personal_access_token
# --- Inngest (Required — Background Jobs) ---
# Get from https://app.inngest.com/settings/keys
INNGEST_EVENT_KEY=your_inngest_event_key
INNGEST_SIGNING_KEY=your_inngest_signing_key
# --- Upstash Redis (Optional — Response Caching + Rate Limiting) ---
# If not set, caching is gracefully disabled (no crash)
UPSTASH_REDIS_REST_URL=https://your-redis.upstash.io
UPSTASH_REDIS_REST_TOKEN=your_upstash_redis_token
# --- GitHub Webhooks (Required if using auto-sync) ---
# Generate with: openssl rand -hex 32
# Configure this same value in your GitHub repo Webhook settings
GITHUB_WEBHOOK_SECRET=your_webhook_secret_here