DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

wyhgoodjob /

wyhgoodjob/dsh-gloss

Verified

Contextual word glosses for DeepSeek Harness: select text, understand it in context, hear it, and keep a glossary.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@4850fed8

dsh-gloss

English | 中文

Select a word or phrase in a DSH chat, get a short gloss in context, hear it, and keep a local glossary.

Gloss card

Status: early prototype. The UI and the lookup prompt may change.

A gloss is a short explanation of a word as it is used in a sentence — not a full dictionary entry. That is what this plugin adds to the conversation.

What it does

  • Select text in any assistant or user message. A small Explain / Quote pill appears where the built-in quote button used to be.
  • Explain asks the model currently selected in DSH for one contextual gloss: IPA, part of speech, a short meaning, an example, and an optional usage note. The plugin uses the model's lowest reasoning effort to keep the wait short.
  • Speak reads the word, the meaning, and the example. IPA stays on the card; it is not spoken.
  • Copy puts the word, IPA, meaning, example, and note on the clipboard with one click.
  • Save writes the gloss to a local JSON glossary. The sentence around the selection is sent to your configured model provider; nothing else leaves the machine.
  • Glossary opens as a right-sidebar page. Cards are ordered by the last time you looked the word up or saved it, so the words you touch most stay near the top. Click a card to reveal the example; the speaker reads word + meaning.

Requirements

  • The DSH Web GUI. The client half is a Web client module.
  • The built-in @deepseek-ai/dsh-message-quotes plugin. The card renders in its selection slot; the quote handler opens it.
  • A configured model route. The plugin uses the session's current default model.
  • A browser with at least one English voice for the speaker button. Without one, the button stays silent.

Install

dsh plugin --profile web add github:wyhgoodjob/dsh-gloss

Replace web with your profile name. The command installs the package into that profile and adds its bundle. Restart dsh, then refresh the Web page.

From a local checkout, point at the directory instead:

dsh plugin --profile web add /path/to/dsh-gloss

You can also add a local directory from Settings → Plugins → Add plugin.

Use

  1. Select a word or a short phrase in a message.
  2. Click Explain.
  3. Click the speaker, or Save.
  4. Open the glossary from the card, or from the right sidebar's + menu.

The gloss follows the sentence. For example, selecting take off in a sentence about a plane gives the “leave the ground” sense, not “remove clothes”.

Data

The glossary is plain JSON at:

~/.dsh/gloss/glossary.json

The first run imports a glossary from an earlier build when the new file does not exist. Set DSH_HOME to move the DSH home; the glossary follows it. The stored fields may change between versions.

How it works

  • The host half registers one authenticated route and calls the current model for a short contextual gloss.
  • The client half renders the selection pill, the result card, and the right-sidebar glossary.
  • Saved entries are written atomically to the local JSON file.

License

MIT © 2026 Yihao Wang. See LICENSE.

—/ 5

No ratings yet

Verified DSH bundle

Commit 4850fed8a975

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout