What is explainroo?
explainroo is an open-source video kit built for coding agents rather than for people clicking through an editor. It sits in the Video Generation category of the Multimodal Generation tools and is open-source, written in JavaScript and licensed MIT. To get started: clone and set up.
Overview
explainroo is an open-source video kit built for coding agents rather than for people clicking through an editor. You give an agent such as Claude Code or Codex the repo and a topic; the agent writes two files — `script.md` with the words the voice will say, and `scenes.js` with a little JavaScript that draws the pictures, each of which can appear on a chosen word of the script — and explainroo turns them into a finished MP4. The project's `AGENTS.md` is the playbook the agent follows, from setup to a checked final render.
Everything after the script runs on your own machine. Kokoro, an open voice model, reads the narration in English, Spanish, French, Italian, Brazilian Portuguese, Hindi, Japanese or Mandarin Chinese with no account or API key; Whisper notes when each word is spoken; Chrome draws the frames in the background with hand-drawn Rough.js lines, Lucide icons, charts, formulas, step-by-step code and your own screenshots or clips; a virtual camera moves in on what the voice is talking about and pulls back at the end; and ffmpeg assembles the file with generated background music that ducks under the voice. Because an agent cannot watch a video, explainroo also gives it stills, a contact sheet of the whole video, a layout check for clipped or overlapping text and a speech check for mispronounced words.


The same pipeline makes product demos. The agent rebuilds an app's screens from its code or website — same colours, fonts and button labels — and a mouse pointer clicks and types through them; `explainroo capture` saves a live site's screenshots, colours, fonts, logo and wording first, and a real screen recording can play inside a scene. explainroo is MIT licensed and written in JavaScript; each video carries a small explainroo.com watermark that one setting turns off.
What it does
- Agent-first workflow: the agent writes `script.md` and `scenes.js`, then follows `AGENTS.md` to render and check the video
- Local narration with Kokoro — 54 voices in eight languages, no API key — or an ElevenLabs voice or your own recording
- Whisper word timing, so each drawing, chart, formula or code step lands on the word that introduces it
- Six built-in looks (paper, clean, chalk, blueprint, midnight, editorial), switched with one setting in `video.json`, plus custom looks as a small JSON file
- Sizes for YouTube 16:9, Shorts/TikTok/Reels 9:16, Instagram/LinkedIn 4:5 and square, with word-by-word captions on the tall formats

- Every render also writes `.srt`/`.vtt` subtitles, a cover image and YouTube chapters; GIF, transparent MOV and an embeddable web player are one flag away
Getting started
You need Node.js 20.11 or newer, ffmpeg, and Chrome or Chromium. The first setup downloads the voice and timing models once (about 400 MB); no graphics card is needed.
Clone and set up
`doctor --fetch` checks the prerequisites and downloads the Kokoro and Whisper models.
git clone https://github.com/vincentsch/explainroo.git
cd explainroo
npm install
node bin/explainroo.js doctor --fetchAdd speech tools for other languages (optional)
Spanish, French, Italian, Portuguese and Hindi narration need espeak-ng. Japanese and Chinese need Python with misaki instead, as described in `AGENTS.md`.
sudo apt install espeak-ng
# or
brew install espeak-ngAsk your agent for a video
Start Claude Code, Codex or another coding agent and describe the video. The README says it works best with Claude Code and Opus 5.5. The agent follows `AGENTS.md` and saves the result as `videos/<name>/out/video.mp4`. You can also skip the clone and paste this prompt into any agent:
Make me a short explainer video about [your topic].
Use explainroo for it: clone https://github.com/vincentsch/explainroo,
read its AGENTS.md and follow the steps.Render other sizes and check the result
One project can render several sizes next to each other. The check command flags cut-off or overlapping text; `--view-width` also flags text that is too small for a feed-sized player.
explainroo render videos/demo --size tiktok
explainroo check videos/demo --view-width 854Commands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Have a coding agent turn a concept, an API or an internal process into a narrated one-minute explainer
- Produce a product demo of your own app from its code or live site, without recording a screen by hand
- Cut the same video for YouTube, TikTok, LinkedIn and a README GIF from one project
- Make narrated videos fully offline when you cannot send a script to a cloud voice service
How explainroo compares
explainroo alongside other open-source video generation tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| MoneyPrinterTurbo | ★ 147k | A self-hosted WebUI, API and CLI that turns one topic or keyword into a finished short video — script, stock or generated footage, voiceover, subtitles and music. |
| HyperFrames | ★ 93.2k | HeyGen's HTML-to-video renderer: author a composition in HTML, CSS and JS, preview it in a browser, then render the same input to a deterministic MP4 locally or on AWS Lambda. |
| OpenMontage | ★ 84.5k | An agentic video production system that gives a coding assistant 12 pipelines and 100+ tools to research, script, generate and render a video end to end. |
| Open Generative AI | ★ 37k | MIT-licensed desktop and web studio for AI image, video and lip-sync generation that runs hosted models through the Muapi.ai API, with optional local image models in the desktop app. |
| Hypit | ★ 31.9k | A markup language and compiler that lets a coding agent rebuild a reference video as an editable workflow — footage, captions, B-roll and effects anchored to words rather than timestamps — and render variants in one command. |
| Toonflow | ★ 23.3k | Infinite-canvas workbench for AI short-drama production, taking a novel through chapter events, script, storyboards and video nodes. |
| Lemo-Opuscar | ★ 23.2k | A Claude Code skill and library of 59 film styles that has a coding agent make a narrated short film entirely in code — canvas and WebGL frames, scored music and TTS — with no video model. |
| explainroo | ★ 1.5k | Narrated explainer videos and product demos made by your coding agent |
