承接 datlechin/flarum-ai-summarize 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

datlechin/flarum-ai-summarize

最新稳定版本:v0.1.1

Composer 安装命令:

composer require datlechin/flarum-ai-summarize

包简介

AI discussion summaries for Flarum with real-time streaming.

README 文档

README

License Latest Stable Version Total Downloads

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

  1. Install and configure datlechin/flarum-ai extension
  2. Set up an LLM provider (OpenAI, Anthropic, Google Gemini, etc.)
  3. Configure settings in Admin Panel → Extensions → AI Summarize
  4. 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.

Summarize Button Location

To generate a summary:

  1. Open any discussion with enough posts (default: 3 or more)
  2. Click the discussion controls dropdown (•••)
  3. Select "Summarize with AI"

The Summary Popup

A draggable popup appears at the top-right showing the summary in real-time.

Summary Popup

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

Popup Controls

Customization

Custom System Prompts

You can customize the AI prompt in admin settings to influence summary style and content.

Custom Prompt

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.

统计信息

  • 总下载量: 67
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: TypeScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-10-11