๐Ÿค–AI RepoIndex
๐ŸŽจ AI MediaOpen SourceFree

HyperFrames

HTML-native video rendering framework built for AI agents

4.7/ 5โญ 35,759 GitHub starsTypeScriptApache 2.0

๐Ÿ“‹ Overview

HyperFrames is an open-source framework that turns HTML, CSS, media, and seekable animations into deterministic MP4 videos. Instead of React components or proprietary timelines, you write plain HTML files with data attributes for timing and tracks, then use GSAP, Three.js, Lottie, Anime.js, WAAPI, or CSS for animation. The renderer uses headless Chrome (Puppeteer) to seek each frame and FFmpeg to encode โ€” producing pixel-identical output from the same input every time. It ships with 19 agent skills that teach coding agents (Claude Code, Cursor, Gemini CLI, Codex) the full video production loop: plan, write HTML, wire animations, lint, preview, render. HeyGen uses it in production, and adopters include tldraw and TanStack.

โœจ Key Features

  • โ€ขHTML-native compositions โ€” no build step, no React requirement; an index.html plays and renders as-is
  • โ€ข19 production-tested agent skills turn coding agents into video production studios
  • โ€ขDeterministic rendering via Puppeteer + FFmpeg โ€” same input, same frames, same output, CI-safe
  • โ€ขMulti-runtime animation adapters: GSAP, Three.js, Lottie, Anime.js, WAAPI, CSS, custom frame adapters
  • โ€ขAWS Lambda rendering for distributed encode pipelines driven from a laptop or CI
  • โ€ขframe.md design system converts existing DESIGN.md tokens into a video-ready superset an agent can compose from
  • โ€ขCatalog of reusable blocks: shader transitions, social overlays, animated charts, maps, kinetic captions

๐ŸŽฏ The Problem It Solves

Video production is still stuck in manual editing suites while every other content pipeline has been automated. Existing code-based tools (Remotion) require React expertise and a bundler โ€” too heavy for AI agents that already think in HTML. HyperFrames meets agents where they live: plain HTML files anyone can write, with deterministic rendering that makes video CI-safe for the first time.

๐Ÿ”ง How It Works

You write an HTML file with data-* attributes for timing (data-start, data-duration, data-track-index) and attach seekable animations via GSAP, CSS keyframes, WAAPI, or any custom adapter registered through window.__timelines. The CLI (hyperframes preview) launches Puppeteer for live preview with hot reload; hyperframes render seeks each frame deterministically and encodes to MP4 via FFmpeg with audio mixing. The same composition can deploy to AWS Lambda for distributed rendering.

๐Ÿš€ Installation & Quick Start

Installation

npx hyperframes init my-video

Quick Start

  1. Run npx hyperframes init my-video && cd my-video
  2. Edit index.html with data-start/data-duration/data-track-index attributes
  3. Add GSAP or CSS animations via class="clip" and window.__timelines
  4. npx hyperframes preview to iterate in browser with live reload
  5. npx hyperframes render to encode deterministic MP4

โœ… Pros

  • โ€ขHTML-native authoring โ€” agents already write HTML, no React/JSX learning curve
  • โ€ข19 agent skills work with Claude Code, Cursor, Gemini CLI, Codex out of the box
  • โ€ขDeterministic rendering makes video CI-safe โ€” same composition, same output every time
  • โ€ขMulti-runtime animation: GSAP, Three.js, Lottie, Anime.js, WAAPI, CSS, custom adapters
  • โ€ขNo build step โ€” compositions play directly in browser via file://
  • โ€ขAWS Lambda rendering for distributed encode without managed infrastructure
  • โ€ขframe.md converts existing design systems into video-ready specs automatically
  • โ€ขApache 2.0 license with no per-render fees or enterprise upgrade pressure

โŒ Cons

  • โ€ข197 open issues โ€” active development means some workflows can break between releases
  • โ€ขAWS Lambda rendering lacks multi-region support outside the US
  • โ€ขNo native editorial round-trip โ€” MP4-only output, no DaVinci/Final Cut export
  • โ€ขYounger ecosystem than Remotion โ€” fewer templates, case studies, and community tutorials

๐Ÿ’ฌ Practitioner Verdict

โ€œHyperFrames is the first video framework designed ground-up for the agent era, and it shows. The HTML-native approach is obviously correct for AI pipelines โ€” you describe what you want in plain language, the agent writes valid HTML, Puppeteer renders deterministic MP4s. The 19-skill pipeline is not a gimmick; it is a genuinely new interaction model for video creation. The trade-off is ecosystem maturity โ€” Remotion has more production case studies and a bigger community, but HyperFrames is growing fast and already has production use at HeyGen, tldraw, and TanStack. If you are building agent-driven video content, this is the default choice.โ€
1

Self-Hosted (Free)

Open source, MIT/Apache licensed. Run it yourself.

โญ Star & Clone on GitHub

Free forever. Your infrastructure, your data.

2

hyperframes.dev Playground

Hosted community playground for previewing, iterating, sharing, and rendering

Free
  • Browser-based preview
  • Composition sharing
  • Design template gallery
โ˜๏ธ Get Started with hyperframes.dev Playground

๐Ÿ“Š Specifications

Language
TypeScript
License
Apache 2.0
Platform
Linux, macOS, Windows
Supported Models
REST API, CLI

๐Ÿ’ฐ Pricing Reality

Completely free and open source under Apache 2.0. No per-render fees, no commercial-use thresholds, no paid tier. hyperframes.dev offers a hosted playground; AWS Lambda rendering pays standard AWS rates.

๐Ÿ‘ฅ Community Health

Stars35,759
Forks4,469
Contributors715
Health Score9/10

๐Ÿท๏ธ Tags

Open SourceFree