-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
72 lines (64 loc) · 4.13 KB
/
.env.example
File metadata and controls
72 lines (64 loc) · 4.13 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# =============================================================================
# GitMarkdown - Environment Variables
# =============================================================================
# Copy this file to .env.local and fill in your values:
# cp .env.example .env.local
#
# See docs/SETUP.md for step-by-step instructions on where to find each value.
# =============================================================================
# -----------------------------------------------------------------------------
# FIREBASE CLIENT SDK
# Where to find: Firebase Console > Project Settings > General > Your apps > Web app
# If you haven't registered a web app yet, click "Add app" > Web (</>)
# -----------------------------------------------------------------------------
NEXT_PUBLIC_FIREBASE_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN= # e.g. your-project.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID= # e.g. your-project
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET= # e.g. your-project.firebasestorage.app
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=
# Realtime Database URL
# Where to find: Firebase Console > Realtime Database > Copy the URL at the top
# Format: https://your-project-default-rtdb.firebaseio.com
# NOTE: You must create a Realtime Database first (Build > Realtime Database > Create Database)
NEXT_PUBLIC_FIREBASE_DATABASE_URL=
# -----------------------------------------------------------------------------
# FIREBASE ADMIN SDK (server-side only, never exposed to browser)
# Where to find: Firebase Console > Project Settings > Service Accounts
# Click "Generate new private key" to download a JSON file, then copy values from it
# -----------------------------------------------------------------------------
FIREBASE_ADMIN_PROJECT_ID= # "project_id" from the JSON file
FIREBASE_ADMIN_CLIENT_EMAIL= # "client_email" from the JSON file
FIREBASE_ADMIN_PRIVATE_KEY= # "private_key" from the JSON file (include the -----BEGIN/END----- lines)
# -----------------------------------------------------------------------------
# GITHUB APP
# Where to find: https://github.com/settings/apps > Your GitHub App
# Callback URL: https://<YOUR_PROJECT>.firebaseapp.com/__/auth/handler
# IMPORTANT: Also enter Client ID and Client Secret in Firebase Console > Auth > Sign-in method > GitHub
# -----------------------------------------------------------------------------
GITHUB_CLIENT_ID= # Client ID from your GitHub App settings
GITHUB_CLIENT_SECRET= # Client secret generated in your GitHub App settings
NEXT_PUBLIC_GITHUB_APP_SLUG= # Your GitHub App slug (e.g. gitmarkdownapp)
# -----------------------------------------------------------------------------
# SECURITY
# Optional: dedicated encryption key for GitHub tokens stored in Firestore.
# If not set, the Firebase Admin private key is used as a fallback.
# Generate with: openssl rand -hex 32
# -----------------------------------------------------------------------------
GITHUB_TOKEN_ENCRYPTION_KEY=
# -----------------------------------------------------------------------------
# AI PROVIDER KEYS (at least one is required for AI features)
# -----------------------------------------------------------------------------
ANTHROPIC_API_KEY= # https://console.anthropic.com/settings/keys
OPENAI_API_KEY= # https://platform.openai.com/api-keys
# -----------------------------------------------------------------------------
# APP CONFIGURATION
# -----------------------------------------------------------------------------
NEXT_PUBLIC_APP_URL=http://localhost:3000 # Change to your production URL when deploying
NEXT_PUBLIC_DEFAULT_AI_PROVIDER=anthropic # "anthropic" or "openai"
NEXT_PUBLIC_DEFAULT_AI_MODEL=claude-sonnet-4-20250514
# -----------------------------------------------------------------------------
# WAVESPEED AI (for promo video music generation)
# Where to find: https://wavespeed.ai/accesskey
# -----------------------------------------------------------------------------
WAVESPEED_API_KEY=