Rthur2003 commited on
Commit
f488c7a
·
1 Parent(s): 933ef32

Add example environment variables for CrownCode backend configuration

Browse files
Files changed (1) hide show
  1. .env.example +30 -0
.env.example ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # CrownCode Backend Environment Variables
2
+ # Copy this file to .env and fill in your values
3
+
4
+ # =============================================
5
+ # CORS Configuration
6
+ # =============================================
7
+ CROWNCODE_CORS_ORIGINS=http://localhost:3000,https://crowncode.netlify.app
8
+
9
+ # =============================================
10
+ # Logging
11
+ # =============================================
12
+ LOG_LEVEL=INFO
13
+
14
+ # =============================================
15
+ # Crown Commend (YouTube AI Comment Generator)
16
+ # =============================================
17
+ # Gemini API Key - Get from https://ai.google.dev/
18
+ COMMEND_GEMINI_API_KEY=your-gemini-api-key-here
19
+
20
+ # YouTube OAuth Token JSON - Required for posting comments
21
+ # This is a JSON string containing YouTube OAuth credentials
22
+ # Get this by running OAuth flow locally first
23
+ COMMEND_TOKEN_JSON='{"token": "...", "refresh_token": "...", "token_uri": "https://oauth2.googleapis.com/token", "client_id": "...", "client_secret": "...", "scopes": ["https://www.googleapis.com/auth/youtube.force-ssl"]}'
24
+
25
+ # =============================================
26
+ # HuggingFace Spaces Specific
27
+ # =============================================
28
+ # These are automatically set by HuggingFace Spaces
29
+ # HF_HOME=/app/.cache
30
+ # TRANSFORMERS_CACHE=/app/.cache