Featured answer
Give me an overview of hyperframes
Read the answerHide the answer
Hyperframes is an open-source framework, written in TypeScript, that turns HTML, CSS, JavaScript, media and seekable animations into deterministic MP4 videos. Each video is an HTML composition with data attributes for timing and tracks, and an index.html file plays as-is in the browser. The command-line entry point is packages/cli/src/cli.ts, which handles commands such as init, preview and render, and the producer service layer, including packages/producer/src/services/htmlCompiler.ts, compiles the HTML. The renderer seeks each frame in headless Chrome and encodes the result with FFmpeg, so the same input gives the same output, and packages/aws-lambda/src/index.ts is the entry point for rendering on AWS Lambda. Editing logic centers on packages/core/src/runtime/editing/softReload.ts, and the skills directory holds the agent skills that let coding agents such as Claude Code and Codex write and render videos. To start reading, begin with packages/cli/src/cli.ts and htmlCompiler.ts, since the latter is one of the repository's hotspot files.