Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I prefer using asciicinema. It's perfectly OK to use a recording but no need to hide it.


I like making recordings too, but they are annoying to update/recreate when the expected output changes.

I found spielbash[1] recently which helps you automate asciinema recordings... though it was a bit broken and I ended up forking it and re-writing most of it [2] and adding a bunch of new features.

There's probably a way to merge the two ideas and have a way to automate live demos as well as have a mode that just spits out a asciinema recording.

[1] https://github.com/redhat-cip/spielbash [2] https://github.com/justinazoff/spielbash


Nice! I'm glad you posted.

I forked spielbash in order to add an option that lets it read `cloud-init`[1] YAML as input, and also noticed there were opportunities to improve the original. Will see if I can jump over to your fork.

[1] http://cloudinit.readthedocs.io/en/latest/


It's not recording the effects of the commands being run. It only records the commands, so each command is run live.




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

Search: