Skip to content

Repository files navigation

AutoBlogging Pro

A free WordPress plugin that drafts SEO-structured articles with the AI provider of your choice and saves them as drafts for a human to review before publishing.

CI  GPL-2.0-or-later · WordPress 5.8+ · PHP 7.4+


Read this first

This plugin can hurt your search rankings if you use it badly. That is not boilerplate; it is the most important thing in this README.

Search engines do not penalise AI writing as such. They penalise unreviewed, unhelpful content published at scale to manipulate rankings. A plugin that publishes 500 unread articles builds exactly that. The same plugin used to draft 20 articles that a person then fact-checks, corrects and improves is an ordinary productivity tool.

The difference is entirely in what you do between generation and publication. That is why draft-first, spend ceilings and a review queue are the defaults, and why the publishing step requires a deliberate human click.

What it does

Draft by default post_status is a setting, not a constant. Nothing goes public on its own.
Review queue Flags short articles, unverified statistics, invented prices, model boilerplate, missing headings, missing images, missing links.
Spend ceilings Per day, per month, per lifetime, plus an estimated monthly cap — checked before any paid call.
Real blocks Articles are built from core Gutenberg blocks: headings, lists, tables, callouts, pull quotes, FAQ accordions, images. Not one slab of HTML.
Images Pexels (free, real photographs) or Stability AI (generated), as the featured image and inside the article.
Topic clusters One seed becomes a de-duplicated topic list.
SEO Meta description and JSON-LD including FAQPage schema. Defers to Rank Math, Yoast, SEOPress, AIOSEO, Slim SEO.
Automation WP-CLI, REST API, and WordPress Abilities API (so MCP clients can drive it).

Providers

You bring your own keys and pay the provider directly. No account, no licence key, no site limit.

Provider Role Rough cost per ~1,500-word article
DeepSeek Text — cheapest for volume ~$0.002–0.01
Anthropic Claude Text — best draft quality ~$0.01–0.12 depending on model
Any OpenAI-compatible endpoint Text — OpenRouter, Groq, Together, local varies
Pexels Images — real photographs free
Stability AI Images — generated illustrations ~$0.03 each

Costs are estimates from an internal price table whose only job is to drive the spend ceiling. They are not a bill. Check your provider's dashboard for real figures.

Install

Download the ZIP from Releases, then Plugins → Add New → Upload Plugin → Activate.

Or clone straight into your plugins directory:

git clone https://github.com/OWNER/autoblogging-pro.git wp-content/plugins/deepseek-autoblogger-pro

Then:

  1. Auto-Blogger → pick a provider, paste a key, Test connection.
  2. Enter a seed subject, generate topics, read the list, save.
  3. Generate one article and read all of it. Do not skip this step — if the output is not good enough to publish under your own name, no schedule will fix that.
  4. Only then set a schedule.

On activation nothing is scheduled and nothing publishes itself.

WP-CLI

wp autoblog status
wp autoblog topics generate "espresso at home" --count=60
wp autoblog generate --count=3
wp autoblog generate --topic="Choosing a grinder" --dry-run
wp autoblog queue
wp autoblog approve 412 413
wp autoblog schedule daily

REST API

Namespace autoblogging-pro/v1. Every route needs authentication and manage_options; application passwords work.

curl -u "user:xxxx xxxx xxxx xxxx" \
  -X POST https://example.com/wp-json/autoblogging-pro/v1/generate \
  -H "Content-Type: application/json" \
  -d '{"topic": "How to descale an espresso machine"}'

GET /status · GET|POST /settings · POST /generate · GET|POST /topics · GET /queue · POST /approve/<id> · GET /logs

MCP

WordPress 6.9 introduced the Abilities API, and the official WordPress MCP Adapter exposes registered abilities as MCP tools. This plugin registers five on wp_abilities_api_init:

Ability Spends money
autoblogging-pro/get-status no
autoblogging-pro/list-review-queue no
autoblogging-pro/generate-draft yes
autoblogging-pro/generate-topics yes
autoblogging-pro/approve-draft no

Writing and publishing are separate abilities on purpose, so an agent cannot publish something nobody read. On WordPress older than 6.9 the registration is skipped and everything else still works.

Development

bash build-zip.sh          # build the installable ZIP into dist/
php tests/test-blocks.php  # run one suite

See CONTRIBUTING.md — including an honest account of what the test suites do and do not prove.

Status

The plugin is lint-clean on PHP 7.4–8.3 and covered by five test suites that execute its real code. It has not yet been run on a live WordPress installation with a real database, and no live API call has been made to any provider. Install it on a staging site first.

Licence

GPL-2.0-or-later. See LICENSE.