asciinema

module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: MIT

README

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

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL