hellosky983/dsh-qrcode
DSH插件:离线二维码(SVG/PNG/ASCII)及条形码(Code128/EAN-13)生成器,无需网络,无需shell。
Project Overview项目介绍
This is a native DSH plugin that provides offline QR code and 1D barcode generation entirely via local computation. It requires no network access, no shell execution, and has zero runtime dependencies, making it ideal for restricted or sandboxed DSH sessions that block access to external APIs. You can install it directly from GitHub by running dsh plugin add github:hellosky983/dsh-qrcode in your terminal, or clone it locally and install from the cloned directory. To upgrade the plugin, just pull the latest changes and re-run the install command.
The plugin exposes two tools: qrcode for generating QR codes and barcode for 1D barcodes. The qrcode tool can encode URLs, WiFi credentials, vCards, phone numbers, SMS, and plain text, and supports SVG, PNG (as data URLs), and ASCII output formats. It also lets you adjust error correction level, scale, border, and colors to match your needs. The barcode tool supports Code128 and EAN-13 symbologies, also with SVG, PNG, and ASCII output. It is designed specifically for use inside DSH sessions that have limited or no network access.
This plugin is verified compatible with DSH version 0.1.0-rc.6 and the mainline DSH snapshot from August 14, 2026. If you do not see the tools after installation, you can try restarting DSH, or check that the plugin entry is correctly added to your DSH configuration. The plugin is released under the open source MIT license, and does not require any credentials, environment variables, or extra dependencies to run. All encoding logic is self-contained and validated against standard test vectors to ensure accuracy. You can uninstall it at any time by removing the entry from your profile and reinstalling your DSH dependencies.
这是一款原生面向 DeepSeek Harness 的离线二维码和条形码生成插件,完全依赖本地计算运行,不需要网络访问、不需要调用 shell,也没有任何额外运行依赖。它为 DSH 会话提供了 qrcode 和 barcode 两个工具,专门解决受限网络或沙箱环境下无法调用在线编码接口的问题,可输出 SVG、PNG 和 ASCII 三种格式的码图。
这款插件面向需要在 DSH 离线或受限网络会话中生成码图的用户和代理。安装完成后,用户既可以直接告知代理需要编码的内容生成,也可以直接通过命令行调用指定参数。比如直接让代理把指定链接转成二维码,或者调用 qrcode text="内容" format=svg 这类命令直接生成符合要求的码图。
该插件兼容 DSH 0.1.0-rc.6 及 2026 年 8 月 14 日的主线路径快照,采用 MIT 许可证开源,不需要环境变量或凭证,也不会读写任何本地数据,完全只处理输入参数返回结果。安装可通过 dsh plugin add 命令从 GitHub 或本地克隆安装,重启 DSH 即可解决工具不显示的问题。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-qrcode(hellosky983/dsh-qrcode)
仓库:https://github.com/hellosky983/dsh-qrcode
本站详情页:https://www.yhbd.top/plugins/hellosky983-dsh-qrcode/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-09-29 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin add github:hellosky983/dsh-qrcode
把 hellosky983/dsh-qrcode 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
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 |
qrcode |
format |
svg |
svg / ascii / png |
qrcode |
ecl |
M |
Error correction level L/M/Q/H |
qrcode |
scale / border / fg / bg / mask |
4 / 4 / #000 / #fff / auto | Rendering options |
barcode |
text |
— (required) | Content for Code128 (ASCII) or EAN-13 (12/13 digits) |
barcode |
symbology |
code128 |
code128 / ean13 |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Devin-AXIS/iPolloWork
ysr666/dsh-vision-router
Anionex/dsh-vision-toolkit
sunchaokun/PPT-Design-Skill
zhaoolee/notes
volcengine/ark-cli
runzhliu/deepseek-harness-docker
labring/sealos-skills