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

패키지
dsh-html-live-preview
호환성
미검증
Harness peer 범위
^0.1.7-rc.2 || ^0.2.0-rc.1
버전
1.0.1
라이선스
MIT
최근 업데이트
2026. 9. 30.

설치

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