Show HN: Shot-scraper video tool for recording YAML-defined webapp feature demos
Shot-scraper video is a new tool that records feature demos for web applications directly from YAML configuration files. It automates browser interactions and captures high-quality video output, making it easy to create and maintain reproducible demos without manual recording.
背景速读
- Simon Willison 是知名的 Python 开发者与 Datasette 项目作者,shot-scraper 是其维护的一个开源工具,原本用于对网页截图(通过 Playwright 控制无头浏览器)。
- 这篇介绍的是 shot-scraper 新增的视频录制功能:用户可以用 YAML 文件定义一系列操作(如点击、滚动、输入文字),工具会自动录制为演示视频,适合做 Web 应用的功能展示或回归测试。
- 背景:传统上录制 Web 演示需要屏幕录制软件或复杂的自动化脚本;YAML 定义的方式让视频录制可版本控制、可重复执行,并且能与持续集成(CI)流程结合。
- 该项目在 Hacker News 上发布(Show HN),说明是作者向社区展示自己的作品,面向技术开发者群体。