# Repository Briefing: vincentsch/explainroo
> Source: https://repoforai.com/repo/vincentsch/explainroo (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/vincentsch/explainroo
- **Official Docs / Website**: https://www.explainroo.com
- **Category**: Voice, Vision & Video (语音 / 视觉 / 视频生成)
- **Primary Language**: JavaScript
- **License**: MIT
- **Engineering Health**: A+ (92/100 · Maintenance 35/35 · Adoption 17/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.6.2 (2026-11-21) — https://github.com/vincentsch/explainroo/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: CLI, Local AI, Self-Hosted
- **Momentum**: 1,569 ★ total (+8 24h / +93 7d) · 168 forks
- **Topics**: `ai-agents`, `animation`, `canvas`, `claude-code`, `codex`, `explainer-video`, `ffmpeg`, `javascript`, `kokoro`, `product-demo`, `text-to-speech`, `video-generation`
- **When to Use**: Best for: Engineering, documentation and product teams that want version-controlled explainers or walkthroughs they can regenerate across languages and aspect ratios. Skip if: Editors need a visual timeline, the work depends on extensive footage editing or consistent generated actors, or hosted review links are a launch requirement.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Narration cues: Whisper supplies word timestamps that JavaScript scenes can use to trigger visual changes.
- Voice options: Kokoro provides 54 voices across eight languages; recorded narration, ElevenLabs and Cartesia are alternatives.
- Product walkthroughs: Script browser clicks and typing, then place the recording in a scene with cursor and narration-timed zooms.
- Review and editing: `check --json` exposes diagnostics for arbitrary MP4s; `cut --apply` applies transcript edits with short crossfades.
- Delivery assets: Render wide, vertical, 4:5 or square variants and export subtitles, GIFs, transparent MOVs or an embeddable web player.
- Paid clip controls: OpenRouter dry runs show quotes and supported durations; spend caps are checked before ordering, and project history records prior purchases.
```

## Quick Start / Clone
```bash
npx --yes explainroo check talk.mp4 --script script.txt
```
