I built Argo, an open-source CLI that turns Playwright test scripts into product demo videos — complete with overlays and AI-generated voiceover.
The idea: if you already know Playwright, you can write a demo script the same way you'd write a test. Argo records the browser, generates voiceover from a simple JSON manifest using Kokoro TTS (runs locally, no API keys), and exports an MP4. How it works: 1. Write a demo script using the Playwright API 2. Add a voiceover manifest (JSON with scene names and narration text) 3. Run npx argo pipeline my-demo
That's it. One command runs the full pipeline: TTS generation → browser recording → audio alignment → video export via ffmpeg.
Features:
- Overlay system (lower-thirds, headline cards, callouts) injected during recording
- Local TTS via Kokoro — no cloud services, no API keys
- Content-addressed caching so re-runs are fast
- Familiar Playwright API — page.click(), page.goto(), etc.
The showcase video on the repo was itself recorded by Argo, using Argo.Code: https://github.com/shreyaskarnik/argo npm: https://www.npmjs.com/package/@argo-video/cli
Would love feedback on the API design and what use cases you'd find most valuable.
mayurjobanputra•1h ago