ttystudio 终端操作GIF记录器 项目简介
ttystudio 是记录终端操作的 GIF 记录器,可以记录终端的操作,然后转换为 GIF 或者 APNG 格式,不需要任何的外部依赖,bash 脚本和 gif 连接。安装: $ npm install ttystudio (添加 -g 参数就是全局安装)。示例:$ ttystudio output.gif --log
$ vim
hello world
:q!
$ ^Q # stop recording with ctrl-q
initializing writer
writing image
writing head
writing frame 0 - 132 left
writing frame 1 - 131 left
writing frame 2 - 130 left
...
writing frame 131 - 1 left
writing eof
wrote image to /home/chjj/output.gif
$ chromium output.gif
# or if you wrote to output.png (an APNG)
$ firefox output.png更多命令:$ ttystudio output.gif --log # record and compile
$ ttystudio frames.json --log # record
$ ttystudio frames.json output.gif --range=0-50 # compile
$ vim
hello world
:q!
$ ^Q # stop recording with ctrl-q
initializing writer
writing image
writing head
writing frame 0 - 132 left
writing frame 1 - 131 left
writing frame 2 - 130 left
...
writing frame 131 - 1 left
writing eof
wrote image to /home/chjj/output.gif
$ chromium output.gif
# or if you wrote to output.png (an APNG)
$ firefox output.png更多命令:$ ttystudio output.gif --log # record and compile
$ ttystudio frames.json --log # record
$ ttystudio frames.json output.gif --range=0-50 # compile