-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (36 loc) · 2.06 KB
/
Copy path.env.example
File metadata and controls
40 lines (36 loc) · 2.06 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
# Copy to .env.local and fill in. All keys are server-side only (no NEXT_PUBLIC_ prefix)
# except NEXT_PUBLIC_SITE_URL. Every key is OPTIONAL — the builder, preview, linter,
# code mode and export all work with no configuration at all. The keys below enable
# the two features that need a server: test-email sending and the AI assistant.
# --- Test email sending (/api/send-test) — ARCHITECTURE.md §8 ---
# Set up either SMTP (Nodemailer) or Resend. SMTP is used first if SMTP_HOST is set.
# Leave all of these blank to disable the "Send test" feature.
SMTP_HOST=
SMTP_PORT=
SMTP_USER=
SMTP_PASSWORD=
RESEND_API_KEY=
# Optional; required for Resend custom domains, or to set a custom sender name/email for SMTP.
TEST_FROM_ADDRESS=
# --- AI assistant (/api/ai-chat) — ARCHITECTURE.md §16 ---
# Configure Grok / Groq and/or DeepSeek keys. User can toggle between providers in the AI chat panel.
# Grok: Either a Groq key (gsk_…, free tier: https://console.groq.com) or an xAI Grok key (xai-…, https://console.x.ai).
# Leave blank to disable the AI features (chat assistant, Magic Edit, Inbox Studio).
GROK_API_KEY=
# Optional model override for Grok/Groq.
# Defaults: Groq → meta-llama/llama-4-scout-17b-16e-instruct, xAI → grok-4-fast-non-reasoning
GROK_MODEL=
# DeepSeek: DeepSeek key (sk-…, https://platform.deepseek.com).
DEEPSEEK_API_KEY=
# Optional DeepSeek model override. Defaults to deepseek-chat.
# Use a NON-REASONING model here. Reasoning models (e.g. deepseek-v4-flash) spend
# their whole output budget on chain-of-thought and return empty content, so the
# request times out before any template edit comes back.
DEEPSEEK_MODEL=
# --- SEO / canonical URLs ---
# IMPORTANT for SEO: in production this MUST be your real deployed URL, or the
# sitemap, robots.txt, canonical links and Open Graph tags will all point at
# localhost and Google will ignore them. Set it in your host's env vars
# (e.g. Vercel → Project → Settings → Environment Variables), NOT just here.
# Example: https://kettlemail.vercel.app (no trailing slash)
NEXT_PUBLIC_SITE_URL=http://localhost:3000