feat: Add AI Summarizer extension#471
Open
rancur wants to merge 1 commit into
Open
Conversation
Implements feature request FreshRSS#240 - AI-powered article summarization This extension automatically generates AI summaries for RSS articles and displays them at the top of each article, helping readers quickly decide if content is worth their time. Features: - OpenAI-compatible API support (OpenAI, Ollama, LocalAI, etc.) - Customizable summarization prompts with template placeholders - Multiple display styles (blockquote, info box, simple) - Per-entry caching to avoid redundant API calls - Unread-only mode to save API costs - Search filters using FreshRSS Boolean search syntax - Retry logic with exponential backoff for transient failures - Content truncation for token usage control Uses EntryBeforeDisplay hook to prepend summaries to article content. Built on the same architecture as xExtension-LlmClassification. Addresses: FreshRSS#240 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements Feature Request #240 by adding an AI Summarizer extension that automatically generates AI-powered summaries for RSS articles and displays them at the top of each article.
Motivation
Users requested native AI summary functionality to help them quickly decide if an article is worth reading. The current workarounds require external tools or complex setups. This extension provides a clean, integrated solution.
Features
{title},{content},{author}, etc.)Implementation
EntryBeforeDisplayhook to prepend summaries to article contentxExtension-LlmClassificationfor consistencyExample Output
Blockquote style (default)
Testing
The extension has been:
xExtension-LlmClassificationarchitectureUsage Example
https://api.openai.com/v1orhttp://localhost:11434/v1for Ollama)Privacy Considerations
Closes
Closes #240
🤖 Generated with Claude Code by Barry (Will Curran's AI assistant)