By alireza12t
Foldline: fast HTML canvas to MP4 rendering on a Mac, plus LemoLab's lemo-opuscar film styles.
Trending marketplaces
7-day visitors to each marketplace page
npx claudepluginhub alireza12t/foldlineRender HTML canvas animations to MP4 fast on a Mac, and make films in 66 code-made styles. Adds the Foldline MCP server: styles, guides, stills, renders, voice and sound mastering.
Make a film in one of the library's code-rendered styles: your agent directs, draws, scores and mixes it.
Render HTML canvas animations to MP4, fast, on a Mac.
With the full lemo-opuscar library of 66 film styles made in code,
and an MCP server so Claude Code, Codex, Cursor and VS Code can make films with it.
Made for Unfold, an animated "What if" channel in a paper pop-up book style.
https://github.com/user-attachments/assets/05724852-c9ae-4762-90a9-634315b2b016
▶ Watch on YouTube · download the MP4 · read the deep dive on Medium
Made with Foldline itself: every frame drawn in code, a local text-to-speech voice, music synthesised in code. It renders in 34 s. Source in examples/foldline-explainer.
Unfold, built in public: every number, good or bad. Drawn in code, rendered with Foldline.
Unfold is a brand new animated channel growing in the open, on its way to the YouTube Partner Program. Most of its videos are rendered with Foldline, so it's the best place to see what Foldline does on a real channel.
Foldline turns a web page that draws a film in code into an H.264 MP4. You write an HTML page with a <canvas> and a render(t) function. Foldline opens it in headless Chrome, draws every frame, and encodes the video inside the page with WebCodecs on the Mac's hardware encoder, so frames never leave the GPU. On an M1 Pro, an 8.4-minute 1080p 60 fps video renders in 161 s instead of 426 s (see Results). It's open source and free for non-commercial use. Its MCP server (npx -y foldline-mcp) lets coding agents like Claude Code, Codex and Cursor pick a style, render review stills and make the final video.
Foldline is a project by Alireza Toghiani, built for the Unfold channel. It isn't a GitHub fork. It ships the full lemo-opuscar library by LemoLab:
styles/, each with a style prompt and a demo film made in codecore/ (render, voice, music, mix)DIRECTOR.md, TECHNIQUE.md and MY-STYLES.mdplugin/7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.