datlechin/flarum-ai-summarize
Composer 安装命令:
composer require datlechin/flarum-ai-summarize
包简介
AI discussion summaries for Flarum with real-time streaming.
README 文档
README
A Flarum extension that provides AI-powered discussion summarization with real-time streaming.
Features
- 🤖 AI-powered discussion summaries
- ⚡ Real-time streaming display
- 🎨 HTML formatted output
- 📌 Draggable popup with position memory
- � Multiple LLM providers (OpenAI, Gemini, etc.)
- ⚙️ Customizable prompts and settings
Requirements
- Flarum 1.2+
- PHP 8.1+
- datlechin/flarum-ai extension (required dependency)
- An AI provider configured (OpenAI, Anthropic, Google Gemini, etc.)
Installation
Install with composer:
composer require datlechin/flarum-ai-summarize
Configuration
- Install and configure
datlechin/flarum-aiextension - Set up an LLM provider (OpenAI, Anthropic, Google Gemini, etc.)
- Configure settings in Admin Panel → Extensions → AI Summarize
- Set permissions in Admin Panel → Permissions
Usage
Accessing the Feature
The AI Summarize button appears in the discussion controls for discussions that meet the minimum post requirement.
To generate a summary:
- Open any discussion with enough posts (default: 3 or more)
- Click the discussion controls dropdown (•••)
- Select "Summarize with AI"
The Summary Popup
A draggable popup appears at the top-right showing the summary in real-time.
Features:
- Real-time streaming with blinking cursor
- HTML formatted text (bold, italic, lists)
- Drag to move anywhere on screen
- Position is remembered
- Minimize/maximize button
- Close button
Customization
Custom System Prompts
You can customize the AI prompt in admin settings to influence summary style and content.
Example custom prompt:
You are an AI assistant summarizing forum discussions.
Create a concise summary (100-150 words) that:
- Highlights the main topic and key arguments
- Mentions important conclusions or consensus
- Uses clear, neutral language
- Focuses on content, not participants
Avoid greetings and meta-commentary.
Prompt Tips:
- Define desired length and style
- Specify tone (neutral, formal, casual)
- Mention what to focus on (key points, debates, conclusions)
- Set boundaries (what to exclude)
Links
Sponsor
If you find this extension helpful, you can support ongoing development through GitHub Sponsors.
datlechin/flarum-ai-summarize 适用场景与选型建议
datlechin/flarum-ai-summarize 是一款 基于 TypeScript 开发的 Composer 扩展包,目前已累计 231 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 10 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「extension」 「streaming」 「discussion」 「summarize」 「ai」 「summary」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 datlechin/flarum-ai-summarize 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 datlechin/flarum-ai-summarize 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 datlechin/flarum-ai-summarize 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A custom URL rule class for Yii 2 which allows to create translated URL rules
The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.
Make posts hidden for visitors.
Add custom fields to discussions
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
UI Kit 3 Extension for Yii2
统计信息
- 总下载量: 231
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-10-11



