Skip to content

nummi-ai/ghostwriter-wp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Ghostwriter-WP πŸš€

Automate Blog Creation & Publishing with AI

Ghostwriter-WP is an AI-powered WordPress automation bot that generates and publishes blog posts effortlessly. Powered by GPT-4o-mini (configurable to any model), this script streamlines content creation, making blogging faster and easier.

🌟 Features

  • βœ… Generate multiple articles at once from a list of topics
  • βœ… Automatically publish to WordPress
  • βœ… Configurable AI model for content generation
  • βœ… Open-source & community-driven

πŸ› οΈ Setup & Installation

1️⃣ Install Dependencies

Ensure you have Python installed, then install the required packages:

pip install openai requests python-dotenv

2️⃣ Configure Environment Variables

Create a .env file and add your credentials:

OPENAI_API_KEY=your_openai_api_key
WORDPRESS_URL=https://yourwebsite.com
WORDPRESS_USERNAME=your_wp_username
WORDPRESS_PASSWORD=your_wp_password

3️⃣ Run the Script

Execute the bot with:

python ai_wordpress_bot.py

πŸš€ Usage

  1. Enter topics (comma-separated)
    Enter topics (comma-separated): AI trends, Future of Robotics, HealthTech Advancements
    
  2. The script will:
    • Generate an article for each topic πŸ“
    • Publish them directly to WordPress πŸš€

⚑ Example Output

[βœ”] Generating article for: AI Trends
[βœ”] Publishing to WordPress...
[βœ”] Successfully posted: "The Future of AI Trends in 2025"

🎨 Customization

  • Modify the AI model in ai_wordpress_bot.py
  • Adjust the formatting, categories, or tags before publishing
  • Add SEO enhancements for better ranking

🀝 Contributing

Feel free to fork, improve, and submit PRs. Let’s build the ultimate AI blogging tool together! πŸ’‘

πŸ“œ License

MIT License – Free to use and modify.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages