first commit

This commit is contained in:
MrUnknownDE
2025-12-28 17:57:20 +01:00
commit 9979697acf
17 changed files with 4755 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
# Spotify API Credentials
# Get these from https://developer.spotify.com/dashboard/
SPOTIFY_CLIENT_ID=your_spotify_client_id
SPOTIFY_CLIENT_SECRET=your_spotify_client_secret
# YouTube/Google API Credentials
# Get these from https://console.cloud.google.com/
# Enable "YouTube Data API v3" and create OAuth 2.0 credentials
YOUTUBE_CLIENT_ID=your_youtube_client_id
YOUTUBE_CLIENT_SECRET=your_youtube_client_secret
# Session Secret (generate a random string)
SESSION_SECRET=your_random_session_secret_here
# Server Port
PORT=3000
# Base URL (used for OAuth callbacks)
# IMPORTANT: Spotify requires HTTPS for callbacks!
# For local development, use a tool like local-ssl-proxy or ngrok
BASE_URL=https://localhost:3000
# Cache Settings
# Path where analysis jobs are cached (relative or absolute)
CACHE_PATH=./cache
# Maximum playlist size (tracks) that can be analyzed
MAX_PLAYLIST_SIZE=50
# Rate Limiting
# Delay between YouTube API calls in milliseconds
RATE_LIMIT_DELAY_MS=2000