winx_prinx-api / local_worker /.env.example
Sasha
feat: prepare transition to decoupled hosting (Render + Netlify + Supabase)
d9a03db
Raw
History Blame Contribute Delete
1.12 kB
# Cloud Backend API Settings
# Local development: http://localhost:3000
# Production: https://your-render-app.onrender.com
API_URL=http://localhost:3000
# Security Key. Must match the API_KEY set in your server's .env file!
API_KEY=a_long_secure_token_for_local_worker_to_server_sync_98765
# Target Twitch Channel (whose chat to log, and stream audio to transcribe)
TWITCH_CHANNEL=winx_prinx
# Audio Capture Method:
# 'stream' - Capture audio directly from the live Twitch stream using streamlink + ffmpeg (no mic setup required, runs on any PC).
# 'microphone' - Capture direct microphone/system audio using your PC's audio input device.
CAPTURE_METHOD=stream
# Whisper Model Settings
# Available models: tiny, base, small, medium, large-v3
# 'base' is recommended for CPU, 'small' is recommended for GPU
WHISPER_MODEL=base
# Device to run Whisper on: 'cpu' or 'cuda' (for Nvidia GPUs)
# Note: For GTX 1650, you can use 'cuda' with 'float16' or 'int8' compute type.
WHISPER_DEVICE=cpu
# Compute type: 'float16' (GPU only), 'int8' (CPU/GPU, recommended for memory saving), or 'float32'
WHISPER_COMPUTE_TYPE=int8