dsh-screenshot-to-code
其他 活跃维护

dsh-screenshot-to-code

satan9394/dsh-screenshot-to-code

受开源热门项目screenshot-to-code启发,支持上传界面截图自动生成对应前端代码,内置实时渲染预览模块,可直观对比设计稿与实现效果,支持迭代调整后实时同步更新代码,开箱即用无需复杂配置。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
4 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:satan9394/dsh-screenshot-to-code
git clone https://github.com/satan9394/dsh-screenshot-to-code.git
git clone git@github.com:satan9394/dsh-screenshot-to-code.git
README.md main

dsh-screenshot-to-code

DSH(DeepSeek Harness)技能插件:截图转代码。

把 UI 截图/设计稿转换为干净的 HTML/Tailwind/React 代码:布局/组件/token 分析 → 生成 → 渲染对比迭代(像素级对齐/响应式/交互)→ 交付。受 abi/screenshot-to-code(74k★)思路启发的中文原创精简版。

安装

dsh plugin add dsh-screenshot-to-code

触发方式

描述中包含"截图转代码 / 设计稿还原 / 做成网页 / 从图片生成前端 / 还原 UI"等关键词时自动触发。

能力

  • 布局/组件/token 分析
  • 组件化代码生成
  • 渲染对比迭代循环
  • 响应式与可访问性验证

许可

MIT