bmhty123/dsh-sketchpad
A floating and sidebar drawing board for the composer: sketch a diagram or formula, close the board, and the cropped PNG attaches.
Some things are faster to draw than to describe — a network diagram, a margin note, an integral. This puts a 1600x1000 floating board behind a pencil button at the left of the composer, plus a portrait 1000x1333 right-sidebar tab with its own strokes, and attaches the result to your message as a PNG. Saves are deliberately explicit: nothing is encoded while you draw, and the PNG is made only when you close the floating board or press Insert. Tools are pen, line, arrow and eraser with a round cursor, three widths (4/7/12 px) and black, red and blue, with Shift snapping to 0/45/90 degrees and B/L/A/E, bracket, Undo and Esc shortcuts.
Install
dsh plugin --profile web add dsh-sketchpadRequires DSH 0.2.1-rc.2 or newer per the README, then restart dsh web (or refresh after a live install). Nothing is configured afterwards — a pencil button appears at the left of the composer and the sidebar gains a drawing-board tab.
Compatibility
No network requests and no message access — the README states the plugin only uses the host surfaces it needs for the board. One pointer only: a second finger cannot join the current stroke. Export is cropped to the ink bounding box plus 26 px, and small sketches are upscaled up to 2.5x to about 900 px on the long side.
Details
- Repo: bmhty123/dsh-sketchpad
- Category: Web UI Enhancements
- Stars: 1
- Version: 0.1.0 (npm)
Alternatives
H1a3x/dsh-token-stats · hyzmm/dsh-notch-pet · heartmove/dsh-side-chat