Product · GIF and video
Docs GIFs that fail when the app changes
trace-avatar-render plays a guide on your real app in headless Chromium and writes a GIF or an MP4. A stalled guide fails the render, so a GIF that no longer matches the app fails CI instead of quietly going stale.
See it on a real app
Recorded on SpeedyMessaging, a HelloWorld Technologies product built with TraceAvatar, by TraceAvatar's own renderer.
Want videos and GIFs like these for your app, made for you? Get a quote →
How it works
Open source, MIT licensed, zero dependencies. Install it from npm or a CDN.
npx trace-avatar-render invoice.trace.json \
--url http://localhost:3000/app \
--out invoice.gif --out invoice.mp4 \
--frame browser --camera --scale 2 --captions both- 1
Play
The guide runs on your real app in headless Chromium, signed in with a saved Playwright session if needed. - 2
Capture
Frames come from Chromium's screencast on the same clock as the player's events. - 3
Cut
The middle of each long wait (loading, saving) is cut, so the video shows the work, not the spinner. - 4
Compose
Optionally a browser window, a camera that zooms on each action, captions, title and end cards. Then GIF or MP4.
What you get
Fails loudly
A stalled guide fails the render with a screenshot.--allow-stallrenders it anyway when you mean to.Polish built in
--frame browser, --camera zooms, burned-in or VTT captions with chapters, a poster, title and end cards.Narration
MP4s can speak each caption with --voice: an AI gateway, an OpenAI-compatible speech server, or macOS say, offline and free.Private by default
Masked fields only ever get dots;--bluranddata-trace-blurblur what you choose.Optional AI checks
--qa flags error messages, empty states or personal data in frames; --alt writes alt text. Nothing calls a model without --ai.Or in the browser
No server:saveVideo()fromtrace-avatar/exportrecords the guide on the page and gives a GIF or a video.
Which to use
| trace-avatar-render | Save as video (browser) | |
|---|---|---|
| Runs | your machine or CI, headless | the viewer's browser, after they share the tab |
| Output | GIF, MP4, VTT, poster | GIF, or WebM (MP4 in Safari) |
| Full page loads | yes | no: the recording page goes away |
| Polish | window frame, camera, cards, narration | the page as it is; long waits cut |
| Size in a page | nothing: a CLI | 2.5 KB, plus 5 KB for the GIF encoder |
Questions
Does it need the trace-avatar library in my app?
No. The renderer brings its own player into the page. Your app only has to load at the URL you give it.
Can it render Do it for me?
Yes, with --mode perform and --allow-perform: it really clicks and types, so use a sandbox account.
Can I call it from code?
Yes:
render() from trace-avatar-render returns the files written, the length, and the cuts.More of TraceAvatar
Free and open source
Everything on this page works today, on your machine and in your CI.