ttystudio–超赞的终端操作动画GIF记录器
jopen
9年前
ttystudio–超赞的终端操作动画GIF记录器。用Python写成,不需要其它外部依赖,脚本和GIF工具,能够输出GIF或者APNG格式。与其它记录器不同,它不依赖于GUI库,在纯终端也能使用。
Usage
$ 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