Skip to content

Instantly share code, notes, and snippets.

@amiroff
Last active April 4, 2021 18:54
Show Gist options
  • Save amiroff/d3494cb5f8882f2a21fd08486b15355d to your computer and use it in GitHub Desktop.
Save amiroff/d3494cb5f8882f2a21fd08486b15355d to your computer and use it in GitHub Desktop.
Screen recording to svg

install

brew install asciinema
npm install -g svg-term-cli

record

ascinema rec -i 2 example.cast

convert to svg

cat example.cast | svg-term --term terminal --profile 'Ayu Mirage' --width 80 --window > example.svg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment