Spaces:
Sleeping
Sleeping
chore: update .env.example with placeholder values for sensitive credentials
Browse files- .env.example +8 -7
.env.example
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
# =============================================
|
| 5 |
# CORS Configuration
|
| 6 |
# =============================================
|
| 7 |
-
CROWNCODE_CORS_ORIGINS=http://localhost:3000,https://
|
| 8 |
|
| 9 |
# =============================================
|
| 10 |
# Logging
|
|
@@ -15,24 +15,25 @@ LOG_LEVEL=INFO
|
|
| 15 |
# Spotify API (for AI Music Detection)
|
| 16 |
# =============================================
|
| 17 |
SPOTIFY_CLIENT_ID=your-spotify-client-id
|
| 18 |
-
SPOTIFY_CLIENT_SECRET=
|
| 19 |
|
| 20 |
# =============================================
|
| 21 |
# YouTube OAuth (for AI Music Detection page)
|
| 22 |
# =============================================
|
| 23 |
-
YOUTUBE_OAUTH_CLIENT_ID=
|
| 24 |
-
YOUTUBE_OAUTH_CLIENT_SECRET=
|
| 25 |
-
YOUTUBE_OAUTH_REDIRECT_URI=https://
|
| 26 |
|
| 27 |
# =============================================
|
| 28 |
# Crown Commend (YouTube AI Comment Generator)
|
| 29 |
# =============================================
|
| 30 |
# Gemini API Key - Get from https://ai.google.dev/
|
| 31 |
-
COMMEND_GEMINI_API_KEY=
|
| 32 |
|
| 33 |
# YouTube OAuth Token JSON - Required for posting comments
|
| 34 |
# This is a JSON string containing YouTube OAuth credentials
|
| 35 |
-
|
|
|
|
| 36 |
|
| 37 |
# =============================================
|
| 38 |
# HuggingFace Spaces Specific
|
|
|
|
| 4 |
# =============================================
|
| 5 |
# CORS Configuration
|
| 6 |
# =============================================
|
| 7 |
+
CROWNCODE_CORS_ORIGINS=http://localhost:3000,https://your-domain.com
|
| 8 |
|
| 9 |
# =============================================
|
| 10 |
# Logging
|
|
|
|
| 15 |
# Spotify API (for AI Music Detection)
|
| 16 |
# =============================================
|
| 17 |
SPOTIFY_CLIENT_ID=your-spotify-client-id
|
| 18 |
+
SPOTIFY_CLIENT_SECRET=your-spotify-client-secret
|
| 19 |
|
| 20 |
# =============================================
|
| 21 |
# YouTube OAuth (for AI Music Detection page)
|
| 22 |
# =============================================
|
| 23 |
+
YOUTUBE_OAUTH_CLIENT_ID=your-youtube-oauth-client-id
|
| 24 |
+
YOUTUBE_OAUTH_CLIENT_SECRET=your-youtube-oauth-client-secret
|
| 25 |
+
YOUTUBE_OAUTH_REDIRECT_URI=https://your-domain.com/ai-music-detection
|
| 26 |
|
| 27 |
# =============================================
|
| 28 |
# Crown Commend (YouTube AI Comment Generator)
|
| 29 |
# =============================================
|
| 30 |
# Gemini API Key - Get from https://ai.google.dev/
|
| 31 |
+
COMMEND_GEMINI_API_KEY=your-gemini-api-key
|
| 32 |
|
| 33 |
# YouTube OAuth Token JSON - Required for posting comments
|
| 34 |
# This is a JSON string containing YouTube OAuth credentials
|
| 35 |
+
# Generate using generate_youtube_token.py
|
| 36 |
+
COMMEND_TOKEN_JSON={"token": "your-oauth-token", "refresh_token": "your-refresh-token", "token_uri": "https://oauth2.googleapis.com/token", "client_id": "your-client-id", "client_secret": "your-client-secret", "scopes": ["https://www.googleapis.com/auth/youtube.force-ssl"]}
|
| 37 |
|
| 38 |
# =============================================
|
| 39 |
# HuggingFace Spaces Specific
|