TraceAvatar
Menu

Product · Record

Make a guide by using your app

Press record, do the task, press stop. The studio turns what you did into a guide: review the steps in words, add captions and waits, and test both modes before you save. No JSON.

See it on a real app

Recorded on DutyCaptain and SpeedyMessaging, HelloWorld Technologies products built with TraceAvatar, by TraceAvatar's own renderer.

Record mode on DutyCaptain: use the page, Stop, review, Save, Publish.· with narration
AI suggestions, shown first and accepted one by one.
Edit a saved guide: saving replaces it, and the old one is kept as a version.
What is kept, and what never is.

How it works

Open source, MIT licensed, zero dependencies. Install it from npm or a CDN.

Let authors record, in your app
import { mount } from 'trace-avatar/auto';

mount({
  guides: '/guides/index.json',
  record: {
    allowed: () => user.role === 'owner',
    save: (trace, entry) => api.saveGuide(trace, entry),
    requires: ['signed-in'],
  },
});
  1. 1

    Start

    From the launcher, Alt+Shift+R or ?trace-record=1, only for people allowed() says yes to.
  2. 2

    Use the app

    A bar shows the time and the steps: Pause, + Caption, Wait for…, Mask / Reveal and Stop. It carries on across page loads and sign-ins.
  3. 3

    Review

    The steps in words (“Click “Save””): edit captions, move or delete steps, mark checkpoints and pauses, set the title, modes and pages.
  4. 4

    Test and save

    ▶ Show me and ▶ Do it for me right there. Save hands your function the trace and its manifest entry; Download and Copy JSON are always there.

What you get

  • Stable targets

    Each element is described by its most stable selector (data-testid, a human id, aria-label…), plus role, name, text and the pixel point.
  • Masked by default

    Typed text is masked unless a field is marked data-trace-reveal. Passwords, cards and codes are always masked; data-trace-ignore hides anything.
  • Real time, tidied

    Pauses over 4 s play back as 1.5 s, and scrolls the player would do anyway are dropped.
  • Across sign-ins

    Coming back from another site adds a “Sign in, then press play” pause and marks the guide as needing sign-in.
  • Loaded only for authors

    The studio (about 14 KB) loads when an author starts recording, never before. Viewers don't pay for it.
  • Optional AI suggestions

    Captions, waits and a title, each shown before → after with Accept and Reject. It calls your backend; with no ai, nothing calls a model.

Questions

Can I record without the studio?
Yes: createRecorder() from trace-avatar/record gives you a trace from stop(), about 9 KB.
What is sent to the AI?
Step types, each element's role and name, page paths, existing captions and timing. Never what was typed, selectors, or text inside fields or masked areas. The studio shows the exact payload under “What's sent”.
Does it record across pages?
Yes: a recording carries on in the same tab across full page loads for up to 30 minutes.

More of TraceAvatar

Free and open source

Everything on this page works today, on your machine and in your CI.