Automated WordPress Blog Posting Tool with AI Integration
Project description
๐ AUTO-blogger - AI-Powered WordPress Automation Tool
Copyright ยฉ 2025 AryanVBW
๐ Website: https://aryanvbw.github.io/AUTO-blogger/website/
๐ง Contact: AryanVBW@gmail.com
Transform your WordPress content strategy with intelligent automation!
AUTO-blogger is a professional-grade WordPress automation tool that combines the power of AI content generation, Getty Images integration, and comprehensive SEO optimization to revolutionize your blogging workflow.
๐ฏ What Makes AUTO-blogger Special?
- ๐ค Dual AI Integration: Harness both OpenAI GPT and Google Gemini for superior content quality
- ๐ธ Professional Imagery: Getty Images editorial collection with proper licensing
- ๐ SEO Mastery: Advanced optimization with Yoast and AIOSEO plugin compatibility
- ๐ Zero-Maintenance Updates: Self-updating system ensures you're always current
- ๐ Multi-Domain Management: Handle multiple WordPress sites from one interface
- ๐ Real-Time Monitoring: Comprehensive progress tracking and detailed logging
A comprehensive GUI application for automating WordPress blog posting with AI-powered content generation, SEO optimization, and automatic updates.
โจ Key Features
๐ค AI-Powered Content Generation
- Automatic article scraping from source websites
- Gemini AI integration for content rewriting and paraphrasing
- SEO-optimized title and meta description generation
- Focus Keyphrase and Additional Keyphrases extraction for SEO
- Smart internal and external link injection
- Enhanced WordPress SEO compatibility with Yoast and AIOSEO plugins
๐ผ๏ธ Advanced Image Generation
- OpenAI DALL-E integration for AI-generated images
- Featured image generation with customizable prompts
- Content image insertion for enhanced article visuals
- Custom prompt support for personalized image styles
- Configurable image settings (size, style, model)
- Getty Images editorial content integration
- Professional sports photography enhancement
๐ Auto-Update System
- Automatic repository cloning and updates
- Self-updating launcher that checks for new versions
- One-command installation with dependency management
- Cross-platform compatibility (Windows, macOS, Linux)
- Zero-maintenance updates - always runs the latest version
๐ Real-Time Progress Tracking
- Step-by-step progress visualization
- Detailed logging with color-coded messages
- Performance metrics and timing information
- Task completion status tracking
๐ Secure Authentication
- WordPress REST API integration
- Secure credential storage
- Connection testing and validation
- Multi-site support with domain-specific configurations
โ๏ธ Advanced Configuration
- Customizable source URLs and selectors
- Configurable link injection rules
- Category and tag management
- Processing timeout settings
- Domain-specific configuration profiles
๐ Comprehensive Logging
- Real-time log display with filtering
- Export logs to file
- Error tracking and debugging
- Performance monitoring
- Session-based log management
๐ Project Structure
AUTO-blogger/
โโโ ๐ configs/ # Configuration files for different domains
โโโ ๐ docs/ # Documentation and implementation guides
โ โโโ fixes/ # Fix documentation
โ โโโ installation/ # Installation guides
โโโ ๐ logs/ # Session-based log files
โโโ ๐ scripts/ # Utility and maintenance scripts
โ โโโ installation/ # Installation scripts
โ โโโ launchers/ # Launch scripts
โ โโโ fixes/ # Fix and maintenance scripts
โโโ ๐ tests/ # Test files and debugging scripts
โ โโโ unit/ # Unit tests
โ โโโ integration/ # Integration tests
โโโ ๐ autoblog_launcher.py # Auto-update launcher with progress dialog
โโโ ๐ automation_engine.py # Core automation logic
โโโ ๐ gui_blogger.py # Main GUI application
โโโ ๐ launch_blogger.py # Application launcher
โโโ ๐ log_manager.py # Advanced logging system
โโโ ๐ง install.sh # Main installation script
โโโ ๐ autoblog # System launcher script
โโโ ๐ requirements.txt # Python dependencies
โโโ ๐ blog_config.json # Main configuration file (auto-created)
โโโ ๐ posted_links.json # Duplicate prevention (auto-created)
โโโ ๐ README.md # This file
๐ Installation
One-Command Installation (Recommended)
For macOS and Linux:
curl -sSL https://raw.githubusercontent.com/AryanVBW/AUTO-blogger/main/install.sh | bash
For Windows (PowerShell as Administrator):
Invoke-WebRequest -Uri https://raw.githubusercontent.com/AryanVBW/AUTO-blogger/main/install.sh -OutFile install.sh; bash install.sh
Local Installation (if you have the repository):
# Clone and install
git clone https://github.com/AryanVBW/AUTO-blogger.git
cd AUTO-blogger
bash install.sh
What the installer does:
- โ Detects your operating system automatically
- โ Installs Git, Python 3.8+, and Chrome/Chromium
- โ Clones the repository with auto-update capability
- โ Creates a virtual environment with all dependencies
- โ
Sets up system-wide launcher (
autoblogcommand) - โ Creates desktop shortcuts
- โ Tests the installation
- โ Handles existing installations with update/reinstall options
- โ Supports non-interactive mode for automation and CI/CD
Launch AUTO-blogger
After installation, start AUTO-blogger using any of these methods:
# System-wide command (if available)
autoblog
# From installation directory
./autoblog
# Desktop shortcut (double-click)
# AUTO-blogger icon on desktop
Prerequisites (Auto-installed)
- Python 3.8 or higher
- Git (for auto-updates)
- Chrome/Chromium browser (for web scraping)
- WordPress site with REST API enabled
- Gemini API key
- OpenAI API key (optional, for image generation)
Manual Installation (Advanced Users)
-
Clone the repository
git clone https://github.com/AryanVBW/AUTO-blogger.git cd AUTO-blogger
-
Create virtual environment
python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies
pip install -r requirements.txt
-
Launch the application
python autoblog_launcher.py
๐ Usage
1. Launch the Application
autoblog # System-wide command
# OR
./autoblog # From installation directory
The application will automatically check for updates before launching.
2. Configure Authentication
- Go to the ๐ Authentication tab
- Enter your WordPress site URL (e.g.,
https://yoursite.com/wp-json/wp/v2) - Enter your WordPress username and password
- Enter your Gemini API key
- NEW: Enter your OpenAI API key for image generation
- Click Test Connection to verify
- Click Login & Save to store credentials
3. Configure OpenAI Image Generation (Optional)
- Go to the ๐ผ๏ธ OpenAI Images tab
- Configure image settings (size, style, model)
- Set prompt prefix and suffix for consistent styling
- Add custom prompts for specific image styles
- Test example prompts for different image types
- Save configuration
4. Configure Automation Settings
- Go to the ๐ค Automation tab
- Set the maximum number of articles to process
- Select Featured Images option: None, OpenAI DALL-E, or Getty Editorial
- Select Content Images option: None, OpenAI Generated, or Getty Editorial
- Enable "Use Custom Prompt" to use your custom image prompts
- Verify the source URL for article scraping
- Click โถ๏ธ Start Automation
5. Monitor Progress
- Watch real-time progress in the step tracker
- View detailed logs in the ๐ Logs tab
- Monitor completion status and performance metrics
6. Advanced Configuration
- Go to the โ๏ธ Configuration tab
- Customize source URLs and CSS selectors
- Configure internal and external link rules
- Adjust processing timeouts and settings
Configuration Options
Source Configuration
- Source URL: The website to scrape articles from
- Article Selector: CSS selector for finding article links
- Timeout: Maximum time to wait for page loads
WordPress Configuration
- Site URL: Your WordPress REST API endpoint
- Username: WordPress username with posting permissions
- Password: WordPress application password
- Gemini API Key: Google Gemini AI API key
Link Configuration
- Internal Links: JSON configuration for internal site links
- External Links: JSON configuration for external reference links
Process Flow
The automation follows this step-by-step process:
- Fetch Article Links - Scrape source website for new articles
- Extract Content - Use Selenium to extract article title and content
- AI Paraphrasing - Use Gemini AI to rewrite and optimize content
- Inject Internal Links - Add relevant internal site links
- Inject External Links - Add authoritative external references
- Add Content Images - Generate and insert AI images or Getty editorial images within article content
- Generate SEO Metadata - Create optimized titles and descriptions
- Extract Keyphrases - Generate focus keyphrase and additional keyphrases for SEO
- Process Featured Images - Generate or source featured images using OpenAI DALL-E or Getty Images
- Detect Categories - Automatically categorize content
- Generate Tags - Extract and create relevant tags
- Create WordPress Post - Publish as draft to WordPress with all media attached
- Finalize - Complete processing and update status
๐ Auto-Update System
AUTO-blogger features a sophisticated auto-update system:
- Automatic Updates: Every launch checks for new versions
- Progress Dialog: Visual feedback during update process
- Zero Downtime: Updates happen before application launch
- Rollback Safety: Git-based updates with version tracking
- Cross-Platform: Works on Windows, macOS, and Linux
How Auto-Updates Work
- Launch Detection:
autoblog_launcher.pychecks GitHub for updates - Update Check: Compares local and remote commit hashes
- Download: Pulls latest changes via Git
- Progress Display: Shows update progress with tkinter dialog
- Launch: Starts the updated application automatically
๐ง Troubleshooting
Installation Issues
1. Permission Errors
- Run installation with appropriate permissions
- On Linux/macOS: Use
sudoif needed for system-wide installation - On Windows: Run PowerShell as Administrator
2. Git Not Found
- The installer will automatically install Git
- Manual install: https://git-scm.com/downloads
3. Python Version Issues
- Requires Python 3.8 or higher
- The installer will install compatible Python version
- Check version:
python3 --version
Runtime Issues
1. Import Errors
- Ensure virtual environment is activated
- Run
autoblogcommand instead of direct Python execution - Reinstall dependencies:
pip install -r requirements.txt
2. Selenium Issues
- Chrome/Chromium browser required (auto-installed)
- ChromeDriver automatically managed by webdriver-manager
- Check firewall/antivirus blocking WebDriver
3. WordPress Connection Issues
- Verify REST API is enabled on your WordPress site
- Use application passwords, not regular passwords
- Check URL format:
https://yoursite.com/wp-json/wp/v2 - Test connection in Authentication tab
4. API Issues
- Gemini API: Verify key is correct and billing is set up
- OpenAI API: Check quotas and usage limits
- Rate Limits: Application handles rate limiting automatically
5. Auto-Update Issues
- Ensure Git is installed and accessible
- Check internet connection
- Verify GitHub repository access
- Manual update:
git pull origin main
Error Logs
Check the ๐ Logs tab for detailed error messages and debugging information. Logs are saved in the logs/ directory.
Security Notes
- Credentials are stored locally in
blog_config.json - Use WordPress application passwords instead of regular passwords
- Keep your Gemini API key secure and don't share configuration files
- The application creates draft posts for review before publishing
๐ Support
For issues and support:
- Check Logs: Review the ๐ Logs tab for detailed error messages
- Test Components: Verify WordPress connection and API keys in respective tabs
- Update Check: Ensure you're running the latest version (auto-updates on launch)
- Documentation: Check the
docs/folder for detailed guides - GitHub Issues: Report bugs at GitHub Issues
- Email Support: AryanVBW@gmail.com
๐ Benefits
For Content Creators
- Time Saving: Automate entire blog posting workflow
- SEO Optimized: Built-in SEO best practices and keyphrase extraction
- Professional Quality: AI-generated images and content
- Multi-Site Support: Manage multiple WordPress sites
For Developers
- Always Updated: Auto-update system ensures latest features
- Cross-Platform: Works on Windows, macOS, and Linux
- Extensible: Modular design for easy customization
- Well-Documented: Comprehensive documentation and guides
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
- GUI Framework: Python tkinter for cross-platform interface
- Web Scraping: Selenium WebDriver with automatic driver management
- AI Integration: Google Gemini AI and OpenAI DALL-E
- WordPress API: REST API for seamless publishing
- HTML Parsing: BeautifulSoup4 for content extraction
- Image Processing: Pillow (PIL) for image manipulation
- Auto-Updates: Git-based version control and updates
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file auto_blogger-1.0.0.tar.gz.
File metadata
- Download URL: auto_blogger-1.0.0.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a447bf694b75d61103d71c4a7593c63101cbfac042d2ded933405523d95270d
|
|
| MD5 |
b63afd4649fc785a51cf93c9e73066ed
|
|
| BLAKE2b-256 |
766fcba452db29afd84a724bcf2c5068bfd4b67f4d4354d9a7cbfc38e0ef992d
|
File details
Details for the file auto_blogger-1.0.0-py3-none-any.whl.
File metadata
- Download URL: auto_blogger-1.0.0-py3-none-any.whl
- Upload date:
- Size: 111.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2800a2bcb0582b43fbd6e1a5cb80850b0938f4c162d742258915ae3e3987f8c8
|
|
| MD5 |
e39eb373bfbb1a2f0556fc73ef757039
|
|
| BLAKE2b-256 |
009286da396672acf25f204b4defdc5c5dc87985aea590007276305fa22bdd86
|