Dyad is a local, open-source AI app builder. It's fast, private, and fully under your control — like Lovable, v0, or Bolt, but running right on your machine.
More info at: https://dyad.sh/
This is a personal fork of dyad-sh/dyad, kept in sync with upstream and carrying my own feature work on the mine branch. Full original history and author credits are preserved (2,200+ commits); upstream is merged in regularly.
What's on top of upstream (branch mine):
- 🇨🇳 Chinese localization (42+ commits) — hard-coded English UI wired into the existing i18n system across the chat area, app blueprint cards, resource library, app details pages, settings (subagents, Azure OpenAI, Claude Code, collections, promo dialogs) and deploy connectors (Vercel / Cloudflare / Coolify / GitHub). New
preview.jsonlocale namespace added for the preview/tests panel. - 🐛 Windows bug fixes
- Fix blank-screen reload when clicking Approve Plan: the Vite dev server used to watch the repo-internal template staging directory and force-reload Dyad's own renderer.
- Fix
EPERM: ... unlink node_modules\...during template swap and app restart — app directories are no longer destructively cleared/re-copied while killed dev-server processes still hold file handles.
- 🛠 Local development tooling for Windows — helper scripts:
start-dyad.ps1(dev launch on port 5174),重建主进程.ps1(rebuild main/preload bundles),准备新应用.ps1(prepare generated apps with pnpm build-script allowances),update-upstream.ps1(fetch upstream → fast-forwardmain→ merge intomine), plusSETUP-LOCAL.mddocumenting the whole local setup. - 🧩 Local-agent robustness — lenient tool-argument handling so small model deviations don't fail an entire turn; blueprint approval survives renderer reloads.
The main branch is a pure mirror of upstream dyad-sh/dyad/main. Daily development happens on mine.
本仓库是 dyad-sh/dyad 的个人 fork,持续与上游同步,并在 mine 分支上保留了自研的功能开发。完整保留原作者的 2200+ 条提交历史与署名。
相对上游的改动(mine 分支):
- 🇨🇳 界面汉化(42+ 提交) —— 把硬编码英文 UI 接入 Dyad 原生 i18n 体系,覆盖聊天区、应用蓝图卡片、资源库、应用详情页、设置页(子代理、Azure OpenAI、Claude Code、合集、Pro 弹窗)与部署连接器(Vercel / Cloudflare / Coolify / GitHub),并为预览/测试面板新增
preview.json命名空间。 - 🐛 Windows 缺陷修复
- 点击 Approve Plan 后整屏白掉刷新:根因是 Vite 监视到仓库内的模板暂存目录,强制重载了 Dyad 自己的界面。
- 模板替换 / 应用重启时的
EPERM: ... unlink node_modules\...:不再在 dev server 句柄未释放时整棵删除 node_modules。
- 🛠 Windows 本地开发工具链 —— 一组辅助脚本:
start-dyad.ps1(开发启动,端口 5174)、重建主进程.ps1(重建主进程/preload bundle)、准备新应用.ps1(为生成的应用配置 pnpm 构建白名单)、update-upstream.ps1(拉上游 → 快进main→ 合入mine),配套文档SETUP-LOCAL.md。 - 🧩 本地 Agent 健壮性 —— 工具入参宽容化,模型的小偏差不再让整轮失败;蓝图批准操作在界面重载后仍可执行。
main 分支是上游 dyad-sh/dyad/main 的纯镜像;日常开发在 mine 分支。
- ⚡️ Local: Fast, private and no lock-in.
- 🛠 Bring your own keys: Use your own AI API keys — no vendor lock-in.
- 🖥️ Cross-platform: Easy to run on Mac or Windows.
No sign-up required. Just download and go.
Join our growing community of AI app builders on Reddit: r/dyadbuilders - share your projects and get help from the community!
Dyad is open-source (see License info below).
If you're interested in contributing to dyad, please read our contributing doc.
- All the code in this repo outside of
src/prois open-source and licensed under Apache 2.0 - see LICENSE. - All the code in this repo within
src/prois fair-source and licensed under Functional Source License 1.1 Apache 2.0 - see LICENSE.
