-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (29 loc) · 1.59 KB
/
Copy path.env.example
File metadata and controls
33 lines (29 loc) · 1.59 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
# Clé lecture seule (même projet que OAuth) : liste des uploads, vues, tri « trend »
# Recommandé si tu lances l’analyse chaîne.
YOUTUBE_API_KEY=
# Google Cloud / YouTube Data API (OAuth 2.0)
# https://console.cloud.google.com/apis/credentials
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Must match the authorized redirect in Google Cloud (e.g. http://localhost:3000/api/youtube/callback)
GOOGLE_REDIRECT_URI=http://localhost:3000/api/youtube/callback
# Optional: public URL in production
# NEXT_PUBLIC_APP_URL=http://localhost:3000
# Optional: where to store .data (tokens, config) — default: ./.data
# DATA_DIR=/var/lib/channel-automation
# --- Découpe auto (expérimental) : télécharge une vidéo + coupe + upload
# Réservé self-host, droits + ToS à respecter.
# ENABLE_CLIP_DOWNLOAD=true
# Active aussi « Publier le plan (auto) » dans l’UI (reconnaitre OAuth + enchaîner les Shorts)
# ENABLE_AUTO_PUBLISH=true
# Sous Windows, le PATH hérité par Next.js/IDE n’inclut parfois pas le dossier
# « Scripts ». L’app tente : PATH, where + chemins (WinGet, conda, pipx), puis
# « py -3 -m yt_dlp ». Après `winget install yt-dlp`, mets le chemin absolu ici, puis
# **redémarre** le serveur :
# YTDLP_PATH=C:\Users\toi\AppData\Local\Microsoft\WinGet\Links\yt-dlp.exe
# (Remplace par le vrai `where /f yt-dlp` ou l’onglet Fichier dans l’Explorateur.)
# YTDLP_PATH=C:\Users\toi\AppData\Local\Programs\Python\Python312\Scripts\yt-dlp.exe
# DISABLE_YTDLP_PYTHON=1
# Désactiver npx/Node comme repli (si inutile ou bloqué) :
# DISABLE_NPX_YTDLP=1
# FFMPEG_PATH=ffmpeg