@@ -4,14 +4,22 @@ DIRECT_URL="postgresql://postgres:password@localhost:5432/inboxzero?schema=publi
4
4
NEXTAUTH_SECRET = # Generate a random secret here: https://generate-secret.vercel.app/32
5
5
NEXTAUTH_URL = http://localhost:3000
6
6
7
+ # Gmail
7
8
GOOGLE_CLIENT_ID =
8
9
GOOGLE_CLIENT_SECRET =
9
10
GOOGLE_ENCRYPT_SECRET = # openssl rand -hex 32
10
11
GOOGLE_ENCRYPT_SALT = # openssl rand -hex 16
11
12
13
+ GOOGLE_PUBSUB_TOPIC_NAME = " projects/abc/topics/xyz"
14
+ GOOGLE_PUBSUB_VERIFICATION_TOKEN = # Generate a random secret here: https://generate-secret.vercel.app/32
15
+
12
16
# LLM config
13
17
DEFAULT_LLM_PROVIDER = openai
14
- OPENAI_API_KEY =
18
+
19
+ # Set at least one of the following:
20
+ # ANTHROPIC_API_KEY=
21
+ # OPENROUTER_API_KEY=
22
+ # OPENAI_API_KEY=
15
23
# GOOGLE_API_KEY=
16
24
# GROQ_API_KEY=
17
25
# BEDROCK_ACCESS_KEY=
@@ -20,6 +28,13 @@ OPENAI_API_KEY=
20
28
# OLLAMA_BASE_URL=http://localhost:11434/api
21
29
# NEXT_PUBLIC_OLLAMA_MODEL=phi3
22
30
31
+ # Economy LLM configuration (for large context windows where cost efficiency matters)
32
+ ECONOMY_LLM_PROVIDER =
33
+ ECONOMY_LLM_MODEL =
34
+
35
+ INTERNAL_API_KEY = # Generate a random secret here: https://generate-secret.vercel.app/32
36
+ API_KEY_SALT = # Generate a random secret here: https://generate-secret.vercel.app/32
37
+
23
38
# redis config
24
39
UPSTASH_REDIS_URL = " http://localhost:8079"
25
40
UPSTASH_REDIS_TOKEN = # Generate a random secret here: https://generate-secret.vercel.app/32
@@ -28,30 +43,47 @@ QSTASH_TOKEN=
28
43
QSTASH_CURRENT_SIGNING_KEY =
29
44
QSTASH_NEXT_SIGNING_KEY =
30
45
46
+ # Optional:
47
+
48
+ NEXT_PUBLIC_APP_HOME_PATH = /automation # If you want the product to default to email client, set this to /mail
49
+ LOG_ZOD_ERRORS = true
50
+ CRON_SECRET =
51
+
52
+ # Tinybird
31
53
TINYBIRD_TOKEN =
32
54
TINYBIRD_BASE_URL = https://api.us-east.tinybird.co/
33
55
TINYBIRD_ENCRYPT_SECRET = # openssl rand -hex 32
34
56
TINYBIRD_ENCRYPT_SALT = # openssl rand -hex 16
35
- # Set this to true if you haven't set `TINYBIRD_TOKEN`.
36
- # Some of the app's featues will be disabled when this is set.
37
- # Generate a random secret here: https://generate-secret.vercel.app/32
38
- API_KEY_SALT =
39
-
40
- LOOPS_API_SECRET =
41
-
42
- GOOGLE_PUBSUB_TOPIC_NAME = " projects/abc/topics/xyz"
43
- GOOGLE_PUBSUB_VERIFICATION_TOKEN = # Generate a random secret here: https://generate-secret.vercel.app/32
44
57
58
+ # Sentry (error tracking)
45
59
SENTRY_AUTH_TOKEN =
46
60
SENTRY_ORGANIZATION =
47
61
SENTRY_PROJECT =
48
62
NEXT_PUBLIC_SENTRY_DSN =
49
63
64
+ # Axiom (logging)
50
65
NEXT_PUBLIC_AXIOM_DATASET =
51
66
NEXT_PUBLIC_AXIOM_TOKEN =
52
67
53
- LOG_ZOD_ERRORS = true
68
+ # PostHog (analytics)
69
+ NEXT_PUBLIC_POSTHOG_KEY =
70
+ NEXT_PUBLIC_POSTHOG_HERO_AB =
71
+ NEXT_PUBLIC_POSTHOG_ONBOARDING_SURVEY_ID =
72
+ POSTHOG_API_SECRET =
73
+ POSTHOG_PROJECT_ID =
74
+
75
+ # Marketing emails
76
+ RESEND_API_KEY =
77
+ LOOPS_API_SECRET =
78
+
79
+ # Crisp support chat
80
+ NEXT_PUBLIC_CRISP_WEBSITE_ID =
81
+
82
+ # Sanity config for blog
83
+ NEXT_PUBLIC_SANITY_PROJECT_ID =
84
+ NEXT_PUBLIC_SANITY_DATASET = " production"
54
85
86
+ # Payments
55
87
LEMON_SQUEEZY_SIGNING_SECRET =
56
88
LEMON_SQUEEZY_API_KEY =
57
89
@@ -75,26 +107,3 @@ NEXT_PUBLIC_LIFETIME_PAYMENT_LINK=#
75
107
NEXT_PUBLIC_LIFETIME_VARIANT_ID = 123
76
108
NEXT_PUBLIC_LIFETIME_EXTRA_SEATS_PAYMENT_LINK = #
77
109
NEXT_PUBLIC_LIFETIME_EXTRA_SEATS_VARIANT_ID = 123
78
-
79
- NEXT_PUBLIC_POSTHOG_KEY =
80
- NEXT_PUBLIC_POSTHOG_HERO_AB =
81
- NEXT_PUBLIC_POSTHOG_ONBOARDING_SURVEY_ID =
82
- POSTHOG_API_SECRET =
83
- POSTHOG_PROJECT_ID =
84
-
85
- RESEND_API_KEY =
86
- CRON_SECRET =
87
-
88
- NEXT_PUBLIC_CRISP_WEBSITE_ID =
89
-
90
- ADMINS =
91
-
92
- NEXT_PUBLIC_SANITY_PROJECT_ID =
93
- NEXT_PUBLIC_SANITY_DATASET = " production"
94
-
95
- # SANITY_STUDIO_PROJECT_ID=
96
- # SANITY_STUDIO_DATASET=production
97
- # SANITY_STUDIO_HOST=
98
-
99
- # If you want the product to default to email client, set this to /mail
100
- NEXT_PUBLIC_APP_HOME_PATH = /automation
0 commit comments