HyperFrames
heygen-com/hyperframes · Apache-2.0 · 511 entries
HeyGen's open-source way to make video from HTML. You write a web page with one paused GSAP timeline, and its command-line tool renders it frame by frame. It comes with 456 ready-made blocks and components, nine agent skills, and the tools around them.
- Get it
npm install hyperframes@0.9.23 --ignore-scripts export DO_NOT_TRACK=1 HYPERFRAMES_NO_TELEMETRY=1 HYPERFRAMES_NO_UPDATE_CHECK=1 HYPERFRAMES_NO_AUTO_INSTALL=1 HYPERFRAMES_SKIP_SKILLS=1The second line stops it reporting each command to HeyGen and checking for updates. For one block, copy its folder from the repo, or run: npx hyperframes add <name>
- Needs
Node 22, FFmpeg and a headless Chrome (it downloads one on first render unless you point it at yours). Pages load GSAP and fonts from the network at render time unless you make them local. The WebGPU blocks want a GPU. A HeyGen sign-in only for cloud render, publish and generated media.
- Sends off your machine
Out of the box it sends a usage event to HeyGen for every command and checks GitHub and npm for updates. The five switches in the second line above turn that off. One command, "hyperframes usage", reads your coding agent's login token and no switch stops it, so skip that one. Publish, cloud render and feedback send your project or your words to HeyGen, only when you run them.
- We watched it run
A 6-second film written by hand rendered in 16 seconds, with no browser download.
A news overlay (a stat plate, a source chip, a name plate) rendered in 17 seconds, to MP4 and to a MOV with a clear background that sits over footage.
Three registry blocks drew right the first time: a chart, a lower third, a code diff.

The whip-pan transition block rendered, but it is a demo card. It proves the shader runs, not what the cut looks like on real scenes.
- Not tried here
Cloud render, publish, the two Pro skills, and most of the 456 blocks were read, not run.
- License
Apache-2.0
That covers the code. Some things inside are under other terms: GSAP has its own no-charge license, the bundled sound effects are under Pixabay's, and many blocks imitate other companies' interfaces. The code is free to use. The brands are theirs.
Everything in it
Showing 14 of 511Show everything
HTML to video
- Code DiffAn edit shown as a colored diff — removed lines collapse in red, added lines expand in green.
- Code Highlight SweepA highlight band sweeps across a target line while the surrounding context dims — draws the eye to one line.
- Code MorphOne snippet transforms into another — tokens glide between positions, leavers fade out, enterers fade in. Shiki Magic Move re-driven as a…
- Code Scroll To LineThe camera scrolls a long file to bring a target line to center and spotlights it — for walking through real modules.
- Code Snippet - Apple Terminal ProApple Terminal Pro profile: black background with gray text and lime green cursor, per-character typing animation of a shell session…
- Code Snippet - Dark 2026VS Code workbench with per-character typing animation in the Dark 2026 theme. Full editor chrome with activity bar, sidebar, tabs…
- Code Snippet - Dark ModernVS Code workbench with per-character typing animation in the Dark Modern theme. Full editor chrome with activity bar, sidebar, tabs…
- Code Terminal RunA token-chrome terminal panel runs one command: the prompt line types deterministically behind an integer-cycle caret, executes after a…
- Code TypingToken-streamed typing reveal with a caret that tracks the frontier — deterministic, no CSS animation.
- Terminal SimulatorA terminal window types commands and streams log output. Paste-in snippet: it registers no timeline, you wire it into your own.
- Typed PromptA prompt line types itself in chunked human cadence behind a deterministic blinking caret, with optional backspace-and-retype correction of…
three.js and WebGL
- Code 3D ExtrudeSyntax-highlighted code on a lit, beveled 3D slab that rotates through real space and settles to a readable rest — true WebGL depth and…
- Code Particle AssembleThousands of GPU points scatter through space and fly to the exact glyph pixels of the code, resolving into readable syntax-highlighted…
- Code Shader DissolveThe code compiles into existence: a GPU fragment shader resolves it out of seeded noise with a chromatic dissolve front and edge glow, then…