Spaces:
Sleeping

Rthur2003 commited on
Commit
5763c36
·
1 Parent(s): a6c4ac1

chore: update .env.example with placeholder values for sensitive credentials

Browse files
Files changed (1) hide show
  1. .env.example +8 -7
.env.example CHANGED
@@ -4,7 +4,7 @@
4
  # =============================================
5
  # CORS Configuration
6
  # =============================================
7
- CROWNCODE_CORS_ORIGINS=http://localhost:3000,https://crowncode.netlify.app,https://hasanarthuraltuntas.xyz
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=d30afd0a023c442baf8493481f3522f7
19
 
20
  # =============================================
21
  # YouTube OAuth (for AI Music Detection page)
22
  # =============================================
23
- YOUTUBE_OAUTH_CLIENT_ID=79142257473-glb9427sbnl31ploq8tvkdb9a9k02rhh.apps.googleusercontent.com
24
- YOUTUBE_OAUTH_CLIENT_SECRET=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
25
- YOUTUBE_OAUTH_REDIRECT_URI=https://hasanarthuraltuntas.xyz/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=AIzaSyB4Cpi4MNHL3qc5M7nQub3pBnjkU9KJk1c
32
 
33
  # YouTube OAuth Token JSON - Required for posting comments
34
  # This is a JSON string containing YouTube OAuth credentials
35
- COMMEND_TOKEN_JSON={"token": "ya29.A0AS3H6NwC46OppOYeRFqP_i7p5WsbT7WE4G1NZPsBWF8YxDUiLvEivGV0i0iiXnCTQfsY-XeqqG8NsdIdepHQS4fJqpn7oC6sZnFLH-zlyFXHBqsOo7lCGklyu6jjxmn81q7NS5DB4uD9gP1t49RkOr6A-VKefZaBja27dCXp3c3r3ePtXi3eN2o3v6hv8c0MsWUqV5caCgYKAU0SARISFQHGX2MiASoTF1pRshW9jC6AEbMIVg0206", "refresh_token": "1//090ADGikJXePcCgYIARAAGAkSNwF-L9IrwGeKeO9nPfHxx_-UiHyHZ5PvJSV_c31HmGrZY8OPSjJm95CweDQqJGEsCOq-yUO2CQo", "token_uri": "https://oauth2.googleapis.com/token", "client_id": "291786366669-qfmg1mibudik5pafpbleov438rslktvh.apps.googleusercontent.com", "client_secret": "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", "scopes": ["https://www.googleapis.com/auth/youtube.force-ssl]"}
 
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