https://github.com/crocone/motigen
Video as code, for developers and their coding agents
A web page is the film: it draws frame t on demand, in plain HTML, Canvas or anything else a browser runs. motigen opens it headless, renders every frame in order and pipes them into ffmpeg, so one project gives the same MP4 on every run. Real terminals and real browsers are recorded and replayed inside the same page; the narration, the sound effects and the music are mixed from the timeline the page exports; the subtitles come from the same cues. Everything is a file in git and every step is one command, which is exactly what a coding agent needs to make a product video on its own.
Example video generate session in claude
Video generated for 5 minutes
Top comments (0)