Skip to main content

What is Tuireel?

Tuireel is a command-line tool that turns declarative scripts into polished terminal demo videos. Instead of manually recording your terminal and hoping you don’t make a typo, you write a simple JSONC config describing what to type, what keys to press, and what to wait for — then Tuireel records it perfectly, every time. Under the hood, Tuireel spawns a virtual PTY (pseudo-terminal), executes your scripted steps against a real shell, captures every frame, and composites the final output into MP4, WebM, or GIF. The result is a repeatable, pixel-perfect recording with optional overlays like cursors, HUDs, sound effects, and theming. No screen-recording software. No video editing. No retakes.

Why Tuireel?

Repeatable

Same script, same output every time. Update your CLI and re-record in one command.

Scripted

Declarative JSONC config with typed steps: launch, type, press, wait, pause, and more.

Polished

Built-in themes (Catppuccin, Dracula, Tokyo Night), cursor overlays, HUD, and sound effects.

Multiple Formats

Output to MP4, WebM, or GIF. Multi-video configs for recording suites.

How it Works

Tuireel follows a simple pipeline:
  1. Script — Write a .tuireel.jsonc config with your steps
  2. Record — Tuireel spawns a PTY, executes steps, captures frames
  3. Composite — Frames are composited with theme, cursor, and HUD overlays
  4. Output — Final video is encoded to your chosen format

Quick Example

A minimal .tuireel.jsonc config:
{
  "output": "demo.mp4",
  "steps": [
    { "type": "launch", "command": "node" },
    { "type": "type", "text": "console.log('Hello from Tuireel!')" },
    { "type": "press", "key": "Enter" },
    { "type": "pause", "duration": 2 }
  ]
}
This launches a Node.js REPL, types a command, presses Enter, waits 2 seconds, and saves the recording as demo.mp4.

Get started in 5 minutes

Follow the Quickstart guide to install Tuireel and produce your first recording.