Qetesh/miniflux-ai
关于
Miniflux with AI. Add AI summaries, translations, and AI news based on RSS content
人工智能与机器学习可以做什么
- Miniflux Integration: Seamlessly fetch unread entries from Miniflux or trigger via webhook.
- Schedule Interval: Specifies the time interval for requesting the miniflux api.
- LLM Processing: Generate summaries, translations, etc. based on your chosen LLM agent.
- AI News: Use the LLM agent to generate AI morning and evening news from feed content.
实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文miniflux-ai
Miniflux with AI
This project integrates with Miniflux to fetch RSS feed content via API or webhook. It then utilizes large language models (e.g., Ollama, ChatGPT, LLaMA, Gemini) to generate summaries, translations, and AI-driven news insights.
Features
- Miniflux Integration: Seamlessly fetch unread entries from Miniflux or trigger via webhook.
- Schedule Interval: Specifies the time interval for requesting the miniflux api.
- LLM Processing: Generate summaries, translations, etc. based on your chosen LLM agent.
- AI News: Use the LLM agent to generate AI morning and evening news from feed content.
- Flexible Configuration: Easily modify or add new agents via the
config.ymlfile. - Markdown and HTML Support: Outputs in Markdown or styled HTML blocks, depending on configuration.
| summaries, translations | AI News |
|
|
|
Requirements
- Python 3.11+
- Dependencies: Install via
pip install -r requirements.txt - Miniflux API Key
- API Key compatible with OpenAI-compatible LLMs (e.g., Ollama for LLaMA 3.1)
Configuration
The repository includes a template configuration file: config.sample.yml. Modify the config.yml to set up:
If using a webhook, enter the URL in Settings > Integrations > Webhook > Webhook URL.
If deploying in a container alongside Miniflux, use the following URL: http://miniflux_ai/api/miniflux-ai.
- Miniflux: Base URL and API key.
- LLM: Model settings, API key, and endpoint.Add timeout, max_workers parameters due to multithreading
- AI News: Schedule and prompts for daily news generation
- Agents: Define each agent's prompt, allow_list/deny_list filters, and output style(
style_blockparameter controls whether the output is formatted as a code block in Markdown).
Docker Setup
The project includes a docker-compose.yml file for easy deployment:
If using webhook or AI news, it is recommended to use the same docker-compose.yml with miniflux and access it via container name.
services:
miniflux_ai:
container_name: miniflux_ai
image: ghcr.io/qetesh/miniflux-ai:latest
restart: always
environment:
TZ: Asia/Shanghai
volumes:
- ./config.yml:/app/config.yml
# - ./entries.json:/app/entries.json # Provide persistent for AI news
Refer to config.sample.*.yml, create config.yml
To start the services:
docker-compose up -d
Usage
- Ensure
config.ymlis properly configured. - Run the script:
python main.py - The script will fetch unread RSS entries, process them with the LLM, and update the content in Miniflux.
Roadmap
- Add daily summary(by title, Summary of existing AI)
- Add Morning and Evening News(e.g. 9/24: AI Morning News, 9/24: AI Evening News)
- Add timed summary
FAQ
If the formatting of summary content is incorrect, add the following code in Settings > Custom CSS:
pre code {
white-space: pre-wrap;
word-wrap: break-word;
}
fetcher: refusing to access private network host "xx.xx.xx.xx"
Starting with Miniflux 2.2.18, FETCHER_ALLOW_PRIVATE_NETWORKS=1 must now be enabled to access feeds hosted on a local network. See the official release notes for details.
level=WARN msg="Unable to send new entries to Webhook" ... client: connection to private network is blocked: host "miniflux-ai" resolves to a non-public IP address"
Starting with Miniflux 2.2.18, INTEGRATION_ALLOW_PRIVATE_NETWORKS=1 must now be enabled to access third-party integration services hosted on a local network. See the official release notes for details.
Contributing
Feel free to fork this repository and submit pull requests. Contributions and issues are welcome!
Star History
License
This project is licensed under the MIT License.
探索相关项目
加载中…