dsh-bili-review
A left-sidebar DSH plugin that turns Bilibili browsing into 观后感 (reviews with reflection) instead of a shallow feed. Every review connects the video to real life, records what was learned, and appends that lesson to a personal Markdown knowledge base.
中文说明 · Install · Data · Tools · API

Features
- Section browsing — 14 Bilibili sections (动画, 游戏, 知识, 科技, 音乐, 舞蹈, 生活, 美食, 影视, 娱乐, 鬼畜, 纪录片, 动物, 热门), with the selected section remembered in
localStorage. - Read before writing —
bili_watchopens the video page and reads its description, UP dynamic, tags, chapters, transcript (when available), and top comments. The agent must cite concrete details instead of guessing from the title. - Review, not recap — every review requires a real-life connection (
realLife) and a reusable lesson (lesson), in addition to the review body. - Personal knowledge base — each saved review appends a marker-delimited section to
knowledge.md; the UI has a knowledge view and count. - Manual and scheduled refresh — the settings panel supports manual mode, scheduled mode (5–1440 minutes), immediate refresh, and a configurable knowledge path. Scheduled refreshes only update the feed; they do not start an agent session, which keeps token use low.
- One-click roaming — “让 DSH 开刷” creates a gateway session, sends a compact prompt, and lets the agent browse two sections, inspect each candidate video, and write one review.
- Local-first — reviews and knowledge stay in
~/.dsh/bili-diary/; no credentials or Bilibili account are required.
Install
From the DSH plugin market
After the catalog entry is accepted, install Bilibili Review from the in-app market.
From a local package
plugin_manager install_bundle /absolute/path/to/dsh-bili-review
DSH loads the bundle from cordis.patch.yml and the web client from client.js. Reload the DSH window after installing.
Marketplace listing requires a public repo with the
dsh-plugintopic and adsh.bundlemanifest.
Data
Default directory: ~/.dsh/bili-diary/ (Windows: C:\Users\<you>\.dsh\bili-diary\).
| File | Contents |
|---|---|
reviews.json |
review entries, settings, legacy migration state |
reviews.md |
human-readable review timeline |
knowledge.md |
appended lessons, one marker-delimited section per review |
diary.json |
optional legacy diary data, migrated on first run |
Knowledge path can be changed in the settings panel; changing it copies the existing knowledge file into the new path when the target is empty.
Tools
| Tool | Actions | Purpose |
|---|---|---|
bili_categories |
browse, categories |
List sections or fetch a section feed. |
bili_watch |
inspect |
Read a video's description, dynamic, tags, transcript, and comments. |
bili_review |
write, list, knowledge |
Save a review + lesson, list reviews, or inspect the knowledge base. |
A typical agent turn is:
bili_categoriesbrowse 2 sections.bili_watchinspect each of 2–3 candidate videos.bili_reviewwrite one review withrealLifeandlesson.
API
All routes are served by DSH's local web server:
/bili-categories/api/health,/categories,/feed/bili-watch/api/health,/inspect?bvid=.../bili-review/api/health,/state,/settings,/entries,/knowledge
Development
node --check index.js
node --check host/review.js
node --check host/categories.js
node --check host/watch.js
node --check client.js
The package has no npm runtime dependencies. @deepseek-ai/* client packages are provided by the DSH host and are listed under dsh.client.inject.
License
MIT
中文说明
一个带左侧栏入口的 DSH 插件:把刷 B 站变成观后感,而不只是看热门。
- 14 个分区:动画、游戏、知识、科技、音乐、舞蹈、生活、美食、影视、娱乐、鬼畜、纪录片、动物、热门。
- 写之前先“看”:
bili_watch会读视频简介、UP 主动态、标签、章节、可读字幕和高赞评论;写的时候必须引用具体信息,不能只看标题。 - 每篇观后感必须写联系实际和学到什么;保存后自动追加到个人 Markdown 知识库。
- 设置面板支持手动刷新、定时刷新(5–1440 分钟)、立即刷新和自定义知识库路径。定时刷新只更新视频列表,不会自动开新会话,省 token。
- 点“让 DSH 开刷”会创建一个网关会话,让它挑两个分区、逐条读视频,再写一篇观后感。
数据默认保存在 ~/.dsh/bili-diary/:reviews.json、reviews.md、knowledge.md。
安装:DSH 插件市场(上架后),或用 plugin_manager install_bundle 指向本目录。
No comments yet. Be the first to write one.