Weihong-Liu/dsh-html-live-preview ↗★ 0
dsh-html-live-preview
Live HTML preview inside DeepSeek Harness conversations: a render_html tool plus an inline, sandboxed, auto-sized renderer. 适合需要让模型直接生成、渲染并交互操作HTML/JS网页的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Weihong-Liu/dsh-html-live-previewUsage
Ask for something visual, in any wording:
"Draw a bar chart of this week's latency" "Mock up a login page and make the button do something" "Animate how quicksort partitions this array"
The model calls render_html({ html, title?, height? }). The card offers four controls on hover: show the HTML source, copy it, re-run scripts, and expand the height (the frame is capped at 620px by default so a single preview cannot swallow the transcript).