跳到正文

正在自动登录…

← 返回项目列表

lovisdotio/motion2code

视频转代码动画重建逐帧校验

为编码代理提供技能,将动态设计视频重建为可编辑的SVG和GSAP动画代码,并逐帧对照源视频验证。适用于使用Claude Code、Codex、Cursor等编码代理的开发者。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/21 08:01:40 · 查看原文

值得看HTML提示词与 Skills兼有 资源合集
累计 Stars
165
当前热度
未达当前门槛
仓库创建时间
打开 GitHub ↗

选用指南

AI 根据 README 整理 · 2026/10/21 08:01:40

使用方式

通过编码代理使用,如Claude Code、Codex、Cursor等,可自然语言描述或填写提示词模板,代理调用Python脚本进行视频分析和代码生成。

查看 README 依据
(`uv run --with playwright python ...`, or `pip install playwright && python -m playwright install chromium`). ## Use Ask naturally: *"Rebuild clip.mp4 as an SVG + GSAP animation that loops"*, or *"turn this app screen recording into a real site"*. For a full brief, fill in [`prompts/convert-video-prompt.md`](prompts/convert-video-prompt.md). The agent studies the video, builds the page, then checks it: ```bash python3 scripts/study_video.py clip.mp4 -o study/ python3 scripts/frame_diff.py clip.mp4 index.html -o diff/ python3 scripts/check_anim.py index.html --runtime
部署要求

需要Python 3.9+、ffmpeg和Playwright(用于打开浏览器的脚本)。

查看 README 依据
- **Copilot:** `gh skill install lovisdotio/motion2code motion2code`, plus `adapters/copilot/`. - **Gemini CLI:** `gemini extensions install https://github.com/lovisdotio/motion2code`. - **Hermes:** copy it to `~/.hermes/skills/`. **claude.ai:** zip `skills/motion2code` and upload it under Settings > Capabilities > Skills. **ChatGPT, Gemini Gems and other chat tools:** see [`adapters/`](adapters/). The scripts need Python 3.9+, ffmpeg, and Playwright for the ones that open a browser
已知限制

技能仅使用给定源视频,不重新生成、不嵌入、不追踪帧;文本必须与源提示完全一致,即使视频拼写错误。

查看 README 依据
- Use only the given source video: never regenerate it, never embed it, never trace its frames. - Text exactly as in the source prompt, even when the video misspells it. - Flat shapes as SVG, colors sampled from the source. - The GSAP timeline is the single clock. - The loop is done in code: frame(duration) equals frame(0). - Every moment is checked against the source, side by side. ## Repository ```text skills/motion2code/ the skill: SKILL.md, references/, scripts/, templates/ gallery/ six rebuilt clips: index.html, compare.html, source.mp4 (480p), poster.gif, site.html

README

正在加载 README…

收录信息

仓库创建时间
2026/10/20 12:18:10
首次达标收录
2026/10/21 07:56:35
统计更新时间
2026/10/22 19:01:00

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 4.2 / 5

新颖度
3.9
实用价值
4.2
成熟度
4.9
实质含量
4.1

由 Jev 模型根据仓库描述与 README 评估,2026/10/21 07:56:35 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/20 12:21:52
许可证标识
MIT
Fork 数
16
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目