H
hyperframes-to-remotion
About hyperframes-to-remotion
A migration workflow for converting existing HyperFrames HTML compositions into React-based Remotion code. It is intended for creators or developers moving scene layouts and timelines to Remotion’s frame-based primitives.
Key features
- 01Parse HTML structure and timelines
- 02Rebuild scenes as React components
- 03Replace GSAP interpolation with Remotion primitives
- 04Verify results in Remotion Studio
Use cases
- 01Migrate a legacy HyperFrames composition
- 02Recreate timeline animation in Remotion
- 03Check converted output in Remotion Studio
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ phamthanhnghia/ remotion-agent-skills --skill hyperframes-to-remotionAfter installing, type/hyperframes-to-remotionin Claude Code to confirm it loaded.
Details
From the project READMEHyperFrames to Remotion Migration Workflow
Migrate legacy or existing HyperFrames HTML compositions to pure React Remotion code.
Mapping Table
| HyperFrames Concept | Remotion Equivalent |
|---|---|
GSAP Timeline .to() / .from() | useCurrentFrame() + spring() / interpolate() |
<div class="clip" data-start data-end> | <Sequence from={start} durationInFrames={duration}> |
<video> element | <OffthreadVideo src={staticFile('...')} /> |
<audio> element | <Audio src={staticFile('...')} /> |
npx hyperframes render | npx remotion render src/index.ts MyComp out/video.mp4 |
Migration Steps
- Parse HyperFrames HTML structure and timeline values.
- Re-create scene layouts as React
<AbsoluteFill>components. - Replace GSAP interpolations with frame-deterministic Remotion
spring()andinterpolate()primitives. - Verify output in Remotion Studio.
Comments
Markdown supported