You dont need any fancy command like asciicinema, you can do this from age old builtin unix command called "script" so no need to install anything, making people install stuff is hard, use whatever is already there on their machine.
script -r capture.txt
script -p capture.txt
It works exactly like asciicinema. Once that is done the only thing that you need to replay this in the browser is a scriptplayer like this one
Script Play Js
Also the other benefit is people dont really have to go to Asciicast in order to get the link they can just upload their recorded session on the dev.to site itself and done. Also there is no need for an image preview since the session can keep playing repeatedly. Otherwise it would be a fun project to modify the player.
Would like to help if you need any.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.