SXP-Simon/astrbot_plugin_qq_group_daily_analysis
✨ AstrBot 群日常分析总结插件 —— 自动总结群聊提取有趣信息并生成精美海报或网页链接,还能制作群趣味连环漫画;自带管理后台,可查看运行链路、历史报告、异常日志和数据审计;支持 QQ 官方机器人、Telegram 与 Discord、OneBot v11 (NapCat / LLOneBot / SnowLuma) 等消息平台。
What it solves
This plugin helps chat group admins and members understand what happened in their group each day without manually scrolling through dozens of messages. It automatically collects and analyzes group chat data, then produces easy-to-read visual summaries of activity, participation, popular topics, and memorable quotes. It also adds a fun twist by turning the analysis into a short comic strip, and gives admins a complete web console to monitor, configure, and review everything.
How it works
The plugin runs inside AstrBot, a chatbot framework that supports QQ, Telegram, Discord, and other platforms. It connects to the chat platform, pulls message history, and uses a large language model (LLM) to extract insights such as hot topics, user behavior profiles, and notable sayings. The results are rendered into a long image report using Typst (a typesetting engine) or other image services, and can also be delivered as HTML or text. If enabled, it automatically generates a themed comic based on the analysis using configurable art styles and drawing providers. Admins can schedule daily analyses, control which groups participate, and access a built-in WebUI that shows trends, token usage, task status, and lets them re-render reports with different visual themes without spending extra tokens.
Who it's for
This is for AstrBot users who run chat groups (especially QQ) and want an automated, attractive daily digest of group activity. It suits community admins who value data-driven insights and enjoy giving their members a playful recap via comics. It also appeals to power users who like fine-grained control over configuration, rendering options, and report management through a web interface.
Highlights
- Generates visual daily reports with stats, topic analysis, user persona tags, and golden quotes
- Creates themed comics from the analysis with 14+ built-in styles and support for custom prompts and reference images
- Offers a fully integrated WebUI with overview, analysis logs, statistics dashboards, report preview, and task management
- Supports multiple report formats: image (Typst or T2I services), text, and HTML with optional external links
- Includes incremental analysis mode for groups that only want new messages processed
- Provides LLM tool-calling for on-demand report retrieval and as-you-type async analysis triggers
- Lets admins re-render historical reports with different visual themes using zero extra tokens
- Handles font and resource management, task cancellation/resume, and automatic cleanup of interrupted tasks
Related
- Project
- Project
- Project
- Project
- Project