TLDRWP
A WP plugin to allow viewers of a post click an AI button to generate a TLDR summary with your custom CTA messaging.
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/mathetos/tldrwp/releases/download/v0.9.0/tldrwp-v0.9.0.zipReadme
TLDRWP - AI-Powered Post Summaries
Automatically generate AI-powered TL;DR summaries for your WordPress posts using the WordPress AI plugin. Perfect for improving reader engagement and content accessibility.
🚀 Features
- 🤖 AI-Powered Summaries: Leverages the WordPress AI plugin to generate intelligent, contextual summaries
- ⚡ Automatic Generation: Creates TL;DR summaries automatically when posts are published or updated
- 🎨 Customizable Display: Choose where and how summaries appear on your site
- 🔌 Multiple AI Platforms: Works with any AI platform supported by the WordPress AI plugin (OpenAI, Anthropic, Google AI, etc.)
- 🔧 Clean Integration: Seamlessly integrates with your existing WordPress workflow
- ⚡ Performance Optimized: Lightweight and efficient with conditional loading
📋 Requirements
- WordPress: 6.0 or higher
- PHP: 7.4 or higher
- WordPress AI Plugin: Download here
🛠️ Installation
Method 1: WordPress Admin (Recommended)
- Go to Plugins → Add New in your WordPress admin
- Search for "TLDRWP"
- Click Install Now and then Activate
- Install and activate the WordPress AI plugin
- Configure your AI credentials in Settings → AI Credentials
- Go to Settings → Reading to configure TLDRWP options
- Test the connection and start generating summaries!
Method 2: Manual Installation
- Download the plugin ZIP file from this repository
- Upload the
tldrwpfolder to/wp-content/plugins/ - Activate the plugin through Plugins → Installed Plugins
- Follow steps 4-7 from Method 1
🔧 Configuration
Setting Up WordPress AI Plugin
- Install and activate the WordPress AI plugin
- Go to Settings → AI Credentials
- Configure your AI provider credentials (OpenAI, Anthropic, Google AI, etc.)
- The WordPress AI plugin automatically selects the best available provider and model
- Save settings
Configuring TLDRWP
- Navigate to Settings → Reading
- Scroll down to the TL;DR Settings section
- Configure your TL;DR preferences:
- Enable on specific post types
- Customize the default prompt
- Set button text and descriptions
- Configure rate limiting
- Test your AI connection
- Save settings
📖 How It Works
User Publishes Post → TLDRWP Detects New Content → WordPress AI Client Processes Content → AI Platform Generates Summary → Summary Displayed on Frontend
🎯 Use Cases
| Use Case | Description | Benefits |
|---|---|---|
| Bloggers | Improve reader engagement | Higher time-on-page, better retention |
| Content Creators | Increase content accessibility | Better user experience, wider audience |
| News Sites | Quick content overviews | Faster information consumption |
| Educational Sites | Content summaries | Better learning outcomes |
| E-commerce | Product description summaries | Improved conversion rates |
🔍 Screenshots
Admin Settings

Frontend Display

WordPress AI Plugin Integration

❓ Frequently Asked Questions
What is a TL;DR summary?
TL;DR stands for "Too Long; Didn't Read." It's a brief summary that captures the main points of a longer piece of content, helping readers quickly understand what the content is about.
Do I need the WordPress AI plugin?
Yes, TLDRWP requires the WordPress AI plugin to function. This plugin provides the AI integration capabilities that TLDRWP uses to generate summaries.
Which AI platforms are supported?
TLDRWP works with any AI platform supported by the WordPress AI plugin, including:
- OpenAI (GPT-3.5, GPT-4)
- Anthropic (Claude)
- Google AI (Gemini)
- And many others
The WordPress AI plugin automatically selects the best available provider and model for optimal performance.
Can I customize how summaries appear?
Yes! You can choose where summaries are displayed and customize their appearance through the plugin settings.
Is my content sent to AI services?
Yes, your post content is sent to the AI service you've configured to generate summaries. Please review your chosen AI service's privacy policy.
Can I edit generated summaries?
Currently, summaries are generated automatically. Future versions may include manual editing capabilities.
How can I track TL;DR generations in analytics?
TLDRWP dispatches a custom JavaScript event tldrwp_generated when a summary is successfully generated. You can listen for this event to track generations in Google Analytics, Plausible, or any other analytics tool.
Google Analytics 4:
document.addEventListener('tldrwp_generated', function(e) {
gtag('event', 'tldr_generated', {
article_id: e.detail.articleId,
article_title: e.detail.articleTitle
});
});
Plausible Analytics:
document.addEventListener('tldrwp_generated', function(e) {
plausible('TLDR Generated', {
props: {
article_id: e.detail.articleId,
article_title: e.detail.articleTitle
}
});
});
The event includes: articleId, articleTitle, timestamp, and platform data.
🏗️ Architecture
TLDRWP follows a clean, modular architecture:
tldrwp/
├── includes/
│ ├── class-tldrwp.php # Main plugin class
│ ├── class-tldrwp-admin.php # Admin functionality
│ ├── class-tldrwp-public.php # Frontend functionality
│ ├── class-tldrwp-ai-service.php # AI service integration
│ └── class-tldrwp-settings.php # Settings management
├── assets/
│ ├── css/
│ └── js/
├── tldrwp.php # Main plugin file
└── readme.txt # WordPress.org readme
🧪 Testing
To test the plugin:
- Enable Debug Mode: Add
define('WP_DEBUG', true);to yourwp-config.php - Check Logs: Monitor
wp-content/debug.logfor any errors - Test Connection: Use the "Test Connection" button in settings
- Create Test Post: Publish a new post and check for summary generation
🤝 Contributing
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Development Setup
# Clone the repository
git clone https://github.com/mattcromwell/tldrwp.git
# Navigate to the plugin directory
cd tldrwp
# Install dependencies (if any)
composer install
📝 Changelog
[0.1.0] - 2024-01-XX
Added
- Initial release
- AI-powered summary generation
- Integration with WordPress AI plugin
- Customizable display options
- Admin settings page
- Test connection functionality
- Clean, modular architecture
- Automatic provider and model selection via WordPress AI Client
- Styled settings wrapper for better UI
Technical
- Class-based architecture with component separation
- Conditional loading for performance optimization
- Proper WordPress coding standards compliance
- Comprehensive error handling and debugging
- WordPress AI Client API integration
📄 License
This project is licensed under the GPL v2 or later - see the LICENSE file for details.
🙏 Acknowledgments
- WordPress AI Plugin for AI integration capabilities
- WordPress community for best practices and standards
- All contributors and beta testers
📞 Support
- Documentation: Plugin Documentation
- Issues: GitHub Issues
- WordPress.org: Plugin Page
- Email: support@mattcromwell.com
Made with ❤️ by Matt Cromwell
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v0.9.0 | Dec 4, 2025 | tldrwp-v0.9.0.zip | 6 |