DeepSHPlugins
dsh-qrcode 项目预览
GITHUB / COMMUNITY PROJECT

dsh-qrcode

记忆与知识JavaScriptMIT

DeepSeek Harness 离线二维码(SVG/PNG/ASCII)与条码(Code128/EAN-13)生成器,无网络、无 shell。

3 Starshellosky983 更新时间 2026-08-16
访问 GitHub 仓库
dsh-qrcode 项目预览

项目介绍

中文

DeepSeek Harness 离线二维码(SVG/PNG/ASCII)与条码(Code128/EAN-13)生成器,无网络、无 shell。

English

Offline QR code (SVG/PNG/ASCII) and barcode (Code128/EAN-13) generator for DeepSeek Harness, no network and no shell.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
hellosky983
仓库
hellosky983/dsh-qrcode
GitHub Stars
3
Forks
0
开发语言
JavaScript
许可证
MIT
最近推送
2026-08-16
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

57/ 100
维护活跃
82
文档与实用信息
85
生态关注度
17
安装便捷信号
100
项目声明信号
100

README 含完整安装与使用说明;关注度尚低(3);标准命令一键安装。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin --profile web add github:hellosky983/dsh-qrcode

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

dsh-qrcode

Awesome DSH Plugin

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-harness mainline 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

ToolOptionDefaultDescription
qrcodetext— (required)Content to encode: URL, WIFI:..., vCard, tel/sms, or plain text
qrcodeformatsvgsvg / ascii / png
qrcodeeclMError correction level L/M/Q/H
qrcodescale / border / fg / bg / mask4 / 4 / #000 / #fff / autoRendering options
barcodetext— (required)Content for Code128 (ASCII) or EAN-13 (12/13 digits)
barcodesymbologycode128code128 / ean13

No environment variables, no secrets.

Permissions & data

  • Reads: nothing (pure function of the input arguments).
  • Writes: nothing. Tools return text/SVG/PNG data in the result.
  • Network: none. Encoding and rendering are fully local.
  • Credentials: none.

Troubleshooting

  • Tool not visible after install: restart dsh, or check that the bundle row appears in dsh --dump-config.
  • "cannot get property tools without inject": the plugin requires inject = ['tools']; reinstall from the latest commit which declares it.
  • PNG output is a data URL: the agent should prefer format=svg and save the returned markup as a .svg file when a file artifact is needed.
  • Logs: dsh profile logs under ~/.dsh/profiles/<name>/.
  • Rollback: revert to the previous plugin version by reinstalling the earlier git commit.

Development

git clone https://github.com/hellosky983/dsh-qrcode.git
cd dsh-qrcode
node --check index.js

The encoder was validated against zxing-cpp (96/96 test vectors, versions 1–40, all masks/EC levels) and cross-checked with segno for mask scoring. The suite lives in the commit history of this repository.

Contributions: open issues and pull requests on GitHub. Keep changes dependency-free (the encoder is self-contained). Report bugs with a minimal reproduction case.

License & security

MIT — see LICENSE. No secrets are shipped; report security issues privately via GitHub issue (repo is public) or email to the repository owner.

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目