vincentsch/explainroo
Local Node.js CLI for turning agent-authored scripts into narrated videos
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Explainroo is a Node.js CLI that lets a coding agent author the video as source files. script.md holds narration, scenes.js defines visuals, and video.json controls project settings such as look, pace and output sizes. Kokoro can synthesize the narration locally, Whisper extracts word timings, and scene code can use those timings as animation cues. Headless Chrome draws the canvas frames; ffmpeg assembles the result with narration, music and effects.
The npm manifest names explainroo as the executable and lists playwright-core, roughjs, mathjax and harfbuzzjs among its dependencies. The root tree separates bin/, engine/, runtime/, formats/ and templates/. Formats bundle scene helpers, settings, agent guidance and an example project. Third-party formats are installed from Git with explicit --yes and run as code when used to make a video: the install preview shows Git commands, but is not a substitute for reviewing the format's source.
Key Capabilities & Differentiators
Kokoro offers 54 voices across eight languages. Projects can carry a script per language, use recorded narration, or opt into ElevenLabs or Cartesia; German requires an alternative to Kokoro. The canvas supports charts, formulas, step-by-step code, 1,800 Lucide icons and embedded footage. For product demos, an agent can reconstruct screens from code or a site, or script clicks and typing in a real browser and place the recording in a scene with a cursor and zooms timed to the narration.
Wide, vertical, 4:5 and square outputs can share a project while overriding settings such as caption style and pace. Renders produce SRT/VTT subtitles, a cover image and, when marked in the script, YouTube chapters. GIF, transparent MOV and web-player export cover other delivery needs. check and verify also accept externally produced videos: they report blank or static frames, silence, loudness, true peak and small text, and can compare recognized speech with a supplied script. cut supports transcript-driven edits to an existing recording.
Trade-offs & Limitations
Compared with a timeline editor, source-driven scenes make narration, animation and output variants easier to revise together and track in version control. The cost is that bespoke visuals require JavaScript or agent iteration, and automated checks cannot judge pacing, clarity or visual intent. Compared with cloud prompt-to-video workflows, local canvas rendering gives direct control over text and diagrams and avoids a paid rendering dependency, but pushes speech processing, browser rendering and encoding onto your machine. OpenRouter clips are better reserved for short illustrative shots than text, diagrams or recurring characters.
Paid clip estimates are checked against a cap before ordering, but final charges can be slightly higher. Publishing through YouTube, Buffer or Blotato needs an account and explicit confirmation; its dry run can still contact providers. Hosted share is not active, and the presenter interface has no built-in provider. The MIT license covers the repository, not the rights to external assets or the terms of third-party services.
Hardware & Deployment Guide
Run npx --yes explainroo doctor --fetch to check a machine and fetch the local voice and timing stack. The CLI needs Node.js 20.11 or later, ffmpeg, and Chrome or Chromium; no GPU is required. The package is about 100 MB, and the runtime and models add about 860 MB. Kokoro also needs espeak-ng for Spanish, French, Italian, Portuguese and Hindi. CI tests run on Linux, macOS and Windows; check browser and encoder availability on the actual worker image before relying on it.
The default voice, timing, music and rendering pipeline runs locally without an account or API key, but first-time provisioning downloads from npm and Hugging Face. A coding agent may use its own service, browser capture contacts the target site and its asset hosts, and optional providers add their own network and credential requirements. Version 0.6.0 added real browser walkthroughs, 0.6.1 added Blotato publishing, and 0.6.2 restored Linux installation after an upstream ONNX Runtime download failure.
check --json exposes diagnostics for arbitrary MP4s; cut --apply applies transcript edits with short crossfades.Engineering, documentation and product teams that want version-controlled explainers or walkthroughs they can regenerate across languages and aspect ratios.
Editors need a visual timeline, the work depends on extensive footage editing or consistent generated actors, or hosted review links are a launch requirement.
Quick Start & Installation
npx --yes explainroo check talk.mp4 --script script.txt
Comparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| explainroo ★ | 1.6k | +93 | JavaScript | MIT | Local Node.js CLI for turning agent-authored scripts into narrated videos |
| openmotion | 18.6k | +1.6k | TypeScript | Apache-2.0 | An HTML-first video studio for turning references into editable branded motion g |
| hyperframes | 95.5k | +4.4k | TypeScript | Apache-2.0 | HTML timelines for editable video projects and frame-by-frame rendering |
| OpenMontage | 85.4k | +1.5k | Python | AGPL-3.0 | Agent-led video production from brief to finished edit |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/vincentsch/explainroo.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about explainroo
How do I integrate Explainroo into an agent workflow?
script.md, define visuals in scenes.js, and put project settings in video.json. Scenes can cue a reveal on a spoken word using Whisper timings rather than hard-coded timestamps. Treat the rendered MP4 and its subtitles as build artifacts; run check --json to feed diagnostics back to the agent.Does it require a GPU, and how should I size a render machine?
What should a commercial or privacy-sensitive deployment check?
When should I choose a timeline editor instead?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy