gvcgo / asciinema

πŸ”₯🎨 βš‘οΈπŸ“A cross-platform asciinema(v2) terminal session recorder for MacOS/Linux/Windows. Currently a better choice than the official one.

Home Page:https://asciinema.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go Report Card GitHub License GitHub Release PRs Card Issues Card

δΈ­ζ–‡ | En



What is asciinema?

asciinema [as-kee-nuh-muh] is a free and open source solution for recording terminal sessions and sharing them on the web. To learn about asciinema, you can visit asciinema.org.

And this project is a cross-platform version of asciinema writtern in go with full features. You can use it to create, edit, upload, convert(to gif animation) an asciinema cast on MacOS/Linux/Windows.


Installation

  • Recommanded: Install acast using version manager vm.
vm use asciinema@v0.3.9
  • Install acast using go.
go install github.com/gvcgo/asciinema/cmd/acast@latest
  • Download acast from releases. releases

Subcommands

subcommand args example desc
auth - Authorizes to your asciinema.org account.
convert-to-gif input.cast output.gif Converts a cast to gif animation.
cut --start=0.0 --end=2.9 input.cast output.cast Removes a certain range of a cast.
play input.cast Plays a cast.
quantize --ranges=1.0,5.0 input.cast output.cast Updates the cast delays following quantization ranges.
record xxx.cast Starts recording a cast.
speed --start=0.0 --end=2.9 --factor=0.7 input.cast output.cast Updates the speed of a cast by certain factor.
upload xxx.cast Uploads a cast to asciinema.org.
version - Shows version info of acast.

Demo

  • Normal Speed asciicast

  • Normal Speed Converted to GIF normal

  • Speed x2 asciicast

  • Speed x2 Converted to GIF speedup


Thanks To

About

πŸ”₯🎨 βš‘οΈπŸ“A cross-platform asciinema(v2) terminal session recorder for MacOS/Linux/Windows. Currently a better choice than the official one.

https://asciinema.org/

License:MIT License


Languages

Language:Go 100.0%