DSH Hub
dsh-artifact cover

sumarilkkxx/dsh-artifact

dsh-artifact

UIWeb UI10 GitHub stars· updated 2026-08-26

Inline ECharts rendering plugin for DeepSeek Harness

Install

npx @deepseek-ai/dsh plugin --profile web add github:sumarilkkxx/dsh-artifact

Restart `dsh web` after install. Bundle APIs can change during the developer preview.

README badge

dsh-artifact DSH Hub badge
[![DSH Hub](https://dshhub.dev/badge/dsh-artifact.svg)](https://dshhub.dev/plugins/dsh-artifact)

Paste this into your README. The star count updates with every catalog sync.

From the README

Excerpt from sumarilkkxx/dsh-artifact, cleaned of badges and images.

<p align="center"><strong>Turn natural-language requests into native, interactive ECharts and Mermaid visualizations inside DeepSeek Harness.</strong></p> <p align="center"><a href="README.zh-CN.md">简体中文</a></p>

What it is

dsh-artifact is a visualization renderer for DeepSeek Harness. Ask for a chart or diagram in ordinary language; the model understands the intent, chooses the appropriate native engine, emits a declarative payload, and the result appears directly in the conversation as an interactive canvas.

It is built for a near-native ECharts and Mermaid authoring experience—not a small set of hand-drawn chart templates. The browser receives a real ECharts option or Mermaid source and renders it with the real engine.

Your request  →  model understands the intent  →  ECharts option / Mermaid code  →  interactive canvas

Highlights

From a request to a native canvas

Describe the visualization you need in ordinary language. dsh-artifact keeps the complete workflow inside the conversation: the model reasons about the request, prepares a native engine payload, and renders the result as an interactive canvas with appearance controls and PNG export.

<p align="center"><sub>One request, from streamed reasoning and tool execution to a native ECharts calendar heatmap. The demonstration preserves the actual DeepSeek Harness interface.</sub></p>

Built around real rendering engines

Capability
Native enginesECharts 6, the official ECharts-GL extension when an option needs it, and Mermaid 11
Broad ECharts coverageNative JSON-expressible series and components: cartesian, pie, radar, calendar heatmap, graph, sankey, tree, map, parallel, timeline, dataset, visualMap, dataZoom, and more
Diagram-first MermaidFlowcharts, sequence, class, state, ER, gantt, journey, pie, and other Mermaid-supported diagrams
Interactive canvasTooltips, legends, zoom, pan, 3D controls, and responsive resizing come from the actual renderer
Appearance controlsIn-canvas ECharts-inspired palettes and light/dark backgrounds; photographic globes retain their real-world surface and expose background mode only
Image downloadDownload ECharts, ECharts-GL, and Mermaid canvases as 2× PNG images using the active background; standard ECharts and Mermaid diagrams also support SVG download
Safe by designPure JSON across the declarative boundary; isolated custom HTML runs in a CSP-restricted sandbox iframe

Install

Install the DeepSeek Harness CLI first (one time):

npm install -g @deepseek-ai/dsh

If this is your first time using DSH, run dsh web once to initialize the web profile, then stop it before adding the plugin.

# GitHub install (recommended; prebuilt engine assets are included)
dsh plugin --profile web add github:sumarilkkxx/dsh-artifact

# Local development
dsh plugin --profile web add link:/path/to/dsh-artifact

Start or restart dsh web, then hard-refresh the browser (Cmd/Ctrl+Shift+R). pnpm must be available on PATH because the DSH plugin command uses it internally.

Use it naturally

Ask for the result you need. For example:

Compare quarterly revenue and margin for 2024 in a dual-axis chart, highlight the best quarter, and use a dark canvas.

Create a GitHub-style calendar heatmap for this year's daily commits.

Draw a sequence diagram for OAuth login with success and failure paths.

Related plugins