JPT Logo
Jose Paulo Timbang
All projects

AI Blog Generator

Live

WordPress plugin that autonomously generates and publishes blog posts via Groq

Tech Stack

PHP 8.0+React 18WebpackGroq APIllama-3.3-70bWP REST APIWP-CronGitHub Actions

Overview

A WordPress plugin that uses the Groq API (llama-3.3-70b) to autonomously generate and publish blog posts on a schedule. The plugin admin UI is built with React 18 and Webpack and lets you configure topics, post frequency, tone, and category. WP-Cron handles scheduling, and a GitHub Actions workflow automates deployment.

Key Features

  • Autonomous blog post generation using Groq llama-3.3-70b
  • Configurable topics, post frequency, tone, and WordPress category
  • React 18 admin UI bundled with Webpack and loaded via WP REST API
  • WP-Cron scheduling for fully hands-off automated publishing
  • GitHub Actions workflow for one-command plugin deployment
  • Draft mode option to review posts before they go live

Challenge

Integrating a modern React build pipeline inside the WordPress plugin ecosystem without conflicts with the WordPress admin JS environment.

Solution

Used Webpack with a custom config to scope all React code under a unique namespace, preventing collisions with WordPress core scripts and other plugins.

Lessons Learned

WordPress plugin development and modern JS tooling can coexist cleanly if namespacing and asset enqueuing are handled deliberately from the start.

P

Paulo's AI Assistant

Online