Explainer videos and product demos made by your AI agent. Free and open source: a local voice (Kokoro), word timing (Whisper) and a canvas renderer turn a script into a narrated MP4.
JavaScript ai-agentsanimationcanvasclaude-codecodexexplainer-videoffmpegjavascriptkokoroproduct-demotext-to-speechvideo-generationwhisper
Fail a hung test after three minutes in CI (#27)
Vincent Schmalbach774865ca965d
diff --git a/.github/workflows/test.yml b/.github/workflows/test.ymlindex bd99be0..fc397cc 100644--- a/.github/workflows/test.yml+++ b/.github/workflows/test.yml@@ -12,6 +12,7 @@ jobs:test:name: ${{ matrix.os }}, Node ${{ matrix.node }}runs-on: ${{ matrix.os }}+ timeout-minutes: 25strategy:fail-fast: falsematrix:@@ -39,4 +40,6 @@ jobs:- name: Check the setuprun: node bin/explainroo.js doctorcontinue-on-error: true- - run: npm test+ # A test that hangs fails after three minutes with its name, and+ # leftover browser processes do not keep the run open.+ - run: node --test --test-timeout=180000 --test-force-exit test/*.test.jsdiff --git a/README.md b/README.mdindex b3f7768..5d97164 100644--- a/README.md+++ b/README.md@@ -153,8 +153,8 @@ unofficial demos of [Gmail, ChatGPT and Claude](https://www.explainroo.com/videoYou need Node.js 20.11 or newer, ffmpeg, and Chrome or Chromium. The firstsetup downloads the voice and timing models once, about 400 MB together. You-don't need a graphics card. I develop and test explainroo on Linux. It should-work on macOS and Windows, but I have tested it less there.+don't need a graphics card. I develop explainroo on Linux, and its tests run+on Linux, macOS and Windows for every change.```bashgit clone https://github.com/vincentsch/explainroo.git