ttyrec Playback using jsttyplay and WordPress

So I spent a little bit of time tonight tinkering on Linux. I got interested in tty recording/playback after seeing some nethack things. I figured if I could find something that works well for playback of tty recordings it would be helpful on my blog. Enter: jsttyplay

This is a nice little tool using Perl and JavaScript to handle playback of terminal sessions recorded using ttyrec.

Here’s a demo of how to get things setup, including making a video and editing the HTML to play it.

I plan to start work on making a WordPress plugin for this so I can embed these a bit easier.  Here’s a screenshot of what the player looks like (using jsttyplay):

2013-04-22_164235

If you don’t have ttyrec, install it with your system’s package manager; in my case, I have Debian so I will use apt-get.

apt-get install ttyrec

Create a recording of your console by executing ttyrec. When you’re finished, just type exit. In the same directory you’ll find a ttyrecord file. This is the file you will use as the binary data for jsttyplay (git clone https://encryptio.com/git/jsttyplay.git). There is a test.html file included in the git repo that you can hack up and modify line line 33 to point to the path of your ttyrecord file.

2013-04-22_164457

Incoming search terms:

Loading Facebook Comments ...

3 thoughts on “ttyrec Playback using jsttyplay and WordPress

    • Hi Tom -

      The file(s) got mixed up and now when you click on the “jstty-play demo” button it should work (provided you have JavaScript support enabled).

      Let me know if there are further problems. Thanks again!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>