-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
62 lines (52 loc) · 2.76 KB
/
Copy path.env.example
File metadata and controls
62 lines (52 loc) · 2.76 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
# ============================================================
# Database
# ============================================================
DATABASE_URL="" # Postgres Neon connection string
# ============================================================
# Better Auth
# ============================================================
BETTER_AUTH_URL="" # Your app's base URL
BETTER_AUTH_SECRET="" # Secret key for auth (min 32 chars recommended)
# ============================================================
# GitHub OAuth (optional)
# ============================================================
GITHUB_CLIENT_ID="" # Create OAuth app at https://github.com/settings/developers
GITHUB_CLIENT_SECRET="" # Retrieved from GitHub OAuth app settings
# ============================================================
# Google OAuth (optional)
# ============================================================
GOOGLE_CLIENT_ID="" # Create OAuth app at https://console.cloud.google.com/apis/credentials
GOOGLE_CLIENT_SECRET="" # Retrieved from Google Cloud Console
# ============================================================
# Admin
# ============================================================
ADMIN_EMAIL="" # Admin email for notifications
# ============================================================
# Resend (Email, optional)
# ============================================================
RESEND_API_KEY="" # API key from https://resend.com
RESEND_EMAIL_FROM="" # Verified sender email
# ============================================================
# PostHog Analytics (optional)
# ============================================================
NEXT_PUBLIC_POSTHOG_KEY="" # Project API key from PostHog
NEXT_PUBLIC_POSTHOG_HOST="" # PostHog host URL (e.g., https://app.posthog.com)
# ============================================================
# GitHub (for server-side API calls)
# ============================================================
GITHUB_TOKEN="" # Personal access token for GitHub API (server only)
# ============================================================
# Spotify OAuth (optional)
# ============================================================
SPOTIFY_CLIENT_ID="" # Create OAuth app at https://developer.spotify.com/dashboard
SPOTIFY_CLIENT_SECRET="" # Retrieved from Spotify app settings
SPOTIFY_REFRESH_TOKEN="" # Needed for server-side syncing without user login
SPOTIFY_REDIRECT_URI="http://127.0.0.1:3000/api/spotify/callback"
# ============================================================
# IP info service
# ============================================================
IP_INFO_TOKEN="" # Token from https://ipinfo.io
# ============================================================
# Vercel Cron
# ============================================================
CRON_SECRET="" # Secret key for cron jobs