script and scriptreplay are part of the bsdutils package in debian and ubuntu, util-linux-ng in fedora and util-linux in suse. They allow to capture a terminal or script output and replay it.
This page uses the vt100 emulator by frank bi and adds code of my own to read typescript and timing files to make it possible to replay captured scripts a web browser.
By adding an upload facility to this it would be possible to have a youtube or pastebin for terminal sessions. Due to laziness this remains a proof of concept for now though.
(C) 2011 Johannes 'josch' Schauer <j [dot] schauer [at] email [dot] de>