Adds a manim_card tool that renders Manim Python into a playable animation card in the chat stream; the code runs in the browser on a bundled runtime, so no local Python is needed, and video export goes through the local Manim CLI when installed or frame by frame in the browser otherwise.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-manim-card
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:snowowowo/dsh-manim-card
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
中文 | English
A capability for DeepSeek Harness: the AI writes Manim code right in the session, and a playable animation card shows up in the chat stream — play it, read the code, export a video.
The code runs in the browser and its runtime ships with the plugin, so rendering needs no local Python and no external service. Video export has two routes: if Manim is installed, your local Manim renders an mp4; if not, the export runs frame by frame in the browser (see below).

Documentation (installation, using it in a session, configuration surface; Chinese and English): https://snowowowo.github.io/dsh-manim-card/en/
Highlights
- The card lives in the chat stream: one title row, one canvas, three buttons on the right — play / view code / export video (which opens two routes). Playback stops on the final frame instead of starting over.
- Check first, then present: before the code is handed back, it runs once in a real interpreter. Syntax errors and unsupported constructs go straight back to the model and get fixed in the same turn, so the chat never keeps a blank or half-drawn card.
- No local Python needed: execution happens in the browser, and the runtime ships with the plugin.
- Playback with restraint: only a freshly generated card actually plays once; remounts and cards from earlier sessions go straight to the final frame. Pressing play yourself overrides every automatic rule.
- Two export routes, so anyone can export: with Manim installed, the manim CLI renders a real mp4 (1080p); without it, export falls back to frame-by-frame in the browser (seek the timeline frame by frame, then encode — webm or mp4 depends on the browser), which keeps the frame rate steady and never plays in real time. Each row has a quality submenu: local defaults to HD 1080p60, web defaults to smooth 720p30 (each step up in frame-by-frame encoding costs multiples of the time, so the user picks). Each row states its own requirements, so whatever is missing is obvious; per-item detection of the local environment lives on the plugin detail page.
Installation
In the host's plugin manager:
dsh plugin add github:snowowowo/dsh-manim-card
Refresh the host page after installing: "Manim Card" appears on the Plugins page, and its detail page carries this plugin's configuration surface. The first render fetches the runtime assets once (about 13 MB); after that it works offline.
Using it
Say "draw a unit circle with Manim" in a session, and the card appears in the chat stream. For the details, see Using it in a session.
Development
The stack, directory layout, workflow and test split are documented under Development.
pnpm install
pnpm build # produces client.js
pnpm test # unit tests (the offline tier)
pnpm docs # local docs site
License
Released under MIT; the full text is in LICENSE.
The runtime assets shipped with the package and the third-party components inlined into the build artifacts keep their own licenses — see THIRD-PARTY.md.
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10696
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10696
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8484
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7509
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5395
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1082
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.