Zum Hauptinhalt springen
E

dsh-meeting

ethan-lamlam/dsh-meeting

Windows meeting recorder that captures microphone and system audio, transcribes locally with faster-whisper or Fun-ASR, clusters speakers, imports phone recordings, and drafts two-page minutes. Audio never leaves the machine. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Installation

dsh plugin --profile web add github:ethan-lamlam/dsh-meeting

README

dsh-meeting-local

DeepSeek Harness 右侧栏的本地会议录音 + 近实时转写 + 两页纪要插件。双轨采集(麦克风 + 系统声音回环),本地模型转写,声纹聚类区分说话人,全程不上云。

目前只支持 Windows(音频采集使用 WASAPI,macOS/Linux 尚未适配)。

功能

  • 双轨录音:麦克风、系统声音各一轨,自动区分「本地 / 对方」;可暂停/继续(暂停时释放设备、计时冻结)
  • 近实时转写:WebRTC VAD 断句(300ms 静音),faster-whisper large-v3(GPU),说完约 1.5–2 秒出字
  • 两个引擎:Whisper large-v3(快)与 Fun-ASR-Nano(中文更准,可选)
  • 声纹聚类:CAM++ 向量聚类,把一轨里的多人分成「说话人1/2/…」
  • 导入录音:手机录的 m4a / mp3 / wav / flac 直接导入,自动解码、断句、转写
  • 一键生成纪要:调用 DeepSeek 生成「逐问逐答 + 结构化信息」两页 HTML,按 行业 - 项目 - 交流人 - 日期 归档
  • Agent 工具:meeting_list / meeting_transcript,可与纪要类 skill 配合

安装

1. 安装插件

dsh plugin --profile desktop add github:Ethan-lamlam/dsh-meeting

(发布到 npm 后也可 add dsh-meeting-local。)

2. 准备 Python 环境(一次)

需要 Windows + Python 3.10+。在插件目录或任意位置:

cd <插件目录>
.\scripts\setup.ps1

脚本会创建 %USERPROFILE%\dsh-meeting\venv、安装依赖、下载声纹模型。完成后把输出的 python 路径写入 %USERPROFILE%\.dsh\meeting.json:

{ "python": "C:\\Users\\you\\dsh-meeting\\venv\\Scripts\\python.exe" }

首次转写会自动下载 faster-whisper 模型(large-v3 约 3GB,可用 whisperModel 换小模型)。

3. 配置纪要生成(可选)

纪要功能调用 DeepSeek,要求 ~/.dsh/.credentials.yaml 里已有 DEEPSEEK_API_KEY(DSH 正常配置后就有)。没有也能录音转写,只是不能生成纪要。

重启 DSH,右侧栏底部出现 🎧 会议。

配置

%USERPROFILE%\.dsh\meeting.json(全部可选):

字段默认说明
python自动探测运行采集/转写脚本的 Python
home~/dsh-meeting数据根目录
modelsDir<home>/models模型目录
whisperModellarge-v3faster-whisper 模型名或本地路径
outputDir<home>/Meeting纪要/录音输出根目录
cudaPath自动探测cuBLAS/cuDNN 的 bin 目录(GPU 推理需要)
cssPath内置样式纪要 HTML 的 CSS

也可用环境变量:MEETING_PYTHON、MEETING_HOME、MEETING_MODELS、MEETING_OUTPUT、MEETING_WHISPER_MODEL、MEETING_CUDA_PATH。

数据目录

<outputDir>\
  _录音\<YYYY-MM-DD HHMMSS>\     # 录音:mic/ system/ 分句 wav + transcript.txt/json
  <行业> - <项目> - <交流人> - <日期>\  # 纪要:逐问逐答.html / 结构化信息.html / 原始文字记录.txt

隐私

  • 音频、转写、声纹全部在本机;不发起任何上传
  • 只有下载模型时联网;转写完全离线
  • 生成纪要时仅把文字发给 DeepSeek API

已知限制

  • Windows only;采集依赖 WASAPI 回环
  • Fun-ASR-Nano 引擎需要额外安装 funasr + CUDA torch(见 requirements.txt 注释),并占用约 2GB 显存
  • 纪要页面的视觉模板使用插件内置样式,可自行替换 MEETING_CSS

License

MIT

Ähnliche Plugins