dhb861832993-star/img-preview
dhb861832993-star★ 0JavaScriptLast synced: 2026-08-17
Inline local image preview for DeepSeek Harness - img_serve tool + img fence, renders PNG/JPG/WebP/GIF/AVIF/BMP/SVG/ICO directly in chat.
README excerpt
img-preview 在 DeepSeek Harness 对话框内 直接内联展示本地图片 的插件:不用再给文件路径让用户手动打开。 🔌 生态:仓库已挂 dsh · dsh-plugin · deepseek-harness · image-preview topic,欢迎社区收录。 - 宿主端:注册 img serve 工具(校验图片路径、签发可访问 URL)与 /plugins/img-preview/files 回环文件路由(仅服务工作区内的 png/jpg/jpeg/webp/gif/avif/bmp/svg/ico/tga; TGA 自动转码为 PNG ,浏览器原生不显示 TGA)。 - 客户端:检测 bash 工具 img serve(path: "H:/工作-deepseek/dm output/xxx.png") text text sh GitHub 仓库安装(社区推荐方式) dsh plugin --profile web add github:dhb861832993-star/img-preview 或本地开发(link 方式) dsh plugin --profile web add link:H:/工作-deepseek/img-preview 重启 dsh web 服务,新会话生效。安装后模型会自动获得 img serve 工具并在回复中直接内联展示图片。 安全模型 - 浏览器无法直接读本地磁盘,由宿主通过回环文件路由提供图片。 - 仅允许工作区根目录内的路径(规范化 + 前缀校验,防目录穿越)。 - 仅允许图片扩展名(png/jpg/jpeg/webp/gif/avif/bmp/svg/ico/tga),超 128 MiB 拒绝。 - TGA 在宿主端解码(支持 1/2/3/9/10/11 类型、8/16/24/32 位深、RLE 压缩、双原点约定)并用 node:zlib 编码为 PNG 输出,插件保持零依赖。 - SVG 经 渲染时不执行脚本(浏览器图片上下文屏蔽脚本),点击看原图走新标签页。
View full README on GitHub →Category
Prompt as Code | GPT-Image2 工业级提示词引擎与模板库,470+ 个案例逆向工程,20+ 套工业级模板,并提炼出Skills,持续更新中
★ 10,851
liustack/modlensThe first vision plugin for DeepSeek Harness, and the vision bridge for every text-only coding agent. Paste an image, get structured JSON evidence (OCR, layout, semantics). | 全网最强 DeepSeek Harness 外挂视觉插件,为 DeepSeek、GLM 等纯文本模型外挂视觉能力,粘贴图片即得结构化 JSON 证据(OCR、版面、语义)。
★ 2,700
Alisa0808/vox-directorTurn one topic into a finished Vox-style paper-collage explainer/ad video — automated end to end on Atlas Cloud + ffmpeg. An agent skill.
★ 1,335