# heygen-com/hyperframes

> hyperframes is an open-source framework for turning HTML, CSS, JavaScript, media and seekable animations into deterministic MP4 videos. Each video is an HTML composition, and the renderer seeks every frame in headless Chrome and encodes the result with FFmpeg, so the same input gives the same output. The project is written in TypeScript.

Source: https://github.com/heygen-com/hyperframes
Indexed: commit 80402d2 on 2026-11-24 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: Library
- Language: TypeScript
- Stars: 88,962 at index time
- License: Apache-2.0
- Code health: 8.6/10, Excellent
- Last commit: 2026-11-24
- Contributors: 22

## Install

From the README: https://github.com/heygen-com/hyperframes#quick-start-for-developers

Clone the hyperframes repository.
    git clone https://github.com/heygen-com/hyperframes.git

Move into the hyperframes folder.
    cd hyperframes

Create a project with the CLI.
    npx hyperframes init my-video

Open the project folder.
    cd my-video

Preview the composition live in the browser.
    npx hyperframes preview

Render the composition to MP4.
    npx hyperframes render

## How it works

A video is defined as an HTML composition, with data attributes for timing and tracks, and an index.html file plays as-is in the browser. packages/cli/src/cli.ts is the command-line entry point for commands such as init, preview and render. packages/core/src/runtime/editing/softReload.ts is one of the runtime's central files for editing. packages/producer/src/services/htmlCompiler.ts belongs to the producer service layer that compiles HTML, and it is one of the hotspot files in the repository. The renderer seeks each frame in headless Chrome and encodes the result with FFmpeg, and packages/aws-lambda/src/index.ts is the entry point for rendering on AWS Lambda. The skills directory holds the agent skills that let coding agents write and render videos.

- packages/aws-lambda/src/index.ts: entry point
- packages/cli/bin/hyperframes-localize-fonts.mjs: entry point
- packages/cli/bin/hyperframes.mjs: entry point
- packages/cli/src/audio/analysis/run.ts: entry point
- packages/cli/src/cli.ts: entry point
Modules: packages, scripts, skills, registry, docs, examples, .agents, .claude. 9,554 files, 1,161,492 lines, 46,573 symbols.

## Code health

- Score: 8.6/10 (Excellent)
- Rank: not ranked (not on a leaderboard yet)
- Hotspots: packages/producer/src/services/htmlCompiler.ts, packages/studio-server/src/history/projectHistory.ts, packages/core/src/runtime/editing/softReload.ts, packages/studio/src/hooks/useClipboard.ts, packages/core/src/compiler/htmlBundler.ts
- Lowest file: packages/producer/src/services/htmlCompiler.ts
- Dead code: 39 findings

## Maintenance

- Last commit 2026-11-24, 500 commits
- 22 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/heygen-com/hyperframes/security

## More

- Page: https://repowise.dev/repo/heygen-com/hyperframes
- Ask this codebase: https://repowise.dev/repo/heygen-com/hyperframes/chat
- Docs: https://repowise.dev/repo/heygen-com/hyperframes/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/heygen-com/hyperframes
