# Whisper Service URL # URL of the faster-whisper transcription server # See README for setup instructions WHISPER_SERVICE_URL=http://localhost:8000 # LLM API Configuration (REQUIRED for VTT cleaning) # Configure your LLM service endpoint and credentials LLM_API_KEY=paste_your_api_key_here LLM_API_BASE_URL=https://openrouter.ai/api/v1 LLM_MODEL=moonshotai/kimi-k2-0905 # WebAuthn/Passkey Configuration (Production Only) # In development, these default to localhost values # Only needed when deploying to production # Relying Party ID - your domain name # Must match the domain where your app is hosted # RP_ID=thistle.app # Origin - full URL of your app (RECOMMENDED - used for email links) # Must match exactly where users access your app # In production, set this to your public URL ORIGIN=http://localhost:3000 # Polar.sh Payment Configuration (REQUIRED) # Get your organization ID from https://polar.sh/settings POLAR_ORGANIZATION_ID=paste_your_org_id_here # Get your access token from https://polar.sh/settings (or sandbox.polar.sh for testing) POLAR_ACCESS_TOKEN=paste_your_polar_token_here # Get product ID from your Polar dashboard (create a product first) POLAR_PRODUCT_ID=paste_your_product_id_here # Redirect URL after successful checkout (use {CHECKOUT_ID} placeholder) POLAR_SUCCESS_URL=http://localhost:3000/checkout?checkout_id={CHECKOUT_ID} # Webhook secret for verifying Polar webhook signatures (get from Polar dashboard) POLAR_WEBHOOK_SECRET=paste_your_webhook_secret_here # Email Configuration (REQUIRED - MailChannels) # API key from MailChannels dashboard MAILCHANNELS_API_KEY=paste_your_mailchannels_api_key_here # DKIM private key for email authentication (required for sending emails) # Generate: openssl genrsa -out dkim-private.pem 2048 # Then add TXT record: mailchannels._domainkey.yourdomain.com DKIM_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nPASTE_YOUR_DKIM_PRIVATE_KEY_HERE\n-----END PRIVATE KEY-----" DKIM_DOMAIN=yourdomain.com SMTP_FROM_EMAIL=noreply@yourdomain.com SMTP_FROM_NAME=Thistle # Environment (set to 'production' in production) NODE_ENV=development