Repository navigation
Expand file tree
/
Copy path.env.template
More file actions
62 lines (54 loc) · 2.48 KB
/
Copy path.env.template
File metadata and controls
62 lines (54 loc) · 2.48 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
# 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=
# Core Web Vitals ingestion config (optional, public)
NEXT_PUBLIC_CWV_PROJECT_ID=64ddab45-756f-474b-a8c9-266d264c93d8
NEXT_PUBLIC_CWV_ENDPOINT=
NEXT_PUBLIC_CWV_SAMPLE_RATE=0.5
# Reo.dev client ID for developer-intent analytics (public).
# Defaults to LibreChat's supplied ID; override it here when testing another
# Reo.dev property. Reo loads only after performance analytics consent.
NEXT_PUBLIC_REO_CLIENT_ID=38b2e79cdb32fa7
# 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=
# Model used for automatic docs translation (default: openai/gpt-5.4-nano)
OPENROUTER_TRANSLATE_MODEL=
# Web Bot Auth (required in production for the public JWKS and signed agent requests)
# Generate an Ed25519 private JWK with: pnpm web-bot-auth:keygen
WEB_BOT_AUTH_PRIVATE_JWK=
# HTTPS origin that serves /.well-known/http-message-signatures-directory
WEB_BOT_AUTH_AGENT_ORIGIN=https://www.librechat.ai
# 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=