Hacker News new | past | comments | ask | show | jobs | submit login
Asciinema player: open source terminal session player written in ClojureScript (github.com/asciinema)
73 points by danso on Feb 29, 2016 | hide | past | favorite | 8 comments



FWIW, asciinema is something that's been posted and discussed before...what's new is that the player can be self-hosted, as it consists of nothing more than a JS and CSS file. This means the recording can be exported as a flat JSON file. Previously, the only option was to host the replay on the asciinema server: http://blog.asciinema.org/post/self-hosting/

As someone who writes a few tutorials on programming...this is a godsend. Novices need to be able to see how the code works interactively...but it's a real pain in the ass to render animated GIFs. Asciinema creates something that is lightweight and just text, for all the flexibility and portability that allows.


Another option is my own <tty-player> (http://tty-player.chrismorgan.info/), which takes the approach of being a drop-in replacement for a <video> taking as its source format that of tools like termrec (with no modifications).


Very cool (and with the slider) !


See also, https://asciinema.org

An impressively unexciting example can also be seen here: https://pharext.org


I love how this and tty-player work and just wish more people used them for tutorials! Great work and thank you.


asciinema player: 4799 lines of code

script + scriptreplay: 1031 lines of code


Yeeeaaah but.... there's a significant difference in functionality, don't you think?


The name reminded me of the animated ASCII Star Wars: telnet towel.blinkenlights.nl




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: