[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116234":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":15,"starSnapshotCount":15,"syncStatus":16,"lastSyncTime":28,"discoverSource":29},116234,"adudir-open","adunext\u002Fadudir-open","adunext","阿杜导演开源：.motion 格式说明、代码式剪辑器框架与模板源码 \u002F ADu Director open source: the .motion format, editor framework and template source","https:\u002F\u002Fwww.adudir.com\u002F",null,"Python",103,9,58,0,2,42,21,71.2,"MIT License",false,"main",[],"2026-11-16 05:38:26","2026-11-23 16:23:49","\u003Cdiv align=\"center\">\n\n# 阿杜导演 · 开源\n\n**你的视频创作 AI 助手**\n\n官网 **[www.adudir.com](https:\u002F\u002Fwww.adudir.com\u002F)** · 内测申请 **[www.adudir.com\u002Fbeta](https:\u002F\u002Fwww.adudir.com\u002Fbeta\u002F)** · 模板社区 **[motiongit.com](https:\u002F\u002Fmotiongit.com)**\n\n[![阿杜导演介绍视频](docs\u002Fassets\u002Fadudir-intro-cover.jpg)](https:\u002F\u002Fmedia.openaicut.com\u002Fadudir\u002Fsite\u002Fadudir-intro-720p-525a4411cc21.mp4)\n\n点上图播放介绍视频（57 秒）· [1080p 高清版](https:\u002F\u002Fmedia.openaicut.com\u002Fadudir\u002Fsite\u002Fadudir-intro-7367fb633710.mp4)\n\n[中文](#中文) · [English](#english)\n\n\u003C\u002Fdiv>\n\n---\n\n## 中文\n\n阿杜导演把剪辑写成代码：你说要什么，阿杜直接改工程，每一处改动你都看得见、撤得回。口播、讲解、Vlog、宣传片、视频翻译，上千款 Motion 模板换上你的内容就能出片。软件完全免费，无需注册登录；AI 剪辑由 Token 驱动，消耗由你自己控制。\n\n### 这次开源什么\n\n这次开源是为了**帮大家理解 .motion 格式和协议**：一个 .motion 模板里有什么，页面怎样按时间 t 出帧，参数、素材、使用指南怎么写，剪辑器和模板之间按什么约定读取、预览、替换内容、导出。剪辑器拿到 .motion 后怎么用，只用一页简单说明。\n\n| 内容 | 说明 |\n|---|---|\n| [docs\u002Fmotion-format.md](docs\u002Fmotion-format.md) | **主文档**：.motion 格式与协议 |\n| [docs\u002Fusing-templates.md](docs\u002Fusing-templates.md) | 在阿杜导演里怎么用一个模板，从打开到出片 |\n| [docs\u002Feditor-architecture.md](docs\u002Feditor-architecture.md) | 剪辑器怎样使用 .motion（一页） |\n| [templates\u002Fpaper-perspective-talking-head\u002F](templates\u002Fpaper-perspective-talking-head\u002F) | 模板结构示例（清单、参数、使用指南、预览图）：「纸面透视 · 口播讲解」v2.7.9 |\n| 第一级的 `.py` 文件 | 几个小的辅助算法，保留从 2026 年 4 月起的提交历史，说明见 [docs\u002Fhelper-algorithms.md](docs\u002Fhelper-algorithms.md) |\n| [brand\u002F](brand\u002F) | 阿杜导演的应用图标和阿杜表情形象 |\n\n### 分阶段开源计划\n\n阿杜导演按阶段逐步开源，每一阶段都可以单独阅读和使用。新阶段开放前，会先在这里更新。\n\n| 阶段 | 主题 | 开放内容 | 状态 |\n|---|---|---|---|\n| **第一阶段** | .motion 格式与模板 | .motion 格式与协议文档；剪辑器怎样使用 .motion；一个模板结构示例（清单、参数、使用指南、预览图）；几个小的辅助算法 | ✅ **已开放（当前）** |\n| **第二阶段** | 模板接入与预览 | 把 .motion 模板接进任意剪辑器的参考实现：读取和校验、按时间预览、参数面板、替换内容；给 AI 助手用的模板操作说明（skill 和命令行范例） | 计划中 |\n| **第三阶段** | 时间线格式与 AI 协作编辑 | 代码式时间线的数据格式规范；AI 改工程的结构化修改与撤销约定；跟随修改的展示方式；更多模板示例，和社区一起完善 .motion 生态 | 计划中 |\n\n**第一阶段包含：**\n- [docs\u002Fmotion-format.md](docs\u002Fmotion-format.md)：.motion 格式与协议（主文档）\n- [docs\u002Fusing-templates.md](docs\u002Fusing-templates.md)：在阿杜导演里怎么用一个模板\n- [docs\u002Feditor-architecture.md](docs\u002Feditor-architecture.md)：剪辑器怎样使用 .motion\n- [templates\u002Fpaper-perspective-talking-head\u002F](templates\u002Fpaper-perspective-talking-head\u002F)：「纸面透视 · 口播讲解」模板结构示例（清单、参数、使用指南、预览图）\n- 第一级的 `.py` 文件：几个小的辅助算法，见 [docs\u002Fhelper-algorithms.md](docs\u002Fhelper-algorithms.md)\n\n**第二阶段计划：**\n- 模板读取和校验工具：检查一个 .motion 是否完整、参数是否合法\n- 按时间预览器：给定时间 t 渲染模板画面，可嵌入任意剪辑器\n- 参数面板与内容替换的参考组件\n- 给 AI 助手用的模板操作说明和命令行范例\n\n**第三阶段计划：**\n- 代码式时间线的数据格式规范和示例工程\n- AI 修改工程的结构化格式：每一处改动可见、可撤销\n- 跟随修改（改动过程可视化）的展示方式\n- 更多类型的模板示例：知识讲解、Vlog、产品宣传\n\n### 许可\n\n- 代码和文档：[MIT](LICENSE)。\n- 模板结构示例：清单和说明 MIT，字体 SIL OFL 1.1，见模板目录下的 `licenses\u002F`。示例只含说明性的文件，不含运行代码；演示人物、示例配音和配乐没有放进仓库，封面里的人物位置是占位图。\n- `brand\u002F` 下的图标和阿杜形象是阿杜导演的品牌素材，不在 MIT 许可范围内。\n\n支持邮箱：imichaeldu@gmail.com\n\n---\n\n## English\n\nADu Director turns editing into code: say what you want, ADu edits the project directly, and you can see and undo every\nchange. Talking heads, explainers, vlogs, promos and video translation — swap your content into one of thousands of\nMotion templates and render. Completely free, no sign-up or login; AI editing runs on tokens, and you control the\nconsumption.\n\n### What this release opens\n\nThis release is about **understanding the .motion format and protocol**: what a .motion template contains, how pages\ndraw the frame for time t, how parameters, media and guides are written, and the contract an editor and a template\nfollow to read, preview, replace content and export. How an editor uses .motion gets a one-page note.\n\n| Path | Contents |\n|---|---|\n| [docs\u002Fmotion-format.md](docs\u002Fmotion-format.md) | **Main document**: the .motion format and protocol |\n| [docs\u002Fusing-templates.md](docs\u002Fusing-templates.md) | How to use a template in ADu Director, from opening it to the final render |\n| [docs\u002Feditor-architecture.md](docs\u002Feditor-architecture.md) | How an editor uses .motion (one page) |\n| [templates\u002Fpaper-perspective-talking-head\u002F](templates\u002Fpaper-perspective-talking-head\u002F) | Template structure example (manifest, parameters, guide, previews): \"Paper Perspective · Talking Head\" v2.7.9 |\n| top-level `.py` files | a few small helper algorithms with history since April 2026 — see [docs\u002Fhelper-algorithms.md](docs\u002Fhelper-algorithms.md) |\n| [brand\u002F](brand\u002F) | ADu Director app icons and ADu character art |\n\n### Open-source roadmap\n\nADu Director opens up in stages; each stage can be read and used on its own. This section is updated before a new stage\nopens.\n\n| Stage | Theme | What opens | Status |\n|---|---|---|---|\n| **Stage 1** | .motion format and templates | the .motion format and protocol; how an editor uses .motion; one template structure example (manifest, parameters, guide, previews); a few small helper algorithms | ✅ **Open (now)** |\n| **Stage 2** | Template integration and preview | a reference implementation for plugging .motion templates into any editor — reading and validation, preview at time t, parameter panel, content replacement; template instructions for AI assistants (skills and CLI examples) | Planned |\n| **Stage 3** | Timeline format and AI co-editing | the data format of a code-native timeline; structured, undoable AI edits; how follow-along edits are shown; more template examples with the community | Planned |\n\n### License\n\nCode and docs: [MIT](LICENSE). Template structure example: manifest and notes MIT, fonts SIL OFL 1.1 (see the template's `licenses\u002F`); it holds descriptive files only, no runtime code. The icons\nand character art in `brand\u002F` are ADu Director brand assets and are not covered by the MIT license.\n\nSupport: imichaeldu@gmail.com · Website: [www.adudir.com](https:\u002F\u002Fwww.adudir.com\u002F)\n","阿杜导演开源项目旨在定义和推广视频剪辑的代码化工作流，核心是开放 .motion 模式规范、剪辑器框架接口及模板源码结构。它提供标准化的模板格式说明（含参数定义、时间帧逻辑、素材组织）、轻量级 Python 辅助算法，以及可复用的模板工程示例（如口播讲解类），支持剪辑器按协议读取、预览、替换内容并导出。项目聚焦于「模板即代码」理念，强调改动可见、可撤销、可协作，适用于短视频批量生产、AI 辅助剪辑工具开发、教育类\u002F企业宣传类模板共建等需要结构化、可编程视频制作流程的场景。","2026-11-24 04:53:14","CREATED_QUERY"]