78 lines
2.0 KiB
Bash
78 lines
2.0 KiB
Bash
# WordPress Application Password (generate in WordPress admin)
|
|
# Go to: Users → Profile → Application Passwords
|
|
WP_APP_PASSWORD=xxxx xxxx xxxx xxxx xxxx xxxx
|
|
|
|
# LLM provider (claude or deepseek)
|
|
LLM_PROVIDER=claude
|
|
|
|
# Claude API Key (from Anthropic Console)
|
|
# Get it from: https://console.anthropic.com/
|
|
CLAUDE_API_KEY=sk-ant-api03-...
|
|
|
|
# DeepSeek API Key (from DeepSeek Platform)
|
|
# Get it from: https://platform.deepseek.com/
|
|
DEEPSEEK_API_KEY=sk-...
|
|
|
|
# DeepSeek API Base URL
|
|
# Default: https://api.deepseek.com
|
|
DEEPSEEK_BASE_URL=https://api.deepseek.com
|
|
|
|
# Dry-run mode (skip WordPress draft creation/publishing)
|
|
DRY_RUN=false
|
|
|
|
# Ideas generation (Reddit)
|
|
IDEAS_ENABLED=true
|
|
IDEAS_INTERVAL_HOURS=24
|
|
IDEAS_SUBREDDIT=kubernetes
|
|
IDEAS_LISTING=top
|
|
IDEAS_TIME_RANGE=day
|
|
IDEAS_MAX_REDDIT_POSTS=20
|
|
IDEAS_MAX_IDEAS=5
|
|
IDEAS_STYLE_SAMPLES=3
|
|
IDEAS_MIN_SCORE=25
|
|
IDEAS_MIN_COMMENTS=5
|
|
IDEAS_STORAGE_PATH=./data/ideas
|
|
|
|
# Outreach suggestions (Reddit)
|
|
OUTREACH_ENABLED=true
|
|
OUTREACH_SUBREDDIT=kubernetes
|
|
OUTREACH_LISTING=top
|
|
OUTREACH_TIME_RANGE=day
|
|
OUTREACH_MAX_REDDIT_POSTS=20
|
|
OUTREACH_MAX_SUGGESTIONS=5
|
|
OUTREACH_MIN_SCORE=25
|
|
OUTREACH_MIN_COMMENTS=5
|
|
OUTREACH_MAX_ARTICLES=50
|
|
OUTREACH_STORAGE_PATH=./data/outreach
|
|
|
|
# Newsletter drafts (RSS + Reddit)
|
|
NEWSLETTER_ENABLED=true
|
|
NEWSLETTER_INTERVAL_HOURS=168
|
|
NEWSLETTER_FEED_URL=https://alexandre-vazquez.com/feed/
|
|
NEWSLETTER_SUBREDDIT=kubernetes
|
|
NEWSLETTER_LISTING=top
|
|
NEWSLETTER_TIME_RANGE=week
|
|
NEWSLETTER_MAX_FEED_ITEMS=5
|
|
NEWSLETTER_MAX_REDDIT_POSTS=10
|
|
NEWSLETTER_MIN_SCORE=10
|
|
NEWSLETTER_MIN_COMMENTS=2
|
|
NEWSLETTER_STORAGE_PATH=./data/newsletters
|
|
|
|
# Optimization frequency (hours between optimizations)
|
|
# Default: 2.5 hours (~10 posts/day, ~€8/month budget)
|
|
OPTIMIZATION_INTERVAL_HOURS=2.5
|
|
|
|
# Logging level (INFO or DEBUG)
|
|
# INFO: Standard operational logs
|
|
# DEBUG: Detailed logs including API requests/responses
|
|
LOG_LEVEL=INFO
|
|
|
|
# API server port
|
|
# Default: 8080
|
|
API_PORT=8080
|
|
|
|
# Optional: Webhook URL for notifications
|
|
# Leave empty to disable notifications
|
|
# Example: https://hooks.slack.com/services/YOUR/WEBHOOK/URL
|
|
WEBHOOK_URL=
|