Major refactoring to create a clean, integrated CLI application: ### New Features: - Unified CLI executable (./seo) with simple command structure - All commands accept optional CSV file arguments - Auto-detection of latest files when no arguments provided - Simplified output directory structure (output/ instead of output/reports/) - Cleaner export filename format (all_posts_YYYY-MM-DD.csv) ### Commands: - export: Export all posts from WordPress sites - analyze [csv]: Analyze posts with AI (optional CSV input) - recategorize [csv]: Recategorize posts with AI - seo_check: Check SEO quality - categories: Manage categories across sites - approve [files]: Review and approve recommendations - full_pipeline: Run complete workflow - analytics, gaps, opportunities, report, status ### Changes: - Moved all scripts to scripts/ directory - Created config.yaml for configuration - Updated all scripts to use output/ directory - Deprecated old seo-cli.py in favor of new ./seo - Added AGENTS.md and CHANGELOG.md documentation - Consolidated README.md with updated usage ### Technical: - Added PyYAML dependency - Removed hardcoded configuration values - All scripts now properly integrated - Better error handling and user feedback Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
75 lines
1.6 KiB
YAML
75 lines
1.6 KiB
YAML
# Configuration file for WordPress SEO automation tool
|
|
# Contains website settings, authentication, and other configuration values
|
|
# Note: Use environment variables in .env file for sensitive data
|
|
|
|
# WordPress Sites Configuration
|
|
wordpress_sites:
|
|
mistergeek.net:
|
|
url: "https://www.mistergeek.net"
|
|
username: ""
|
|
password: ""
|
|
|
|
webscroll.fr:
|
|
url: "https://www.webscroll.fr"
|
|
username: ""
|
|
password: ""
|
|
|
|
hellogeek.net:
|
|
url: "https://www.hellogeek.net"
|
|
username: ""
|
|
password: ""
|
|
|
|
# Primary WordPress site (fallback)
|
|
primary_site:
|
|
url: "https://yoursite.com"
|
|
username: "your_username"
|
|
password: "your_application_password"
|
|
|
|
# AI Model Configuration
|
|
ai_model:
|
|
name: "anthropic/claude-3.5-sonnet"
|
|
api_endpoint: "https://openrouter.ai/api/v1/chat/completions"
|
|
api_key: ""
|
|
temperature: 0.3
|
|
max_tokens: 1500
|
|
|
|
# Script Settings
|
|
script_settings:
|
|
batch_size: 100
|
|
api_delay_seconds: 0.5
|
|
timeout: 60
|
|
|
|
# Analysis Settings
|
|
analysis_settings:
|
|
min_position: 11
|
|
max_position: 30
|
|
min_impressions: 50
|
|
top_n_posts: 20
|
|
|
|
# Output Settings
|
|
output_settings:
|
|
output_dir: "./output"
|
|
reports_dir: "./output/reports"
|
|
logs_dir: "./output/logs"
|
|
|
|
# Category Settings
|
|
category_settings:
|
|
# Default categories for each site
|
|
default_categories:
|
|
mistergeek.net:
|
|
- "VPN"
|
|
- "Software/Tools"
|
|
- "Gaming"
|
|
- "General Tech"
|
|
- "SEO"
|
|
- "Content Marketing"
|
|
webscroll.fr:
|
|
- "Torrenting"
|
|
- "File-Sharing"
|
|
- "Tracker Guides"
|
|
hellogeek.net:
|
|
- "Experimental"
|
|
- "Low-traffic"
|
|
- "Off-brand"
|
|
- "Niche Content"
|