-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (37 loc) · 2.36 KB
/
Copy path.env.example
File metadata and controls
44 lines (37 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Instagram credentials (for dj detect instagram / dj detect login-instagram)
IG_USERNAME=your_instagram_username
IG_PASSWORD=your_instagram_password
# Mixcloud credentials (for dj detect login-mixcloud)
MC_USERNAME=your_mixcloud_username
MC_PASSWORD=your_mixcloud_password
# Beatport access token (short-lived, ~1 hour)
# Get from DevTools → Application → Cookies → beatport.com → next-auth.session-token
# OR from DevTools → Network → beatport.com/api/auth/session → response JSON → token.accessToken
BEATPORT_ACCESS_TOKEN=eyJ...
# Beatport session cookie for auto-refresh (long-lived, ~32 days)
# DevTools → Application → Cookies → beatport.com → copy __Secure-next-auth.session-token value (the big ~3KB one starting with eyJ)
BEATPORT_SESSION_TOKEN=...
# Beatport Cloudflare clearance cookie. Auto-populated when
# connections/beatport.resolve_access_token() falls back to reading cookies
# from your default browser (see connections/cookies.py). Cloudflare requires
# this on /api/* requests; without it the session-cookie refresh path will 403.
# BEATPORT_CF_CLEARANCE=...
# SoundCloud OAuth (for `dj detect soundcloud <url>` — sets / single tracks)
# Register an app at https://soundcloud.com/you/apps then paste the credentials
# from your app's settings. Uses the client_credentials flow (server-to-server,
# no user login). Optional — without these, set enumeration falls back to
# yt-dlp + URL-slug-derived metadata (works but lower fidelity).
SOUNDCLOUD_CLIENT_ID=your_soundcloud_client_id
SOUNDCLOUD_CLIENT_SECRET=your_soundcloud_client_secret
# Optional — only needed for personalized /discover/ URLs (run dj detect login-soundcloud).
# Must match a Redirect URI registered in your SoundCloud app *exactly*. The
# CLI binds its one-shot OAuth callback server to the host/port from this
# value, so the path can be whatever your app config uses.
# Default if unset: http://localhost:8080/callback
# SOUNDCLOUD_REDIRECT_URI=http://localhost:3800/api/auth/connect/soundcloud/callback
# Spotify API credentials (for `dj detect gems --source spotify`)
# Create an app at https://developer.spotify.com/dashboard → copy the client ID
# + secret. Uses the client_credentials flow (server-to-server, no user login).
# Optional — gems will prompt for these interactively if unset.
SPOTIFY_CLIENT_ID=your_spotify_client_id
SPOTIFY_CLIENT_SECRET=your_spotify_client_secret