TraceAvatar
Menu

Product · Do it for me

The same guide, but it does the work

The cursor really clicks, types, picks options and submits while the viewer watches. One trace plays both ways, so you never keep two copies of a guide.

See it on a real app

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

Do it for me on DutyCaptain: it types the task for you and stops at Start task.· with narration
Show me: drawn.
Do it for me: done, up to Save schedule.
A Do it for me link always asks first.
Typed for real: React sees every letter, and Send is never pressed.
Never learns a password: it hands over, and Enter carries on.

How it works

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

Do it for me, from npm
import { createTrace } from 'trace-avatar/perform';

const helper = createTrace({
  trace: '/tours/invoice.trace.json',
  navigate: (path) => router.push(path),
  prepare: async (requires) => requires.includes('signed-in') ? isSignedIn() : true,
  onReset: () => resetSandbox(),
});
helper.on('handoff', ({ step }) => console.log('viewer types', step.target?.name));
helper.play();
  1. 1

    Prepare

    prepare runs before every start: sign into the sandbox, check the session. It can stop the guide with a message.
  2. 2

    Act

    Clicks, typing, keys and hovers happen on the page. Values are set the way frameworks notice: the native setter, then an input event.
  3. 3

    Hand off

    A masked field stops the guide: “Your turn: type in “Password”, then press play”. It never knows the text.
  4. 4

    Wait for the app

    Steps with until wait for “Saved” instead of racing your app, and the guide carries on after full page loads.

What you get

  • Framework-aware input

    React, Vue and Svelte see the values. A select picks the option whose text you typed; rich-text editors get insertText; Enter in a field submits the form.
  • Never learns a password

    Masked fields are handed to the viewer, and the trace only ever holds dots.
  • Checkpoints

    If the viewer steps in, play goes on from the next step marked checkpoint, since the page may have moved on. It never seeks backwards.
  • Survives page loads

    With resumeKey a guide created on the next page within ten minutes picks up where it was.
  • Asks first from a link

    Do it for me from a shared link always asks “Start · Show me instead · Cancel”. A link alone never makes your app act.
  • Made for sandboxes

    Point it at sandbox or demo data: a trace can click anything the page lets it.

Show me and Do it for me, side by side

Show meDo it for me
Touches the appnever: click-through overlayclicks, types, presses keys, hovers
Typed textshown in a chiptyped into the field
Masked fieldsshown as •••handed to the viewer
Viewer steps inpauses; resumes where it waspauses; resumes at the next checkpoint
Use it onany pagesandbox or demo data

Questions

Is it safe to let a guide act on my app?
It can only do what the page lets any user do, and only guides you ship can play. Use it with sandbox or demo data, and use prepare to check the session first.
How much bigger is it than Show me?
Perform mode is a separate 15 KB entry (player plus hands). Pages that only need Show me never load it.
Can I use it from React or the custom element?
Yes: pass performer={createPerformer} to <TraceAvatar mode="perform">, or set the element's hooks property.

More of TraceAvatar

Free and open source

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