repo-timelapse

代码库时光流视频:将 Git 仓库历史转化为项目成长视频。以按语言着色的动态树状图呈现文件随代码增长而扩展、被修改时发光、删除时淡出;同时展示日期、代码行数计数器、逐字输入的提交信息字幕及活动热力图。支持 16:9 或 9:16 比例,可选深色或浅色主题。触发语例如“我的仓库快进视频/可视化 Git 历史/动画展示我的提交”。

仓库最近推送
GitHub Stars
589
Forks
48
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "repo-timelapse":https://skillpi.com/zh/skills/deepskill-c3787f779d25b71bc8e640e1c5e048156bfa7ddc0e5d20416e46e5ebc82dcfa1。安装前核对上游来源和版本:https://github.com/dotslashsimran/simcraft。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

当前版本的下载许可尚未确认或受限。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

代码库时光流视频:将 Git 仓库历史转化为项目成长视频。以按语言着色的动态树状图呈现文件随代码增长而扩展、被修改时发光、删除时淡出;同时展示日期、代码行数计数器、逐字输入的提交信息字幕及活动热力图。支持 16:9 或 9:16 比例,可选深色或浅色主题。触发语例如“我的仓库快进视频/可视化 Git 历史/动画展示我的提交”。

0 下载

介绍来源: third_party · dotslashsimran · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

本站暂无可核验的版本文件清单。

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: repo-timelapse
description: Turn a git repo's history into a video of the project growing. Files appear as a living treemap coloured by language that grows with the code, glows when touched and fades on delete, with a date, a lines-of-code counter, commit messages typing in as captions and an activity sparkline. 16:9 or 9:16, dark or light. Use when the user says "timelapse of my repo", "visualise git history", "build in public video", "show how the project grew", "animate my commits", or wants a video of a codebase evolving.

Repo timelapse

Two steps: read the history into a JSON file, then render it. Both only read the repo.

SK=~/simcraft/skills/video/repo-timelapse
python3 $SK/scripts/extract.py <repo> -o history.json
node $SK/scripts/render.mjs history.json preview.mp4 --preview
node $SK/scripts/render.mjs history.json timelapse.mp4

Needs python3, git, node with Playwright (already in the simcraft repo root), and ffmpeg (set FFMPEG to use a specific one).

Steps

  1. Extract and read the report. extract.py prints activity by month, the busiest 30 days, the biggest folders, bulk commits and a suggested duration. Use it to pick the story before rendering anything.

  2. Pick the story. A whole repo is rarely the best video. Choose one arc and say it in one line, such as "the week I built the MVP" or "how the API folder took over". Narrow with:

    • --since 2025-03-01 --until 2025-04-01 for a stretch of time,
    • --path src/api to film one folder,
    • --exclude 'docs/**' when docs, fixtures or generated files dwarf the code. Re-run extract after each change and check the report again.
  3. Clean the noise. Lockfiles, vendored and build folders, minified files and test cassettes are skipped by default. Merge commits are folded into the main line, so line counts stay exact. If the report lists a bulk commit (an import or generated code), exclude its folder unless the import is the story.

  4. Preview. Render with --preview (half size, 30fps, about 10 seconds for a 40-second video) and watch it. Check pacing, that captions are readable, and that the map is not dominated by one folder. For single frames use --stills 3,12,25, which writes PNGs into the output folder.

  5. Render the final without --preview. It renders at 1080p and 60fps by default. A 30-second video takes about a minute.

  6. Report the file path, the range and filters used, and anything excluded.

Render options

  • --duration 30 sets the length in seconds. Use the suggestion from the report: about 20 seconds for a small repo, 40 to 60 for a big one.
  • --vertical renders 1080x1920 for Reels, TikTok and Shorts. --size 2560x1440 sets any size.
  • --theme light switches to the light theme. Dark is the default.
  • --highlight src/api dims everything outside that folder and shows its line count.
  • --title "My app", --subtitle "...", --end-text "part 2 next week" change the cards. --no-title and --no-end remove them.
  • --grow fill keeps the map full size from the first commit. The default area makes it grow with the code.
  • --fps 30 halves render time.

Extract options: --anonymize (Contributor 1, 2, ...), --rev main, --name, --max-events 1500, --include-default-noise.

Pacing

  • Quiet weeks are compressed automatically. Busy days get more screen time than empty ones, but a long pause never stops the video.
  • Captions change at most about once a second. When several commits land close together, the most descriptive message is shown, so "wip" and "fix" rarely appear.
  • Fewer than 10 commits makes a thin video. Pick a repo or range with at least 30.

Posting

  • The video opens on a title card, so put the hook in the post text: the final line count or the arc. For Reels, --no-title starts the motion in the first frame.
  • For 9:16, the layout already keeps the top 150px and bottom 380px clear of platform buttons. Put your own text caption above the video in the editor, not over the map.
  • Add a stacked caption in the post that names the arc, such as "60 days of building X, every commit".
  • Anonymise authors for repos with other people's names in them, and check commit messages in the preview for anything private before posting.

How it works, the data format and the known limits: reference.md.

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值78/100

亮点

  • 提供独特的 Git 仓库历史可视化能力
  • 满足开发者内容创作和项目展示需求
触发精准95/100

亮点

  • 触发词覆盖全面且边界清晰
  • 支持多种常见表达方式
结构规范85/100

待提升项

  • 缺少显式 When to Use 章节 原报告严重程度:轻微

    文档中未设置独立的 When to Use 章节,使用场景描述嵌入在 description 中

    改进建议:建议添加显式的 When to Use 章节以提升可读性

亮点

  • 步骤划分清晰,操作流程完整
  • 提供了详细的命令行示例和参数说明
执行可靠90/100

亮点

  • 依赖项说明明确
  • 提供了异常处理建议和隐私保护选项
证据可验 (前四项均值)87/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

risk · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。