Files
x-newsletter/.env.example
ksalk 53bbfeaf0e Remove dry-run feature and update email configuration
Changes:
- Remove DRY_RUN environment variable and --dry-run CLI flag
- Always send emails directly without preview mode
- Update sender email to x-news@ksalk.pl
- Remove dry run config from types, env schema, and email service

Email now successfully sends to konrad.salkowski@gmail.com from x-news@ksalk.pl

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-12 12:55:52 +00:00

51 lines
2.1 KiB
Plaintext

# =============================================================================
# APPLICATION
# =============================================================================
NODE_ENV=production
LOG_LEVEL=info # debug, info, warn, error
# =============================================================================
# RSS CONFIGURATION
# =============================================================================
# Comma-separated list of Nitter instances (will rotate on failure)
NITTER_INSTANCES=https://nitter.poast.org,https://xcancel.com,https://nitter.privacydev.net
RSS_FETCH_TIMEOUT=30000 # 30 seconds
RSS_MAX_TWEETS_PER_ACCOUNT=50
# =============================================================================
# OPENROUTER AI
# =============================================================================
OPENROUTER_API_KEY=sk-or-v1-your-key-here
OPENROUTER_MODEL=anthropic/claude-3-sonnet-20240229
# Alternative models: openai/gpt-4-turbo, anthropic/claude-3-opus, google/gemini-pro
OPENROUTER_MAX_TOKENS=2000
OPENROUTER_SITE_URL=https://your-newsletter.com
OPENROUTER_SITE_NAME=Tech Newsletter
# =============================================================================
# BREVO SMTP
# =============================================================================
BREVO_SMTP_HOST=smtp-relay.brevo.com
BREVO_SMTP_PORT=587
BREVO_SMTP_USER=9faa1f001@smtp-brevo.com
BREVO_SMTP_KEY=your-brevo-smtp-api-key
EMAIL_FROM_ADDRESS=x-news@ksalk.pl
EMAIL_FROM_NAME=Daily Tech Digest
# Comma-separated recipient list
EMAIL_RECIPIENTS=you@example.com
# =============================================================================
# SCHEDULER
# =============================================================================
# Cron expression: minute hour day month weekday
# Default: Every day at 7:00 AM
CRON_SCHEDULE=0 7 * * *
CRON_TIMEZONE=Europe/Warsaw
# =============================================================================
# FEATURE FLAGS
# =============================================================================
ENABLE_AI_SUMMARIES=true
INCLUDE_RETWEETS=false
INCLUDE_REPLIES=false