-
-
Notifications
You must be signed in to change notification settings - Fork 127
Expand file tree
/
Copy path.env.example
More file actions
97 lines (79 loc) · 2 KB
/
.env.example
File metadata and controls
97 lines (79 loc) · 2 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# [Required]
# Deployment URL
NEXT_PUBLIC_SITE_URL="http://localhost:3000"
# [Required]
# Database URL
DATABASE_URL="postgres://postgres:postgres@localhost:5432/nelsonlaidev"
# [Required]
# Redis
UPSTASH_REDIS_REST_URL="http://localhost:8079"
UPSTASH_REDIS_REST_TOKEN="nelsonlaidev"
# [Required]
# Random string (used for hashing)
# To identify a single user when they like the post.
# We hash the IP address so we won't know the actual address.
# https://www.useapassphrase.com/
IP_ADDRESS_SALT="random-passphrase"
# [Required]
# Authentication
# https://www.better-auth.com/docs/installation#set-environment-variables
BETTER_AUTH_SECRET="super_secret_key_32_chars_minimum"
# [Optional]
# Spotify Now Playing
# https://developer.spotify.com/documentation/web-api/reference/get-the-users-currently-playing-track
SPOTIFY_CLIENT_ID=
SPOTIFY_CLIENT_SECRET=
SPOTIFY_REFRESH_TOKEN=
# [Optional]
# Dashboard page
# Google API (YouTube stats)
# https://developers.google.com/youtube/v3/getting-started
GOOGLE_API_KEY=
# Github API (Github stats)
# https://github.com/settings/tokens/new
GITHUB_TOKEN=
# WakaTime API Key (Coding hours)
# https://wakatime.com/api-key/
WAKATIME_API_KEY=
# [Optional]
# Authentication
# Google OAuth
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Github OAuth
# https://github.com/settings/applications/new
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# [Optional]
# Nelson Lai API
# https://api.nelsonlai.dev
NELSONLAI_API_KEY=
# [Optional]
# Discord Webhook
DISCORD_WEBHOOK_URL=
# [Optional]
# Resend
# https://resend.com
RESEND_API_KEY=
AUTHOR_EMAIL=
JWT_SECRET=
# [Optional]
# Cloudflare R2
# https://www.cloudflare.com/developer-platform/products/r2/
CLOUDFLARE_R2_ENDPOINT=
CLOUDFLARE_R2_ACCESS_KEY_ID=
CLOUDFLARE_R2_SECRET_ACCESS_KEY=
CLOUDFLARE_R2_BUCKET_NAME=
CLOUDFLARE_R2_PUBLIC_URL=
# [Optional]
# Analytics
# https://umami.is
NEXT_PUBLIC_UMAMI_URL=
NEXT_PUBLIC_UMAMI_WEBSITE_ID=
# [Optional]
# PostHog
# https://posthog.com
POSTHOG_ENV_ID=
POSTHOG_API_KEY=
NEXT_PUBLIC_POSTHOG_KEY=
NEXT_PUBLIC_POSTHOG_HOST=