Repository navigation
motlab 0.1.0
The first release of motlab: video as code, a review viewer, and two agent skills.
Every scene is a canvas page with one function, renderAt(t). motlab plays the pages in a web viewer and renders them to MP4 in headless Chrome, encoding the frames with WebCodecs inside the page. The motlab skill builds the scenes from your references and revises them from the notes you leave in the viewer; motlab-assets builds reusable asset kits (2D, rigged characters, transitions, 3D with PBR textures).
What is in it
motlab start,edit,stopandrestart: one viewer in the background on port 4173 for all your projects, with frame-by-frame review, notes on boxes, points and time ranges, versions, and Export at 720p to 4K.motlab render,stills,videoandeventson the command line.node install.jsinstalls the command and the skills for Claude Code, Codex, Cursor, OpenCode, Copilot, Gemini CLI, Amp, Windsurf and Antigravity;motlab updateandmotlab uninstallkeep it current or remove it.- A benchmark against Remotion and HyperFrames in
bench/. On the test laptop (Ryzen 7 5800H, RTX 3060 Laptop, Windows 11) motlab rendered the benchmark scene 2 to 4 times as fast with a GPU. Without one it was still the fastest at 1080p, and HyperFrames was faster at 4K.
Install
git clone https://github.com/staryone/motlab.git
cd motlab
node install.js
motlab doctorYou need Node 24 or newer, Google Chrome or Chromium, and ffmpeg with ffprobe.
What is not tested yet
motlab was built and measured on one Windows laptop. CI runs the tests, the end-to-end renders among them, on Linux and Windows runners without a GPU, but no real video has been made on Linux, and nothing has run on macOS. The full list is in ROADMAP.md, and everything that went into this release is in CHANGELOG.md.