1080P60 · LOCAL FIRST · WRITTEN IN GO

Video, as code.

A declarative framework that renders flat-design videos with your design system. Geist Mono, gruvbox, synthesized music, templates, guardrails — and no cloud required.

terminal
$ go install github.com/sazardev/framekit/cmd/framekit@latest
$ framekit render --spec intro.json --quality high
  rendered: intro.mp4 · 1920x1080 · 60fps · 881 KB

v0.2.0 · MIT · ffmpeg required · renders entirely on your machine

01 / WHY

Everything you need. Nothing you don't.

1080p60 by default

Native 1920×1080 at 60 fps in every quality profile. x264 animation tune, capped bitrate and level 4.2 — safe for portrait too.

Your design system

Gruvbox palette and embedded Geist Mono match sazardev.stream exactly. Eight presets or full hex overrides. Flat: no gradients, shadows or radii.

Music & voices

Original ambient tracks synthesized in pure Go. Optional Cloudflare Workers AI voices, downloaded and mixed locally. No samples, no licensing.

Templates

Six production-ready specs — intro, reel, pitch, presentation, image showcase, quote — with {{var:default}} substitution.

Linter & guardrails

Real text-overflow measurement, WCAG contrast, pacing, forbidden words, size estimates and asset policy. Strict by default in every render.

Agentic by design

JSON Schema, a deterministic plan from natural language, batch variant generation and skill docs for coding agents.

02 / INTERFACES

One engine, three ways in.

Framekit CLI rendering a video
CLI — scriptable, lint-first
Framekit interactive terminal UI
TUI — keyboard-driven studio
Framekit local desktop studio
Desktop — local web studio
install the apps
$ framekit tui
$ framekit desktop        # opens 127.0.0.1:8239

03 / QUALITY

Crisp. Small. Fast.

Measured on the 25-second intro at 60 fps (1,500 frames). All profiles are faststart H.264 + AAC.

ProfileResolutionCRFPresetBitrate capReal size
draft960×540@6032veryfast800k329 KB
standard1920×1080@6027veryfast1.8M—
social1920×1080@6025veryfast1.5M—
high1920×1080@6022veryfast3M881 KB
master1920×1080@6018faster6M—

04 / SPEC

Declarative, inspectable, reusable.

A spec is plain JSON. Agents can emit it from the published schema, humans can edit it by hand, and the linter checks it before a single frame is drawn.

  • Scene kinds: terminal, code, title, stats, credits, image, slide
  • Effects: easing, transitions, scanline, tracking, stagger
  • Music progressions and tempo; opt-in AI voices
  • Configurable rules and security in .framekit.json
intro.json
{
  "format": "landscape",
  "effects": { "easing": "easeOutQuint" },
  "music": { "progression": "ambient" },
  "scenes": [
    { "kind": "title", "title": "Omar Flores" },
    { "kind": "stats", "stats": [...] }
  ]
}