DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-pixel

M

dsh-pixel

Identified

Pixel art editor in a DSH conversation tab: pencil, eraser, bucket fill and eyedropper on a grid canvas that zooms in whole steps around the cursor; up to eight layers with merge, reorder, rename and

dsh-pixel-studio

在 DeepSeek Harness(DSH)里画像素画:会话页签里一个三栏编辑器,左工具、中画布、右调色板,滚轮缩放、图层、导出 PNG,作品存在本机。

装法

三种都可以,装完刷新页面,会话页签行里会出现“像素画”。

# 1) 官方插件管理页 / 插件市场里搜索 @muxiuesd/dsh-pixel-studio
# 2) DSH CLI(npm)
dsh plugin --profile web add @muxiuesd/dsh-pixel-studio
# 3) 直接从 GitHub 仓库装(仓库根就是插件包)
dsh plugin --profile web add github:Muxiuesd/dsh-pixel
# 4) 本地开发
dsh plugin --profile web add /绝对路径/dsh-pixel

能做什么

  • 画布:整数倍缩放 1×…64×,滚轮以光标为锚点;空格/中键拖动平移,F 适应窗口;4× 以上显示格线(可关)。
  • 工具:铅笔、橡皮、油漆桶(按合成后的颜色判断连通,视觉同色一次填满)、吸管;方形笔刷 1–8 像素。
  • 选区(M):拖出矩形选框;拖动框内只移框,Shift + 拖动 带像素一起走;镜像 / 填充 / 删除默认作用当前图层,「多层」或 Alt 作用全部可见层;方向键微调,Ctrl+A 全选,Esc 取消。
  • 图层:最多 8 层,新建/复制/合并/上移/下移/删除/改名/显隐,全部可撤销。
  • 调色板:最多 36 色,内置 PICO-8 等预设板;改某个槽位的颜色不会改动已经画好的像素(画布上的旧颜色会先由一个空闲槽位接手),也可以用系统取色器可视化取色。
  • 作品:新建时填名字和尺寸(1–256),另有 11 个常用尺寸预设;自动保存。
  • 打开图片:选一张喜欢的 PNG / JPEG / GIF / WebP / BMP,自动缩到 256 以内并按需提取配色(也可沿用当前调色板或 PICO-8),可开抖动,生成一个新作品继续画。
  • 画布尺寸 / 裁剪:尺寸 里改宽高(1–256),9 宫格锚点决定裁掉哪边或从哪边扩边,改完可以撤销。
  • 导出:首次导出选择保存位置(默认从当前会话目录开始),之后导出直接覆盖那个文件;另存为 随时换位置,并可挑 1×–16× 的导出倍率(会记住上次的选择)。

快捷键

键作用
B / E / G / I铅笔 / 橡皮 / 油漆桶 / 吸管
M矩形选区
Ctrl/Cmd+A全选选区
Esc取消选区(浮动的内容回到原处)
Delete / Backspace删除选区内像素
Ctrl/Cmd+C / Ctrl/Cmd+X / Ctrl/Cmd+V复制 / 剪切(内容留在画布上) / 粘贴
Shift + H / Shift + V / Shift + F选区水平镜像 / 垂直镜像 / 填充
方向键(配合选区)微调选区 1 像素,Shift 为 10 像素
[ ]笔刷变小 / 变大
H格线开关
F适应窗口
+ / -放大 / 缩小
空格 + 拖动、鼠标中键平移画布
Ctrl/Cmd+Z / Ctrl/Cmd+Shift+Z(或 Ctrl+Y)撤销 / 重做
Ctrl/Cmd+S保存
Ctrl/Cmd+Shift+S另存为 PNG

数据与能力

  • 作品存在 <profile 目录>/../pixel-studio/works.json(默认 ~/.dsh/pixel-studio/works.json),不上传、不联网。
  • 插件只注册一个 Host 路由 /dsh-pixel-studio(同源 fetch),用于读写作品与写 PNG 文件;不执行命令、不访问网络。
  • 导出的 PNG 由插件自己编码(IHDR + zlib + IEND),不依赖任何图像库。

环境

  • DSH 0.2.x(Web / Desktop 均可),Node.js ≥ 20。
  • 客户端用 window.__ModuleLoader__ 加载,react 走宿主模块表,不打包 React。

许可

MIT © 2026 Muxiuesd

源码与问题反馈:https://gitee.com/muxiuesd12138/dsh-pixel(GitHub 镜像:https://github.com/Muxiuesd/dsh-pixel)

Comments

Loading…

Similar plugins

dsh-pixel-studio

by Fantety

DSH plugin for native in-chat pixel art & animation: oy-pixel-style procedural shader, grids/templates, interactive canvas, PNG/GIF/spritesheet/OYPX export.

Development & InfrastructureManifest valid

★ 3

MIT

JavaScript

Oct 22, 2026

dsh plugin --profile web add dsh-pixel-studio

by fourzkw

DSH 右侧栏的可编辑画布 + AI 语义绘图工具(diagram_apply / diagram_read),直接读写原生 .drawio 文件

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 732

↓ 2k/wk

MIT

JavaScript

Nov 18, 2026

dsh plugin --profile web add dsh-drawai

by JanEickholt

Renders edit and write tool calls as always-expanded side-by-side diffs styled like git diff, with optional syntax coloring and word-level highlighting.

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 2

↓ 203/wk

MIT

JavaScript

Oct 29, 2026

dsh plugin --profile web add dsh-inline-diff

by senyayume

DSH 插件:在文件变更工具卡片上重绘行级 diff(相同行只渲染一次 + 行内字符高亮),覆盖 run_code(PTC) 与 str_replace_editor,轮末给出改动汇总卡,并可在资源管理器中定位或复制路径。

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 22, 2026

dsh plugin --profile web add dsh-edit-diff

by wu81313-lab

Inline image card for DeepSeek Harness conversations: a bottom-left edit button that annotates, erases through a generated RGBA mask, and crops or resizes, then hands the edit back to the agent.

Manifest valid

★ 0

↓ 105/wk

MIT

JavaScript

Sep 10, 2026

dsh plugin --profile web add dsh-image-studio

by northstacker

Layered design workbench plugin for DeepSeek Harness: image & text layers, cross-design layer bindings, batch PNG/JPG/ZIP export

Manifest valid

★ 0

MIT

JavaScript

Nov 3, 2026

dsh plugin --profile web add @local/design-studio