Asciicast player¶
--format cast writes an asciicast, the narration as MP3 and an HTML page that plays
both. The text stays selectable, and the audio drives the player, so seeking stays in
sync.
terminal: {width: 960, height: 540, font_size: 20}
scenes:
- id: intro
narration: >-
This is not a video. It is an asciicast with a narration track, so you can
select and copy the text.
actions:
- run: ls -1
- id: size
narration: The recording itself is only a few kilobytes.
actions:
- run: echo "Hello from an asciicast"
See Asciicast with narration to
embed the .cast and .mp3 in your own page.