mirror of
https://github.com/MrUnknownDE/sptify2yt.git
synced 2026-05-03 13:36:07 +02:00
first commit
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user