DeepSeek Harness 插件

Deiael/dsh-live-vibeCoding

Star 数 ★ 2 分类 娱乐 收录于 2026-11-01

dsh-livestream(MIT)的分支,请替代原插件安装、不要与它同时安装。让 DSH 在 B 站当主播:回弹幕、谢礼物、观众点的视频排队上舞台、豆包 TTS 音色说话,并自动配置 OBS 与 B 站推流;前置需要 OBS Studio 28+ 和一个 B 站直播间,没填豆包 TTS API Key 时只有画面没有声音(无字幕视频转写可选装 Python + faster-whisper)。

安装

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:Deiael/dsh-live-vibeCoding

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

该插件的 README 只有英文版本。

Let your DeepSeek Harness agent host a Bilibili livestream: it reads the chat, thanks gifts, welcomes viewers, remembers regulars, queues viewer-requested videos on a skinnable stage, and speaks with its own TTS voice — pushed to Bilibili through OBS.

一个让 DeepSeek Harness 在 B 站当主播的插件:读弹幕、谢礼物、欢迎新观众、记住常客,把观众点的视频排进队列放在舞台上,用自己的 TTS 音色说话,画面经 OBS 推到 B 站。

Screenshots / 界面预览

Livestream console / 直播控制台 — the stage as the audience sees it (character, notice board, danmaku, gift board, video request queue), plus the OBS browser-source address and theme picker.

Livestream console

Settings / 设置 — Bilibili room id, push to Bilibili (检查 OBS, stream title, area, encoder and bitrate), and the on-stage notice board text the character reads out.

Settings

Features / 功能

  • Chat & gifts — replies to danmaku, superchats, gifts, follows and new viewers; remembers regulars between streams.
  • Stage — a browser-source stage with character, subtitles, chat, board, alerts, terminal and a video request queue that auto-pages when several viewers queue up.
  • Video requests — viewers ask for a Bilibili video; it is searched, played on stage, and if something is already playing it waits in the queue (one at a time, no interruption).
  • Voice — Doubao (ByteDance) TTS, 2.0 voices, with word-level subtitles timed to the audio.
  • OBS integration — creates its own OBS profile and scene collection, picks the encoder automatically (NVIDIA NVENC → Intel QSV → x264), opens Bilibili's websocket server through the API, starts and stops the stream.
  • Bilibili — QR login, room setup, stream title/area, cover upload, SRT→RTMP fallback when the SRT address is not OBS-compatible, and readable errors when Bilibili asks for identity verification.
  • Characters / themes — character packs (Live2D-style clips or still images) and stage templates are just folders under assets/; drop in your own.

Requirements / 环境要求

  • DeepSeek Harness with the desktop/web profile.
  • OBS Studio 28+ installed. The plugin enables OBS → Tools → WebSocket Server Settings by itself; no manual setup needed.
  • A Bilibili account with a live room (the plugin can create one).
  • A Doubao TTS API key (new console, seed-tts-2.0) for the voice. Without it the agent still runs, just silently.
  • Optional: a Python with faster-whisper for transcribing videos that have no subtitles.

Install / 安装

From npm:

dsh plugin --profile desktop add dsh-live-vibecoding

From GitHub:

dsh plugin --profile desktop add github:Deiael/dsh-live-vibeCoding

Then add dsh-live-vibecoding to the dsh.profile.bundles list of your profile and restart DeepSeek Harness.

First run / 第一次使用

  1. Open the livestream console in DSH.
  2. Settings → 开播账号 → 扫码登录 (scan with the Bilibili app).
  3. Enter your room id (or leave empty to open one).
  4. Click 检查 OBS to let the plugin create its OBS profile and stage scene.
  5. Click 开播 (or 开始彩排 for a local rehearsal without pushing).

All settings are stored in ~/.dsh/dsh-live-farben/settings.json; secrets (Bilibili cookie, Doubao key) live in DSH's credential store, never in this package.

Encoder / 编码器

encoder defaults to auto: NVENC when an NVIDIA driver is present, Intel QSV on Intel graphics, otherwise x264. Override in settings.json with "encoder": "nvenc" | "qsv" | "x264" if auto-detection picks the wrong one.

Themes & characters / 皮肤与角色

  • Characters: assets/characters/<id>/ (character.json + clips/images).
  • Templates: assets/templates/<id>/ (template.json + style.css + preview images).

The bundled dafeiyu character is the author's own artwork (see assets/characters/dafeiyu/), included as a demo. Replace it with your own before shipping a fork.

Credits / 致谢

This plugin is a fork/derivative of dsh-livestream (MIT). Thanks to its authors for the original architecture, OBS/Bilibili integration and stage runtime.

Bundled character art is licensed as stated inside the character pack (CC BY-NC-SA 4.0). It is not part of the MIT-licensed code.

License

MIT — see LICENSE.

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。