Asciinema 2.0.0 已发布,全新的主要版本带来了许多新特性、改进和 bug 修正。亮点包括新的 asciicast v2 文件格式、以最少的内存占用来录制和播放任意长的会话、放弃对 Python 3.3 的官方支持等等。具体如下:
recording and playback of arbitrarily long session with minimal memory usage
ability to live-stream via UNIX pipe: asciinema rec unix.pipe
+ asciinema play unix.pipe
in second terminal tab/window
optional stdin recording (asciinema rec --stdin
)
appending to existing recording (asciinema rec --append <filename>
)
raw recording mode, storing only stdout bytes (asciinema rec --raw <filename>
)
environment variable white-listing (asciinema rec --env="VAR1,VAR2..."
)
toggling pause in asciinema play
by Space
stepping through a recording one frame at a time with . (when playback paused)
new asciinema cat <filename>
command to dump full output of the recording
playback from new IPFS URL scheme: dweb:/ipfs/
(replaces fs:/
)
lots of other bugfixes and improvements
dropped official support for Python 3.3 (although it still works on 3.3)
Asciinema 是一款 Linux 平台的轻便的终端录制与分享工具。具有以下特性:
1. 录制、分享便捷——asciinema 在录制后会将记录上传至 asciinema 的网站上,并返回一个 URL 给你,在存在网络的情况下,这种分享方式是非常便捷的。
2. 自由拷贝:在观看记录时,可以自由地拷贝在画面中出现的命令,以便自己动手实践一些炫酷的命令
3. 可以方便地将记录嵌入网页中。
4. 社交:在 asciinema 网站上通过邮箱登录后,在自己终端上可以运行命令和帐号进行连接,这样你录制的记录在上传后就会保存在你的帐号下并对外展示。