# Terminal demo export

> Terminal demo export in the Edith ed command line reference. Terminal · CLI reference

- Canonical URL: https://getedith.pro/docs/cli/terminal/demo
- Updated: 2026-12-02

[Terminal](https://getedith.pro/docs/cli/terminal) · [CLI reference](https://getedith.pro/docs/cli)

Terminal can render a [VHS](https://github.com/charmbracelet/vhs) tape you wrote
into GIF, MP4, WebM or PNG files. Nothing runs until you have read the script and
asked for it. The same flow is available from the **Export demo** button in
Terminal.

```sh
ed invoke terminal terminal.demo.prepare --json '{"tapePath":"/Users/me/demo/intro.tape","toolPath":"/opt/homebrew/bin/vhs"}'
ed invoke terminal terminal.demo.start --json '{"id":"<review id>"}'
ed invoke terminal terminal.demo.status
ed invoke terminal terminal.demo.cancel --json '{"id":"<review id>"}'
ed invoke terminal terminal.demo.save --json '{"id":"<review id>","name":"demo.gif","folder":"/Users/me/Movies"}'
ed invoke terminal terminal.demo.discard --json '{"id":"<review id>"}'
```

| Operation | Input | Result |
| --- | --- | --- |
| `terminal.demo.prepare` | Absolute `tapePath` and `toolPath` | Reads the tape, checks that `ttyd`, `ffmpeg` and Chrome or Chromium are installed, and returns phase `prepared` with the exact `script`. Nothing runs yet. |
| `terminal.demo.start` | `id` of the reviewed plan | Starts VHS on the reviewed copy and returns `rendering`. Poll `status`. |
| `terminal.demo.status` | Nothing or `{}` | The phase, plan, finished `media` and message. |
| `terminal.demo.cancel` | `id` of a running render | Stops VHS and its child processes, removes partial output, and returns `cancelled`. |
| `terminal.demo.save` | `id`, a media `name` and an absolute `folder` | Copies one finished file into the folder. An existing file is never replaced. |
| `terminal.demo.discard` | `id` | Removes the render folder and returns `idle`. Cancel a running render first. |

Phases are `idle`, `prepared`, `rendering`, `completed`, `cancelled` and
`failed`. The review ID lasts for the session; a stale ID is refused. Payloads
are limited to 8 KB and tapes to 64 KB of UTF-8.

The tape runs with your account's access, so read the script before you start
it. Edith renders a copy of the reviewed script, so editing the tape afterwards
changes nothing until you prepare it again. `Source`, `Copy`, `Paste`, `VHS_` and
`ROD_` environment overrides, folder or text outputs and paths outside the
render folder are refused. Use plain output names with one file per video format.

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
