# clip-watcher v1.7.0 — example environment file
# ------------------------------------------------------------------
# Copy this file to `.env` and fill in YOUR OWN values:
#   Windows:  copy .env.example .env
#   Mac:      cp .env.example .env
# NEVER share your real .env file. Everything below is a placeholder.
# ------------------------------------------------------------------

# --- Login (REQUIRED) ---------------------------------------------
# The server has NO default password. Without CLIPWATCHER_PASSWORD,
# login returns 503 and nothing works. Pick a strong password with
# letters and numbers (avoid & | < > ^ on Windows).
CLIPWATCHER_USER=admin
CLIPWATCHER_PASSWORD=choose-a-strong-password-here

# --- Gemini AI moment picking (optional, recommended) --------------
# Better "why this clip" moment picking. Without a key the server
# falls back to the transcript scorer. Get one free at Google AI
# Studio (aistudio.google.com) under your Leonida Clips project.
# GOOGLE_API_KEY works as a fallback name for the same key.
GEMINI_API_KEY=your-gemini-api-key-here
GOOGLE_API_KEY=

# --- Razorpay (used by the website checkout, NOT read by this server)
# Get the test/live key pair from your Razorpay dashboard
# (Settings > API Keys). The secret is never shown in chat.
RAZORPAY_KEY_ID=your-razorpay-key-id-here
RAZORPAY_KEY_SECRET=your-razorpay-key-secret-here

# --- Supabase (used by the website auth/database, NOT read by this server)
# Project "leonida-clips" in the Supabase dashboard (Settings > API):
# project URL + anon key. The DB password is set when the project
# was created; the service_role key is server-only, never in chat.
SUPABASE_URL=https://your-project-ref.supabase.co
SUPABASE_ANON_KEY=your-supabase-anon-key-here
SUPABASE_DB_PASSWORD=your-supabase-db-password-here

# --- SendGrid (used for the website's emails, NOT read by this server)
# SendGrid dashboard > Settings > API Keys. SMTP key is the separate
# "Mail Send only" key used for Supabase custom SMTP.
SENDGRID_API_KEY=your-sendgrid-api-key-here
SENDGRID_SMTP_API_KEY=your-sendgrid-smtp-key-here

# --- Twitch (OPTIONAL) --------------------------------------------
# The Autopilot Scout works WITHOUT these (yt-dlp search + streamlink
# probes + anonymous Twitch chat). They are only needed for the Twitch
# Helix "top GTA 6 streams" directory listing. Create them at
# dev.twitch.tv/console (register an app named "Leonida Clips").
TWITCH_CLIENT_ID=ca0f86dmtsjg4yru6s4xajj063hv8d
TWITCH_CLIENT_SECRET=your-twitch-client-secret-here

# --- YouTube Data API (OPTIONAL, for future use) -------------------
# The server does not read YouTube live chat yet, so this key is not
# used by v1.7.0. Kept here for the next step (live-chat hype for
# YouTube streams). Create it in Google Cloud Console, project
# "Leonida Clips", by enabling YouTube Data API v3.
YOUTUBE_API_KEY=your-youtube-api-key-here
