▲ 481 today5.2k starsRustHN ×1
Rust-based fframes renders AI-driven videos 30× faster
What is fframes?
fframes lets you write video logic in Rust that outputs an SVG tree for each frame, then renders the whole clip at industry-leading speed. It also provides a live preview so you can iterate quickly with AI agents.
Who it is for
If you build AI-generated video content, you can prototype and render instantly without waiting for slow exporters.
How fframes works
A Rust function returns an SVG tree for each frame using the svgr! macro. The SVG is drawn either by Skia on the GPU or by a CPU fallback directly into a framebuffer. Each rendered frame is handed to FFmpeg's libav libraries, which encode the sequence into a video file. A preview UI decodes source media, draws scene trees with Skia, and lets you scrub a timeline. Prebuilt Skia and FFmpeg binaries are downloaded for macOS and Linux; other platforms compile them from source.
What you can do with it
- Write code that animates shapes and text and output a video file.
- Preview the video in real time with an interactive timeline scrubber.
- Compose GPU shader effects inside SVG and render them as part of the video.
- Generate audio visualizations that sync to a soundtrack.
Good to know
- Windows only links a prebuilt FFmpeg binary; source builds are not supported.
- CPU backend skips Skia, provides no preview window and renders more slowly.
- Building on non-macOS/Linux targets may require up to 20 minutes to compile Skia and FFmpeg.
Written from the project's own README.
Try it in 60 seconds
npx skills add https://fframes.studio
New projects are not vetted. Skim the code, and run it in a fresh folder or a container before giving it your files or keys.
The story so far
Early Signal first spotted dmtrKovalenko/fframes on December 4, 2026, when it had 5k GitHub stars. It has since grown to 5.2k. On its busiest day it gained 481 stars. It has been discussed in 1 Hacker News thread, the top one with 3 points. Early Signal files it under Coding, Video, Agents.
Questions about fframes
- How do I install fframes?
- Run: npx skills add https://fframes.studio