Tuireel supports two advanced config patterns: multi-video configs for producing multiple recordings from a single file, and step includes for sharing reusable step sequences across configs.Documentation Index
Fetch the complete documentation index at: https://tuireel.micr.dev/llms.txt
Use this file to discover all available pages before exploring further.
Multi-video Configs
Instead of a single config object, define avideos array to produce multiple recordings in one run:
How It Works
- Each video entry gets its own output file and recording
- The
defaultsobject provides shared settings - any field you’d normally put at the top level (deliveryProfile,preset, theme, sound, cursor, HUD,fps,captureFps, cols, rows, etc.) - Each video can override any default with its own value
- Every video must have a
name(used for identification) andoutput(output file path) - Each video must define its own
stepsarray fpsalways means final output cadence, whilecaptureFpsis the raw terminal capture cadence
Video Definition Fields
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Unique name for this video |
output | string | Yes | Output file path |
steps | array | Yes | Steps for this video |
deliveryProfile | string | No | Override timing + readability profile |
preset | string | No | Override preset for this video |
format | string | No | Override format (mp4, webm, gif) |
theme | string or object | No | Override theme |
sound | object | No | Override sound config |
cursor | object | No | Override cursor config |
hud | object | No | Override HUD config |
fps | number | No | Override final output cadence |
captureFps | number | No | Override raw capture cadence |
cols | number | No | Override terminal width |
rows | number | No | Override terminal height |
Step Includes
Extract reusable step sequences into separate JSONC files and reference them with$include:
Include File Format
Include files must define asteps array:
$include directive - they replace the include object in the final step array.
Include Path Resolution
Include paths are resolved relative to the config file directory. If your config is atdemos/.tuireel.jsonc and you reference "$include": "./shared/setup.jsonc", Tuireel looks for demos/shared/setup.jsonc.
Nested Includes
Include files can themselves contain$include directives. Nested paths are resolved relative to each include file’s own directory. Circular includes are detected and produce a clear error.
Multi-video with Includes
Combine both features for maximum reuse:shared/setup.jsonc automatically apply to every video that includes it.
When to Use These Features
| Scenario | Feature |
|---|---|
| Demo suites with shared branding | Multi-video with defaults |
| Common setup steps across recordings | Step includes |
| Multiple output formats for same content | Multi-video (one per format) |
| Shared onboarding sequence | Step include referenced from multiple configs |
| CI-generated documentation videos | Multi-video for batch recording |