/ daily coding

Creating terminal screecast (with audio)

Today, I discovered dhobsd/castty: A CLI tool to record audio-enabled screencasts of your terminal, for the web.

Installation

Installation was pretty easy on my mac:

# install libsoundio
brew install libsoundio

# go to castty source directory
cd castty/

# make binary
make

# move the binary
mv castty /usr/local/bin/

Recording

# record screecast
castty record -c 80 -r 24

Usage

It works like in the UI folder:

# http server
python -m http.server 8000

Check out source code of:

Explanation

Basically, castty creates events.json that is used by the player. The html file has the link to the audio. that is cool too!

To Do

References