馃 distributed transcription service
thistle.dunkirk.sh
1# Whisper Service URL
2# URL of the faster-whisper transcription server
3# See README for setup instructions
4WHISPER_SERVICE_URL=http://localhost:8000
5
6# LLM API Configuration (REQUIRED for VTT cleaning)
7# Configure your LLM service endpoint and credentials
8LLM_API_KEY=your_api_key_here
9LLM_API_BASE_URL=https://openrouter.ai/api/v1
10LLM_MODEL=anthropic/claude-3.5-sonnet
11
12# WebAuthn/Passkey Configuration (Production Only)
13# In development, these default to localhost values
14# Only needed when deploying to production
15
16# Relying Party ID - your domain name
17# Must match the domain where your app is hosted
18# RP_ID=thistle.app
19
20# Origin - full URL of your app (RECOMMENDED - used for email links)
21# Must match exactly where users access your app
22# In production, set this to your public URL
23ORIGIN=http://localhost:3000
24
25# Polar.sh Payment Configuration (REQUIRED)
26# Get your organization ID from https://polar.sh/settings
27POLAR_ORGANIZATION_ID=your_org_id_here
28# Get your access token from https://polar.sh/settings (or sandbox.polar.sh for testing)
29POLAR_ACCESS_TOKEN=polar_at_xxxxxxxxxxxxx
30# Get product ID from your Polar dashboard (create a product first)
31POLAR_PRODUCT_ID=prod_xxxxxxxxxxxxx
32# Redirect URL after successful checkout (use {CHECKOUT_ID} placeholder)
33POLAR_SUCCESS_URL=http://localhost:3000/checkout?checkout_id={CHECKOUT_ID}
34# Webhook secret for verifying Polar webhook signatures (get from Polar dashboard)
35POLAR_WEBHOOK_SECRET=whsec_xxxxxxxxxxxxx
36
37# Email Configuration (REQUIRED - MailChannels)
38# API key from MailChannels dashboard
39MAILCHANNELS_API_KEY=your_mailchannels_api_key_here
40# DKIM private key for email authentication (required for sending emails)
41# Generate: openssl genrsa -out dkim-private.pem 2048
42# Then add TXT record: mailchannels._domainkey.yourdomain.com
43DKIM_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nYOUR_PRIVATE_KEY_HERE\n-----END PRIVATE KEY-----"
44DKIM_DOMAIN=thistle.app
45SMTP_FROM_EMAIL=noreply@thistle.app
46SMTP_FROM_NAME=Thistle
47
48# Environment (set to 'production' in production)
49NODE_ENV=development