Next major version of the asciinema CLI is a rewrite in Rust, and since this is a new codebase, we need to test it thoroughly on many systems and environments. It’s still in a work-in-progress shape, but reports of successful/failed builds are appreciated.
To build the binary first install the Rust toolchain - there are many ways, but the easiest one is to use https://rustup.rs.
I just build from develop and tested recording and playing a cast.
Using it on an Apple M2 and it works flawlessly. I used asciinema rec -i 1 -c "tmux attach" ~/Desktop/demo.cast and played around within tmux to try different things where I thought it would be visible to see issues when playing back (colors, control character things etc.) but it just worked.
For one moment the tmux prompt line at the bottom disappeared but then appeared again after a second (probably redrawing?). I will try to reproduce it. All in all really nice
I just tried asciinema rec -i 1 --overwrite -c "tmux" ~/Desktop/demo.cast and then asciinema convert --format txt ~/Desktop/demo.cast ~/Desktop/demo.txt.
It took me a while to realize that must be because it doesn’t have other commands to convert than the “tmux” one and it is not seeing things from the tmux session.
Recording and converting from a normal shell works as expected! + uploading too
I also just created an account on asciinema.org – the fact that my previous recorded video was assigned to my account was such a nice surprise
So the new version seems to compile and work fine on Linux and macOS (Apple Silicon). If someone has FreeBSD system at hand and can test there that would be lovely.
Tested on FreeBSD 13.3 following your instructions (cargo install). Besides the expected (slightly shocking) number of dependencies when using rust and the resulting compile time, everything worked smoothly. Turning this into a port/package should be easy.
Tested scenarios:
record (normal shell and arc anoid)
play
play -s3
play -i0.5
pause
frame step
convert to text
Great work (regardless of which language it’s written in now, asciinema is such a lovely tool)!