-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathenv.example
More file actions
79 lines (65 loc) · 3.28 KB
/
env.example
File metadata and controls
79 lines (65 loc) · 3.28 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# OpenRouter API Key (for chat models and image generation)
# Get your API key from: https://openrouter.ai/settings/keys
OPENROUTER_API_KEY=your_openrouter_api_key_here
# OpenAI API Key (for Whisper voice input)
# Get your API key from: https://platform.openai.com/api-keys
OPENAI_API_KEY=your_openai_api_key_here
# Tavily API Key (for web search)
# Get your API key from: https://tavily.com/
TAVILY_API_KEY=your_tavily_api_key_here
# Appwrite Configuration
# Get these from your Appwrite project settings
NEXT_PUBLIC_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
NEXT_PUBLIC_APPWRITE_PROJECT_ID=your_project_id_here
NEXT_PUBLIC_APPWRITE_DATABASE_ID=your_database_id_here
NEXT_PUBLIC_APPWRITE_THREADS_COLLECTION_ID=threads
NEXT_PUBLIC_APPWRITE_MESSAGES_COLLECTION_ID=messages
NEXT_PUBLIC_APPWRITE_MESSAGE_SUMMARIES_COLLECTION_ID=message_summaries
NEXT_PUBLIC_APPWRITE_PROJECTS_COLLECTION_ID=projects
NEXT_PUBLIC_APPWRITE_GLOBAL_MEMORY_COLLECTION_ID=global_memory
# Authentication URLs - Update with your domain in production
NEXT_PUBLIC_AUTH_SUCCESS_URL=http://localhost:3000/auth/callback
NEXT_PUBLIC_AUTH_FAILURE_URL=http://localhost:3000/auth/error
NEXT_PUBLIC_VERIFICATION_URL=http://localhost:3000/auth/verify
NEXT_PUBLIC_PASSWORD_RESET_URL=http://localhost:3000/auth/reset-password
# Admin Configuration (for tier system management)
# Server-side Appwrite API key with admin permissions
APPWRITE_API_KEY=your_appwrite_server_api_key_here
# Secret key for admin operations (generate a secure random string)
ADMIN_SECRET_KEY=your_secure_admin_secret_key_here
# Cloudinary Configuration (for file uploads - optional)
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_API_SECRET=your_cloudinary_api_secret
# Better Stack / Logtail Configuration (for production logging - optional)
# Get your source token from: https://betterstack.com
# Only active when NODE_ENV=production
BETTER_STACK_SOURCE_TOKEN=your_better_stack_source_token_here
BETTER_STACK_INGESTING_URL=your_better_stack_ingesting_url_here
# DODO Payments Configuration (for subscription management - optional)
# Get your API key from: https://dodopayments.com
DODO_PAYMENTS_API_KEY=your_dodo_payments_api_key_here
DODO_PAYMENTS_WEBHOOK_SECRET=your_dodo_webhook_secret_here
DODO_PAYMENTS_ENVIRONMENT=test
NEXT_PUBLIC_DODO_PAYMENTS_ENVIRONMENT=test
DODO_PAYMENTS_TEST_PRODUCT_ID=your_test_product_id_here
DODO_PAYMENTS_LIVE_PRODUCT_ID=your_live_product_id_here
# Runware API Key (for image generation - optional)
# Get your API key from: https://runware.ai
RUNWARE_API_KEY=your_runware_api_key_here
# Parallel AI API Key (for web search - optional)
# Get your API key from: https://parallel.ai
PARALLELS_API_KEY=your_parallels_api_key_here
# Exa API Key (for retrieval tool - optional)
# Get your API key from: https://exa.ai
EXA_API_KEY=your_exa_api_key_here
# OpenWeather API Key (for weather tool - optional)
# Get your API key from: https://openweathermap.org/api
OPENWEATHER_API_KEY=your_openweather_api_key_here
# Upstash Redis Configuration (for guest rate limiting)
# Get your credentials from: https://upstash.com
UPSTASH_REDIS_REST_URL=your_upstash_redis_url_here
UPSTASH_REDIS_REST_TOKEN=your_upstash_redis_token_here
# Development Settings
NODE_ENV=development
NEXT_PUBLIC_API_BASE_URL=http://localhost:3000