Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/jasonnchann24/ai-excerpt-wp-plugin/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
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
- Install and activate the plugin in your WordPress site.
- Go to Settings > AI Excerpt to configure your API key and provider.
- 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