############################################
# Content-Bot (Hosted) .env.example (MySQL)
############################################

# App base URL where /public is reachable.
# If you point your domain directly at the "public/" folder, use:
#   https://blog.yourdomain.com
# If you serve it under a subpath, use:
#   https://blog.yourdomain.com/content-bot/public
APP_BASE_URL=https://blog.yourdomain.com/content-bot/public

# Environment (optional, used for debug behavior)
APP_ENV=prod

############################################
# Database (MySQL only)
############################################
DB_DSN=mysql:host=localhost;dbname=your_db;charset=utf8mb4
DB_USER=your_db_user
DB_PASS=your_db_password

############################################
# OpenAI (client supplies their own key)
############################################
OPENAI_API_KEY=sk-REPLACE_ME
OPENAI_MODEL=gpt-4o-2024-08-06

# Editorial pass
EDITORIAL_PASS_ENABLED=true
EDITORIAL_MODEL=gpt-4o-2024-08-06
EDITORIAL_TEMPERATURE=0.7

# Optional: pack files for tone/brand control (leave blank if unused)
VOICE_PACK_PATH=
BRAND_PACK_PATH=

############################################
# Images (DALL·E 3 defaults)
############################################
IMAGE_MODEL=dall-e-3
IMAGE_SIZE=1024x1024
IMAGE_QUALITY=standard
IMAGE_N=1

# Optional output format if your code supports it
# IMAGE_OUTPUT_FORMAT=png

############################################
# Email
############################################
EMAIL_FROM=info@yourdomain.com
EMAIL_TO=you@yourdomain.com

# Optional SMTP (leave blank to fall back to PHP mail())
SMTP_HOST=
SMTP_PORT=587
SMTP_USER=
SMTP_PASS=

############################################
# WordPress target (REST)
############################################
WP_BASE_URL=https://yourwordpresssite.com

# Bot user credentials (Application Password recommended)
WP_USERNAME=bot
WP_APP_PASSWORD=xxxx xxxx xxxx xxxx xxxx xxxx

# Optional WordPress defaults applied on publish
WP_DEFAULT_STATUS=publish
WP_DEFAULT_CATEGORY_ID=

# Comma-separated numeric WordPress tag IDs (NOT tag names)
WP_DEFAULT_TAGS=
