ttystudio 介绍
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
ttystudio 官网
https://github.com/chjj/ttystudio
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。