-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
37 lines (31 loc) · 1.79 KB
/
Copy path.env.example
File metadata and controls
37 lines (31 loc) · 1.79 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
# Resend Email Service (required for newsletter)
# Get these from https://resend.com
RESEND_API_KEY=re_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Email sender (must be verified domain in Resend)
RESEND_FROM_EMAIL=lowkey <hello@your-domain.com>
# Site URL (used for email logo and unsubscribe links)
NEXT_PUBLIC_SITE_URL=https://your-domain.com
# DataFast analytics (https://datafa.st) — script only loads when WEBSITE_ID is set
# Find the Website ID + domain in your DataFast dashboard.
# Custom goals fired by the app (auto-created in DataFast on first sighting):
# video_open (source: grid|direct_link), video_play, video_complete,
# video_watch_time (bucket: <5|5-15|15-30|30-60|60-180|180+),
# newsletter_signup (location: hero|request_company), outbound_visit,
# outbound_post, company_page_view, arrow_navigation, intro_completed,
# partner_cta_click
NEXT_PUBLIC_DATAFAST_WEBSITE_ID=
NEXT_PUBLIC_DATAFAST_DOMAIN=your-domain.com
# Redis (powers /api/watch — watch-time counters for the "Popular" sort)
# Easiest: Vercel dashboard → Storage → Upstash (Redis). It auto-injects these
# into all environments — no copy-paste. The route also accepts the legacy
# KV_REST_API_URL / KV_REST_API_TOKEN names the Vercel integration may inject.
# Or create a free DB at https://console.upstash.com and paste the REST creds.
# Without these the endpoint silently no-ops, so the rest of the app is unaffected.
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=
# Mux (required for `npm run ingest` / `npm run publish` video pipeline)
# Get these from https://dashboard.mux.com/settings/access-tokens (Mux Video: Read + Write)
MUX_TOKEN_ID=your_mux_token_id
MUX_TOKEN_SECRET=your_mux_token_secret
# Optional: cookies file for downloading login-gated x.com videos with yt-dlp
# TWITTER_COOKIES_FILE=/absolute/path/to/cookies.txt