Passer au contenu principal
C

dsh-chajian-ch

crg64st5y6-beep/dsh-chajian-ch

Adds a study desk to the right Sidebar: reads workspace PDFs, highlights selected text, places draggable text notes, asks questions about region screenshots or photos, and generates an annotated copy of the PDF plus a one-page class summary.

Installer

dsh plugin --profile web add github:crg64st5y6-beep/dsh-chajian-ch

README

Study desk · 学习台

A DeepSeek Harness bundle that turns the right Sidebar into a study desk for one PDF at a time.

把 DeepSeek Harness 的右栏变成一个「学习台」:一份 PDF、一个常驻提问框、下课时产出批注版和一页总结。

What it does · 功能

  • Read workspace PDFs full-page in the right Sidebar, with page navigation and zoom. · 在右栏全屏读工作区里的 PDF,可翻页、缩放。
  • Select text to copy it, highlight it in place, or quote it into the ask box. · 选中文字可复制、高亮,或引用进提问框。
  • Add text notes anywhere on a page; drag the note to reposition it; remove it with the × button. · 在页面任意位置添加文字笔记,拖动可改位置,× 删除。
  • Frame a region as a screenshot, or attach a phone photo (HEIC is converted on macOS), then ask about it. · 框选一块当截图,或贴手机照片(macOS 上自动转 HEIC),然后针对它提问。
  • Answers stream into the chat and render with KaTeX math. · 回答在聊天里流式输出,公式用 KaTeX 渲染。
  • End class: one click produces <name>-批注版.pdf — the original pages plus a one-page summary — and keeps the original untouched. · 下课:一键生成 <名字>-批注版.pdf(原页 + 一页总结),原版不动。
  • Switch between the original and annotated versions, or regenerate the annotated one. · 原版/批注版一键切换,也可重新生成。
  • Import a PDF from your computer or pick one already in the workspace. · 从电脑导入 PDF,或从工作区挑一份。

Install · 安装

From the plugin market: Plugins → Discover → Study desk, then enable it and restart DeepSeek Harness when asked.

从插件市场装:插件 → 发现 → 学习台,启用后按提示重启 DSH。

Manually, from this repository:

dsh plugin add github:crg64st5y6-beep/dsh-chajian-ch

Then open the right Sidebar and choose 学习台 / Study desk.

Requirements · 要求

  • DeepSeek Harness 0.2.2 or a compatible build.
  • macOS only for HEIC phone-photo conversion (uses sips); every other feature works without it.

Where it stores data · 数据放在哪

Everything is written next to the PDFs in your workspace, never uploaded anywhere:

  • <PDF>.annotations.json — questions, highlights and text notes;
  • screenshots/ — region screenshots;
  • .study-desk/backups/ — pre-class PDF backups;
  • <PDF base>-批注版.pdf — the generated annotated copy.

Build from source · 从源码构建

client.js is prebuilt and committed, so installing this bundle needs no build step. The sources under src/ rebuild it:

npm install esbuild@^0.25.0 pdfjs-dist@6.3.289 katex@^0.19.1 marked@^18.2.1
node src/build.mjs

License · 许可

MIT. Bundled third-party libraries are listed in THIRD_PARTY_NOTICES.md.

Plugins associés