DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-jp-vocab

d

dsh-jp-vocab

Manifest valid

Daily Japanese vocabulary digest: reads the JSONL of words starred with the companion Edge extension and writes a Markdown summary grouped by part of speech, with a configurable day boundary, template

hasBundlePatch

dsh-jp-vocab · 日语生词日汇总

在 Edge 里选中日文单词查词、点星收藏;每天用一条命令,把这些词变成一份按词性分组的 Markdown 汇总。

更新日志 · Releases

本仓库是三件套,市场只能安装其中的 DSH 插件部分,另外两部分需要手动安装:

组件位置作用如何安装
DSH 插件仓库根目录读取当日词汇 JSONL,套模板写 Markdown 汇总dsh plugin add(可被插件市场收录)
Edge 扩展edge-ext/网页选词 → 查 dict.asia → 星标收藏edge://extensions 手动加载解压目录
本地宿主native-host/把星标词写进本地 JSONL运行 install.ps1 注册

只装 DSH 插件也能跑起来,但没有数据源——词表得由扩展收藏产生。扩展和宿主不在市场的安装范围内。

安装 DSH 插件

从 GitHub 安装:

dsh plugin --profile <profile> add github:chuuu4536-gh/dsh-jp-vocab

发布到 npm 之后也可以:

dsh plugin --profile <profile> add dsh-jp-vocab

装好后会注册三个工具:

工具作用
jp_vocab_today读取指定日期(默认今天)的词汇,返回词条与当前配置
jp_vocab_summary按模板生成 summaries/YYYY-MM-DD.md
jp_vocab_settings读取/修改共享配置

安装 Edge 扩展与本地宿主

  1. 注册宿主(Windows,普通权限):

    cd native-host
    powershell -NoProfile -ExecutionPolicy Bypass -File install.ps1
    
  2. 加载扩展:打开 edge://extensions → 开发者模式 → 加载解压缩的扩展 → 选择 edge-ext/。

  3. 打开扩展选项页,确认顶部显示「本地宿主已连接」。

详细排查见 native-host/README.md。

使用

  1. 在网页上选中日文单词 → 点「查词」;
  2. 结果卡默认出现在网页右上角(不遮挡正文);想让它跟着选区走,可在扩展选项页把「结果卡位置」改成「所选词旁边」;
  3. 点结果卡右下角星标收藏;
  4. 对 DSH 说「生成今日总结」,或直接调用 jp_vocab_summary;
  5. 汇总写到配置的 summariesDir,形如 2026-11-18.md。

词形还原由扩展侧完成(kuromoji + 规则兜底):选「惹かれて」会落到最原本的「惹く」,候选条可切回中间层。

配置

扩展设置页与 DSH 插件读同一份文件:%USERPROFILE%\.jp-vocab\config.json。

键默认说明
vocabDirD:\...\vocab每日词汇 JSONL 目录(宿主写)
summariesDirD:\...\summaries汇总 Markdown 输出目录(插件写)
timeZoneAsia/Shanghai业务日期所用时区
dayStartHour0一天从本地几点开始(0–6),6 表示 06:00–次日 05:59 算同一天
enrichModeautoauto 生成前先联网补例句/搭配;manual 只出草稿
overwritetrue同名汇总文件是否覆盖
groupByPostrue汇总按词性分组
templatePath空自定义模板路径,空则用内置模板

扩展侧另有两个浏览器本地偏好(存在 chrome.storage.sync,不进 config.json):

偏好默认说明
directionauto词典方向:自动 / 日中 / 中日
cardPositiontop-right结果卡位置:网页右上角 / 所选词旁边

enrichMode 是给 agent 的执行约定:插件本身不联网,联网补全由调用它的 agent 完成。

模板

内置模板在 templates/daily-summary.md,支持 {{date}}、{{count}}、{{#words}}…{{/words}},词条内可用 {{no}}、{{word}}、{{reading}}、{{pitchText}}、{{posText}}、{{gloss}}、{{examplesText}}、{{context}}、{{url}}、{{note}},以及可选的 {{#groupHeading}} 分组标题。

开发

node --test test/            # 或逐个运行 test/*.test.mjs

许可

MIT,见 LICENSE。

Comments

Loading…

Similar plugins

dsh-vocab-study

by wt0812

Offline vocabulary panel: a capsule beside the composer opens a word card, and a dockable tabbed panel tracks today, progress, the mistake book and settings.

UI & ExperienceManifest valid

★ 4

↓ 747/wk

MIT

JavaScript

Nov 17, 2026

dsh plugin --profile web add dsh-vocab-study

Rotating word and phrase flashcards under the composer, plus a right-sidebar page with an English topic brief, topic-matched vocabulary and a word book.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

dsh plugin --profile web add dsh-english-lounge

by hulibuld

在 DeepSeek Harness 里点选查词与翻译:点击或划选英文单词看释义,划选短语看翻译,生词本、词根词缀、同根词标注。离线词库,不改正文 DOM。

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Nov 2, 2026

dsh plugin --profile web add dsh-hover-dict

Daily journal for DeepSeek Harness: the agent records what you did and what you plan to do into one JSON file per day, and the right sidebar draws them as a calendar with checkable todos.

Memory & ContextManifest valid

★ 2

MIT

TypeScript

dsh plugin --profile web add dsh-journal-calendar

by tbwpsts

给 DeepSeek Harness 的心情日记插件:把每天的陪伴片段和心情变化,写进同一个 Markdown 文档。

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Oct 26, 2026

dsh plugin --profile web add dsh-xingmeng-diary

by 9-bai

Select text in any Windows app and a small pill appears: translate, explain, quote into a new DSH session, save to a spaced-repetition vocabulary book, or copy. Works without switching windows, and th

Tools & CapabilitiesManifest valid

★ 0

MIT

PowerShell

Nov 19, 2026

dsh plugin --profile web add dsh-external-toolbox