Back to directory

bilibili-subtitles

In a curated listMaintenance: Active

fukangz/bilibili-subtitles

Turn a Bilibili video's existing Chinese subtitles into a chaptered, cleaned-up Markdown article with per-section jump links back to the video.

View on GitHub
$ dsh plugin --profile <profile> add @fukangz/dsh-bilibili-subtitles

21

stars

0

forks

TypeScript

Language

MIT

License

2026-11-14

Created

2026-11-19

Last push

MIT-licensed TypeScript tool that turns a Bilibili video's existing Chinese subtitles into a chaptered Markdown article, shipped as a native dsh plugin that reuses the current DSH session model.

DSH integration

Native runtime

Author-claimed

Safety audit

Unaudited

Last verified

2026-11-23

License

MIT

01What can it help you accomplish?

  • Turn one long Bilibili video into a readable Markdown article from inside a DeepSeek Harness conversation

    `transcript.polished.md` — YAML metadata header, multi-level chapters, and a `[▶ m:ss]` jump link back to the video on every section, with the source `transcript.md` kept alongside

    Readers who want to get through a long video quickly, and agent users who want clean first-hand text to keep questioning, comparing or summarising

  • Fetch only the existing Chinese subtitles, without calling a model or paying for one

    `transcript.md` under `.subtitles/` (BV id + video title folder): a YAML metadata header plus line-by-line timestamped dialogue

    People who want to fix transcription typos by hand before polishing, or need the raw timestamped transcript for their own processing

  • Run the same two-step pipeline from Claude Code, Codex, Cursor or a plain terminal

    The same two Markdown files, via `bili-subs download <BV号>` followed by `bili-subs polish <transcriptPath>`

    Developers on other coding agents, or anyone who prefers the terminal over the DSH plugin

02How to install into DeepSeek Harness

Prerequisites

  • A DeepSeek Harness (dsh) setup — the plugin is installed with `dsh plugin --profile <profile> add`
  • The Bilibili phone app, to scan the login QR code — AI subtitles usually need a logged-in session
  • No separate model configuration: the DSH plugin reuses the current dsh session model

Installation steps

  1. 01

    Run `dsh plugin --profile <profile> add @fukangz/dsh-bilibili-subtitles` for the profile you use with DeepSeek Harness

    $ dsh plugin --profile <profile> add @fukangz/dsh-bilibili-subtitles

  2. 02

    Scan the QR code in the popup on the dsh Web plugin settings page to log in to Bilibili

  3. 03

    Ask in plain language in the conversation: “把 `BV1xx411c7mD` 整理成 Markdown 文章” for the polished article, or “帮我下载 `BV1xx411c7mD` 的字幕” for the raw transcript only

Verify the integration

Not specified by the author

03DSH integration and capability boundaries

DSH integrationNative runtime

Native dsh plugin: `dsh plugin --profile <profile> add @fukangz/dsh-bilibili-subtitles`, QR-code login from the popup on the dsh Web plugin settings page, and polishing that reuses the current dsh session model

  • Download the existing Chinese subtitles

    a BV id or a Bilibili video link→`transcript.md`: YAML metadata header plus line-by-line timestamped dialogue

    talks to Bilibili only — no model call, no model costcreates `.subtitles/` (BV id + video title folder) in the current directory
  • Two-stage polish into a chaptered article

    the complete original transcript→`transcript.polished.md` with multi-level chapters, one intro paragraph, and a `[▶ m:ss]` jump link per section

    the whole transcript is sent to the model provider you use and incurs model feesnormally 2 full-text calls (structure, then body); an invalid output is repaired once, at most 4 calls
  • Best-track subtitle selection

    a video that has several Chinese subtitle tracks→one track, picked by human-uploaded over AI and Simplified over Traditional

  • Per-section jump links back to the video

    the start timestamp of each section→a `[▶ 分:秒]` link next to every chapter heading

04Who is it for? When not to use it?

Good for

  • Readers who want to get through a long video quickly, and agent users who want clean first-hand text to keep questioning, comparing or summarising
  • People who want to fix transcription typos by hand before polishing, or need the raw timestamped transcript for their own processing
  • Developers on other coding agents, or anyone who prefers the terminal over the DSH plugin

Not for

  • It only works with Chinese subtitles a video already has: no audio/video download, no local speech recognition, no translation of foreign subtitles, and no `b23.tv` short links.
  • The polish stage sends the full transcript to whichever model provider you use; only the download stage stays between you and Bilibili.
  • AI subtitles usually require a logged-in session, so the plugin asks for a QR-code login from the Bilibili phone app before it can fetch a transcript.

05Compatibility, maintenance and safety notes

  • It only works with Chinese subtitles a video already has: no audio/video download, no local speech recognition, no translation of foreign subtitles, and no `b23.tv` short links.
  • The polish stage sends the full transcript to whichever model provider you use; only the download stage stays between you and Bilibili.
  • Polishing normally costs 2 full-text model calls (structure, then body) and can reach 4 when an output needs format repair.
  • AI subtitles usually require a logged-in session, so the plugin asks for a QR-code login from the Bilibili phone app before it can fetch a transcript.
2026-11-142026-11-19v0.1.3

MIT · active, last push 2026-11-19, latest release v0.1.3

06Frequently asked questions

How do I install it in DeepSeek Harness?

Run `dsh plugin --profile <profile> add @fukangz/dsh-bilibili-subtitles`, then scan the QR code in the popup on the dsh Web plugin settings page to log in to Bilibili. The dsh plugin reuses your current dsh session model, so there is no separate API key or model setup step.

What do I actually type in the DSH conversation?

One sentence is enough: “把 `BV1xx411c7mD` 整理成 Markdown 文章” runs both stages and gives you the polished article, while “帮我下载 `BV1xx411c7mD` 的字幕” stops after the download and returns only the raw transcript.

Where do the files land, and can I stop after the raw transcript?

By default it creates `.subtitles/` (BV id + video title folder) in the current directory, keeping `transcript.md` (YAML metadata header plus timestamped dialogue) and `transcript.polished.md` side by side. You can stop at stage one, fix typos by hand, and polish afterwards.

Does polishing cost model tokens, and what data leaves my machine?

The download stage only talks to Bilibili and never calls a model. Polishing sends the whole transcript to the model provider you use and incurs model fees — normally 2 full-text calls (structure, then body), with one automatic format repair, up to 4 calls in total.

Do I need Node.js or a separate CLI for the DSH plugin?

No. The dsh plugin is installed with `dsh plugin add` and reuses the dsh session model. Node.js 22.19+ is only needed by the standalone CLI + Skill route for other coding agents, where you run `bili-subs download <BV号>` in a terminal and hand the returned `transcriptPath` to `bili-subs polish <transcriptPath>`.

08Data and sources

  • Author-claimedgithub.comd562599fa874…

    | **[dsh 插件](packages/dsh/README.md)** | **DeepSeek Harness** | dsh Web 插件设置页弹窗扫码;直接复用当前 dsh 会话模型 | `dsh plugin --profil…

  • Author-claimedgithub.comd562599fa874…

    我们为 **Pi Agent** 和 **DeepSeek Harness (dsh)** 提供了专门的原生插件版本;

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-11-23. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.