asciinema

asciinema

Command-line terminal session recorder and web player

16.9kstars
1kforks
Last commit: 8d ago
Repo age: 15y old
asciinema screenshot

asciinema is an open-source command-line tool for recording, replaying and live-streaming terminal sessions. It captures terminal output in a compact asciicast format and provides a web player for embedding recordings in documentation and blogs.

Key Features

  • Record terminal sessions from the shell and save them as lightweight asciicast files that preserve text and timing information.
  • Replay recordings directly in a terminal or via a browser-based player that renders sessions textually rather than as video.
  • Embeddable web player implemented with JavaScript and Rust (WASM), available as an npm package or standalone bundle for integration into docs and websites.
  • Live streaming support: local built-in HTTP streaming and relay streaming to an asciinema server for real-time viewers.
  • Recordings are downloadable and compatible with tools for offline conversion and processing; recordings compress well with common compressors.
  • Cross-Unix support: runs on GNU/Linux, macOS and FreeBSD; distributed via Cargo builds and prebuilt packages; repository includes Docker and Nix build artifacts.

Use Cases

  • Create interactive CLI demos and tutorials for developer documentation, blog posts and public guides.
  • Record troubleshooting sessions or reproduce terminal workflows to share with colleagues for debugging and onboarding.
  • Present live terminal-based demos or stream hands-on sessions to remote viewers during talks and workshops.

Limitations and Considerations

  • The primary CLI generation (current major version) is not supported on Windows; supported platforms are GNU/Linux, macOS and FreeBSD.
  • The official hosting site does not provide built-in GIF conversion; external utilities are required to convert cast files to animated GIFs or video formats.

asciinema is a lightweight, developer-focused solution for capturing and sharing terminal activity that emphasizes text fidelity, easy embedding, and low storage overhead. It is especially useful for documentation, teaching and reproducible terminal demonstrations.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

PrivateBin

PrivateBin

Zero-knowledge encrypted pastebin with browser-side AES encryption

8k
962
Last commit: 14h ago

PrivateBin is a minimalist zero-knowledge pastebin that encrypts and decrypts pastes in the browser, with optional passwords, expiration, discussions, and file uploads.

Alternative to:
Pastebin
Pastebin
+5
MicroBin

MicroBin

Secure pastebin for text and file sharing with URL shortening

4.1k
265
Last commit: 2d ago

MicroBin is a lightweight, secure pastebin for sharing text, files, and short URLs with optional encryption, expiration controls, and raw file serving.

Alternative to:
Pastebin
Pastebin
+17
Opengist

Opengist

Self-hosted Git-backed pastebin and Gist-compatible code snippet manager

3k
156
Last commit: 8h ago

Self-hosted pastebin powered by Git. Create, share and manage public, unlisted or private code snippets with syntax highlighting, Git push/pull, OAuth logins and Docker/H...

Alternative to:
Pastebin
Pastebin
+6
Onetime Secret

Onetime Secret

Self-destructing service for sharing single-use encrypted secrets

2.7k
427
Last commit: 14h ago

Open-source web and API service to create encrypted, single-view links for sharing secrets with configurable expiry and optional passphrase protection.

Alternative to:
Onetime Secret
Onetime Secret
+6
ByteStash

ByteStash

Self-hosted web app for storing and organizing code snippets

2.1k
102
Last commit: 8d ago

ByteStash is a self-hosted snippet manager for creating, editing, and filtering code snippets with secure storage in SQLite and an optional API with Swagger UI.

Alternative to:
SnippetsLab
SnippetsLab
+2
Enclosed

Enclosed

Minimal app for sharing end-to-end encrypted notes and files

1.9k
158
Last commit: 7mo ago

Self-hostable, end-to-end encrypted note and file sharing with zero-knowledge storage, optional passwords, expiration (TTL), and delete-after-reading links.

Alternative to:
Privnote
Privnote
+13