forked from LibreChat-AI/librechat.ai
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.template
More file actions
50 lines (43 loc) · 1.8 KB
/
.env.template
File metadata and controls
50 lines (43 loc) · 1.8 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
# Docs feedback (GitHub Discussions + Discord)
# GitHub personal access token with discussions:write scope (optional)
GITHUB_FEEDBACK_TOKEN=
# GitHub repository node ID — run: gh api graphql -f query='{repository(owner:"LibreChat-AI",name:"librechat.ai"){id}}'
GITHUB_DISCUSSION_REPO_ID=
# GitHub discussion category node ID — run: gh api graphql -f query='{repository(owner:"LibreChat-AI",name:"librechat.ai"){discussionCategory(slug:"feedback"){id}}}'
GITHUB_DISCUSSION_CATEGORY_ID=
# Discord webhook URL for real-time feedback notifications (optional)
DISCORD_FEEDBACK_WEBHOOK=
# Analytics and feedback
# Slack webhook URL for notifications (optional)
SLACK_WEBHOOK_URL=
# Loops API key for email automation (optional)
LOOPS_API_KEY=
# PostHog analytics host URL (optional, public)
NEXT_PUBLIC_POSTHOG_HOST=
# PostHog project API key (optional, public)
NEXT_PUBLIC_POSTHOG_KEY=
# Crisp live chat widget ID (optional, public)
NEXT_PUBLIC_CRISP_WEBSITE_ID=
# QA chatbot powered by OpenAI + Supabase
# OpenAI API key for the QA chatbot (optional)
OPENAI_API_KEY=
# Supabase project URL (optional)
SUPABASE_URL=
# Supabase service role key for server-side access (optional, secret)
SUPABASE_SERVICE_ROLE_KEY=
# Docs AI chat (OpenRouter)
# OpenRouter API key — get one at https://openrouter.ai/keys (optional)
OPENROUTER_API_KEY=
# OpenRouter model ID (default: openai/gpt-5.4-nano)
OPENROUTER_MODEL=
# Upstash Redis — rate limiting for AI chat (optional)
# Create a free database at https://console.upstash.com
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=
# Langfuse observability keys (optional)
NEXT_PUBLIC_LANGFUSE_PUBLIC_KEY=
LANGFUSE_PUBLIC_KEY=
LANGFUSE_SECRET_KEY=
# Newsletter subscribers database
# MongoDB connection string for storing subscriber data (required for /api/subscribe and /api/unsubscribe)
MONGODB_URI=