Cast2Gif lets you easily transform your cast files generated by asciinema ( a record terminal sessions for Mac & linux) and replay them as a GIF image in a web browser.
you can enjoy using this solution by visiting : https://foubian.github.io/cast2gif/
1- Clone the repo:
git clone https://github.com/foubian/cast2gif.git
2- Put cloned folder in your web's path.
3- Enjoy converting your .cast file to gif by choising many options.