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网页的用户。

Package
dsh-html-live-preview
Compatibility
Unverified
Harness peer range
^0.1.7-rc.2 || ^0.2.0-rc.1
Version
1.0.1
License
MIT
Last updated
Sep 30, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Weihong-Liu/dsh-html-live-preview

Usage

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).