dsh-qrcode
Offline QR code generator for DeepSeek Harness (dsh): pure-JS, no network, no shell, cross-platform. Model tools (qrcode + barcode) with SVG/PNG/ASCII output.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hellosky983/dsh-qrcode说明文档
阅读完整 README ↗dsh-qrcode
An offline QR code and barcode generator for DeepSeek Harness. Pure local computation — no network, no shell, no dependencies.
Overview
DeepSeek Harness sessions often run with restricted network access (no npm, no CDN, no online encoder APIs), so generating a scannable code from inside a session is not trivial. This plugin solves that: it provides qrcode and barcode model tools that encode and render entirely locally, with zero runtime dependencies. It is for agents and users who need QR codes (URLs, WiFi, vCard, tel, sms) or 1D barcodes (Code128, EAN-13) as SVG / PNG / ASCII output inside any DSH session — including fully offline or sandboxed ones.
Compatibility
- DSH version:
0.1.0-rc.6 - Mainline: verified against
deepseek-harnessmainline snapshots of 2026-08-14 - Last verified: 2026-08-14
Install / Uninstall
Install (from GitHub):
dsh plugin add github:hellosky983/dsh-qrcode
Or clone and install locally:
git clone https://github.com/hellosky983/dsh-qrcode.git
cd dsh-qrcode
dsh plugin add .
Upgrade: re-run the install command after git pull.
Disable temporarily: remove the plugin row from your profile composition, or run:
dsh plugin remove dsh-qrcode
Uninstall: remove the dsh-qrcode dependency and its bundle entry from the profile package.json, then pnpm install.
Quick start
Tell the agent:
把这个链接做成二维码: https://example.com
or call the tools directly:
qrcode text="https://example.com" format=svg
barcode text="ABC-123" symbology=code128 format=svg
qrcode returns SVG markup (save to a .svg file), PNG data URLs, or ASCII previews. barcode supports code128 and ean13.
Configuration
| Tool | Option | Default | Description |
|---|---|---|---|
qrcode | text | — (required) | Content to encode: URL, WIFI:..., vCard, tel/sms, or plain text |