youtube-summarizer/.env.example

40 lines
861 B
Plaintext

# YouTube Summarizer Configuration
# Server Configuration
APP_HOST=0.0.0.0
APP_PORT=8082
DEBUG=False
# YouTube API (optional but recommended for metadata)
YOUTUBE_API_KEY=your_youtube_api_key_here
# AI Service Configuration (choose one or multiple)
# OpenAI
OPENAI_API_KEY=your_openai_api_key_here
OPENAI_MODEL=gpt-4o-mini
# Anthropic Claude
ANTHROPIC_API_KEY=your_anthropic_api_key_here
ANTHROPIC_MODEL=claude-3-haiku-20240307
# DeepSeek (cost-effective option)
DEEPSEEK_API_KEY=your_deepseek_api_key_here
DEEPSEEK_MODEL=deepseek-chat
# Database
DATABASE_URL=sqlite:///./data/youtube_summarizer.db
# Session Configuration
SECRET_KEY=your-secret-key-here-change-in-production
# Rate Limiting
RATE_LIMIT_PER_MINUTE=30
MAX_VIDEO_LENGTH_MINUTES=180
# Cache Configuration
ENABLE_CACHE=True
CACHE_TTL_HOURS=24
# Logging
LOG_LEVEL=INFO
LOG_FILE=logs/app.log