-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathenv.example
More file actions
32 lines (25 loc) · 1.29 KB
/
env.example
File metadata and controls
32 lines (25 loc) · 1.29 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
# Environment Variables Configuration
# Copy this to .env for local development
# ========================================
# FRONTEND (React + Vite)
# ========================================
# For local development, this points to your local Motia backend
# For production, leave empty to use relative URLs (e.g., https://git-history.com)
# The frontend will make API calls to this URL
VITE_API_BASE=http://localhost:3001
# ========================================
# VERCEL PROXY (Serverless Function)
# Set this ONLY in Vercel Dashboard → Settings → Environment Variables
# ========================================
# This is the actual Motia backend URL that Vercel's proxy forwards to
# Keep this PRIVATE - never expose in Chrome extension or frontend
# Production: https://your-project-id.hub.motia.cloud
MOTIA_BACKEND_URL=https://your-project-id.hub.motia.cloud
# ========================================
# MOTIA BACKEND
# Set this when deploying to Motia Cloud with: npx motia cloud deploy --env-file env.production
# ========================================
# GitHub Personal Access Token (for backend to call GitHub API)
# Get from: https://github.com/settings/tokens (scope: public_repo)
# Without: 60 req/hour ⚠️ | With: 5,000 req/hour ✅
GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx