AI Post Scheduler is a WordPress plugin that automates editorial workflows with AI-generated content. It integrates with Meow Apps AI Engine to create, schedule, review, and monitor posts through a WordPress admin interface.
This project is designed for teams that want repeatable, auditable content automation inside WordPress. The plugin supports both template-driven generation and author/topic workflows, with history tracking and scheduled execution via WordPress cron.
Core goals:
- Reduce manual work in content planning and drafting.
- Keep AI generation configurable through reusable admin tools.
- Preserve visibility with logs, review flows, and system status checks.
- Template-based post generation with reusable prompt variables.
- Voice and article-structure management for consistent output.
- AI-assisted topic research and scoring.
- Flexible scheduling for automated generation workflows.
- Author and topic pipelines for persona-driven content.
- Generated-post review and component regeneration tools.
- History logging and observability for AI calls and lifecycle events.
- Admin notifications and system-status tooling.
Runtime dependencies:
- WordPress.
- Meow Apps AI Engine plugin (required for generation).
Development dependencies:
- Composer.
- PHPUnit.
- Docker (recommended for local development).
- PHP 8.2+
- WordPress 5.8+
- MySQL/MariaDB
The plugin code lives in ai-post-scheduler/.
ai-post-scheduler/
├── ai-post-scheduler.php # Plugin bootstrap
├── includes/ # Core PHP classes (controllers, services, repositories)
├── templates/ # Admin templates
├── assets/ # Admin CSS/JS
├── tests/ # PHPUnit tests
└── readme.txt # WordPress plugin readme
Requires Bash — run from Git Bash, WSL2, or a Mac/Linux terminal.
./start-dev.shThis provisions WordPress, database services, plugin activation, and debugging support.
Local URLs:
- WordPress: http://localhost:8080
- Admin: http://localhost:8080/wp-admin (admin/admin)
- phpMyAdmin: http://localhost:8082
See docs/DEV.md for full setup details and docs/DEV_HANDBOOK.md for a quick-reference card.
# Start services
make up
# Follow logs
make logs
# Open a shell in the app container
make shell
# Stop services
make down- See ai-post-scheduler/readme.txt for plugin installation details.
- PHPUnit is maintained around the Docker-backed WordPress test environment. See docs/DEV.md for the supported workflow.
- Start the Docker environment.
- Press
F5in VS Code. - Select
Listen for Xdebug (Docker).
Run test commands from ai-post-scheduler/:
cd ai-post-scheduler
# Full test suite
composer test
# Verbose output
composer test:verbose
# Coverage
composer test:coverage
# Single test file
vendor/bin/phpunit tests/test-template-processor.phpCanonical Docker-backed workflow:
bash scripts/run-wp-tests-docker.sh
bash scripts/run-wp-tests-docker.sh coverageFor agent-session PHPUnit bootstrap behavior and troubleshooting, see TESTING.md.
The project includes performance benchmarking to detect regressions:
cd ai-post-scheduler
# Run performance benchmark
php bin/benchmark.php --wp-core-dir=/tmp/wordpress
# Run with baseline comparison
php bin/benchmark.php \
--wp-core-dir=/tmp/wordpress \
--baseline-file=../.github/performance-baseline.json \
--fail-on-regressionPerformance benchmarks run automatically in CI on pull requests and fail PRs when thresholds are exceeded. See docs/PERFORMANCE.md for details.
- docs/FEATURES.MD — complete feature reference
- docs/DEV.md — developer setup and environment guide
- docs/DEV_HANDBOOK.md — quick-reference cheat sheet
- docs/HOOKS.md —
aips_*action/filter reference - docs/MIGRATIONS.md
- docs/SETUP.md
- docs/PERFORMANCE.md — performance benchmarking and CI integration
- docs/DEVELOPMENT_GUIDELINES.md — coding and architectural guidelines
- ai-post-scheduler/CHANGELOG.md
- Create a branch.
- Make focused changes.
- Run tests.
- Open a pull request.
GPLv2 or later.