-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
66 lines (46 loc) · 2.5 KB
/
.env.example
File metadata and controls
66 lines (46 loc) · 2.5 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
# ============================================================
# Plot Twists — Environment Variables
# ============================================================
# Copy this file to .env.local and fill in your values.
# Variables marked (required) are needed for the app to start.
# Variables marked (optional) enable specific features.
# ── Core (required) ─────────────────────────────────────────
# Anthropic API key for script generation
# Get it from: https://console.anthropic.com/
ANTHROPIC_API_KEY=your_anthropic_api_key_here
PORT=3000
NODE_ENV=development
# ── WebSocket / Deployment ──────────────────────────────────
# Railway backend URL for WebSocket connections (without https://)
NEXT_PUBLIC_WS_URL=your-app.up.railway.app
# Additional allowed CORS origins (comma-separated, optional)
ALLOWED_ORIGINS=
# ── Firebase (optional — needed for auth, user profiles, Firestore) ──
NEXT_PUBLIC_FIREBASE_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
NEXT_PUBLIC_FIREBASE_PROJECT_ID=
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=
# Service account JSON (base64 or raw) for Firebase Admin SDK
FIREBASE_SERVICE_ACCOUNT_KEY=
# Firebase Storage bucket for generated poster images
FIREBASE_STORAGE_BUCKET=your-project.appspot.com
# ── Twilio (optional — needed for phone auth) ──────────────
TWILIO_ACCOUNT_SID=
TWILIO_AUTH_TOKEN=
TWILIO_VERIFY_SERVICE_SID=
# ── Stripe (optional — needed for credit purchases) ────────
# Get keys from: https://dashboard.stripe.com/apikeys
STRIPE_SECRET_KEY=sk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_...
# ── AI Image Generation (optional) ─────────────────────────
# Google Gemini API key for AI movie poster generation
# Get it from: https://aistudio.google.com/apikey
GEMINI_API_KEY=your_gemini_api_key_here
# ── Push Notifications (optional) ──────────────────────────
NEXT_PUBLIC_FIREBASE_VAPID_KEY=
# ── Logging ─────────────────────────────────────────────────
# Log level: debug | info | warn | error (default: info in production, debug in dev)
LOG_LEVEL=