WP Manifestindependent plugin directory
manifest / ai / ai-excerpt-wp-plugin

AI Excerpt Generator

Suggests post excerpts using LLM. Users can supply their LLM API key in settings.

by Jason · github.com/jasonnchann24/ai-excerpt-wp-plugin

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/jasonnchann24/ai-excerpt-wp-plugin/archive/refs/heads/main.zip

AI Excerpt WordPress Plugin

Demo purposes only ⚠️

Overview

AI Excerpt is a WordPress plugin that automatically generates concise excerpts for your posts using AI language models. It integrates with providers like OpenAI and allows you to configure API keys and select your preferred provider from the admin settings.

Features

  • Generates post excerpts using AI
  • Currently only supports OpenAI (extendable to other providers)
  • Easy configuration via WordPress admin settings
  • REST API endpoint for programmatic excerpt generation
  • Block editor integration for seamless workflow

Usage

  1. Install and activate the plugin in your WordPress site.
  2. Go to Settings > AI Excerpt to configure your API key and provider.
  3. Use the REST API endpoint or the block editor to generate excerpts for your posts.

Requirements

  • WordPress 6.0 or higher
  • PHP 8.0 or higher
  • Valid API key for your chosen AI provider

Development Setup

  • wp-env
  • Composer

Running Tests

  • From wp-env root run wp-env run tests-cli composer test --working-dir=/var/www/html/wp-content/plugins/ai-excerpt