talira

asciinema

Record and share your terminal sessions, the simple way

open sourceGPL-3.0-or-laterself-hostablefree

asciinema records terminal sessions as small text files (asciicast) instead of video, then replays them in a terminal or a browser player where viewers can pause, seek and copy text. The CLI, rewritten in Rust for version 3, records with optional keystroke capture and markers, replays with speed and idle-time controls, converts and concatenates recordings, and streams a session live through its own HTTP server or a relay on an asciinema server. Recordings can be uploaded to asciinema.org or a self-hosted asciinema server for sharing and embedding, and the web player and the agg GIF generator are separate tools in the same suite. Created by Marcin Kulik in 2011, the CLI is GPL-3.0 licensed and runs on Linux, macOS and FreeBSD.

Problems it solves

  • record a terminal demo for my README without making a huge video file
  • share a terminal session where viewers can copy the commands as text
  • live-stream my terminal to a colleague during a debugging session
  • embed a terminal recording in my docs site or blog post
  • attach a reproducible recording of a bug to an issue
  • make a command-line tutorial people can pause and step through
  • host terminal recordings on our own server instead of a public site
  • cut long pauses out of a terminal recording before sharing it

Features

  • records terminal output as asciicast (.cast) files, v3 format
  • optional keyboard input capture and session metadata
  • playback with speed, looping, idle-time limit and markers
  • live streaming through a built-in HTTP server or a server relay
  • convert between asciicast v1, v2 and v3, raw output and plain text
  • concatenate recordings
  • pause, resume and add markers with key bindings
  • headless mode for scripting
  • zstd-compressed recordings
  • upload to asciinema.org or a self-hosted server
View 2 more
  • browser player with seeking and text copying
  • embeddable player

Limitations

  • Doesn't run on Windows: the CLI supports Linux, macOS and FreeBSD1

Capabilities

Has an APIplan not known
Has a command line toolplan not known