dsh-whiteboard: DSH Desktop Handwriting Whiteboard

Introduction

When developing with agents, you often need to draw diagrams, annotate ideas, or jot down quick notes. Existing solutions either require switching between applications or offer an awkward in-whiteboard workflow. DSH (DeepSeek Harness) embraces an “everything is a plugin” philosophy—multiple plugins can be mounted in the left sidebar panel. On this foundation, dsh-whiteboard provides a handwritten whiteboard capability.

What It Is

dsh-whiteboard is a handwritten whiteboard plugin for DSH Desktop, maintained by DinosaurYSL. It offers a whiteboard history list, an infinite canvas with touch gestures, pressure-sensitive stylus support, multiple pen types, and a pixel-level eraser. All whiteboard content is stored locally on your machine—no cloud sync.

Core Features

  • Whiteboard History List: Sorted by most recent edit time, displaying thumbnails, titles, timestamps, and stroke counts. Supports continuing edits, renaming, and deletion.

  • Infinite Canvas + Touch Gestures:

  • Single-finger drag to pan (in stylus mode, finger is used for panning only; while writing with the pen, lift your finger after a stroke and continue dragging to take over panning).
  • Two-finger pinch to zoom: zooms around the midpoint between two fingers while simultaneously panning to follow; supports mouse wheel zoom, Space key / “grab hand” drag to pan.
  • Opening a whiteboard auto-fits the view to existing content; the view position is saved with the whiteboard.

  • Three-Column Toolbar:

  • Left column: Pen types / tools (Pencil / Fountain Pen / Brush / Marker / Eraser / Grab Hand), 3×2 large buttons in two rows, with icon + label.
  • Center column: 12-color palette (single row) + pen thickness + eraser size.
  • Right column: Undo · Redo | Grid | Clear | Export, plus zoom controls (− 100% +) and “Fit”.
  • The “Stylus Only” mode toggle is on the right side of the title bar; the three columns are separated by vertical lines with two rows of content aligned vertically.

  • Handwritten Drawing:

  • Pen types: Pencil (grainy texture), Fountain Pen (smooth), Brush (variable width based on pressure/speed), Marker (semi-transparent wide stroke), Eraser (pixel-level erasure).
  • Stylus pressure sensitivity + eraser button/side key on the pen: hold the eraser button and drag for temporary erasure (compatible with Pointer Events eraser button 5 and side key button 2); release to restore the current pen type.
  • Adjustable eraser size via slider: 6–400 world pixels ([ / ] for fine-tuning); a circle preview follows the pointer on canvas showing the actual size; falls back to the old upper limit of 156 if the host hasn’t been restarted.
  • Undo / Redo (up to 50 steps), Clear, grid background toggle, Export PNG.

  • Check for Updates: A silent check runs once when opening the list + a manual “Check for Updates” button; queries the latest version from GitHub Releases. Notification only—no download, no auto-install, no impact on local whiteboard data.

  • Auto-Save: Automatically saves to local storage after edits; the list thumbnail updates in sync.

  • Data & Privacy: Whiteboard content is stored only locally at ~/.dsh/storages/dsh-whiteboard.json (%USERPROFILE%\.dsh\storages\dsh-whiteboard.json on Windows). No cloud upload, no telemetry. Network access occurs only during “Check for Updates / Open Releases link”.

Installation & Setup

Download dsh-whiteboard-<version>.tgz from Releases, extract, and follow INSTALL.md for manual installation (copy to node_modules and register in the profile package.json, then restart Desktop).

To upgrade after installation: the “Check for Updates” button on the list page will notify you of a new version; manually overwrite node_modules/dsh-whiteboard and restart—your data will not be lost.

Typical Usage

  1. Download the corresponding version of dsh-whiteboard-<version>.tgz from Releases and extract it.
  2. Follow INSTALL.md in the repository for manual installation: copy files to node_modules, register the plugin in the profile’s package.json, then restart DSH Desktop.
  3. Find the “Handwritten Whiteboard” entry in the left panel of DSH Desktop, create a new whiteboard or continue editing from the history list.
  4. Use the three-column toolbar to select pen type and color; pan the canvas with single-finger drag and zoom with two-finger pinch; hold the eraser button on your stylus for temporary erasure.
  5. When done, the whiteboard is saved automatically; to export, click “Export” in the right column to save as PNG.

Use Cases & Notes

  • Ideal for developers and product managers who need to quickly sketch, annotate, take notes, or create simple diagrams within DSH.
  • The plugin runs with the current DSH process permissions; it is recommended to review the source code and license (MIT) before installing.
  • Tested and verified on DSH Desktop 2.0.17 (dsh 0.2.0-rc.2); depends on the host providing sidebar.panellist, main slots, and ctx.webServer—lower host versions may be incompatible.

Conclusion

dsh-whiteboard provides a lightweight handwritten whiteboard experience within DSH, supporting pressure sensitivity, gestures, and local storage—ideal for quick note-taking and visual thinking. For more information, refer to the plugin directory page and the GitHub repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye