📜 ⬆️ ⬇️

Console screencasting

Hi, habra people!

The theme of console screencasting has already been raised on Habré, but I want to tell you about something better. jeck_landin recommends the script and scriptreplay utility for recording and playing screencasts. And I will recommend you my bike and explain what is better :)


The utility I wrote is called shelr. Shelr is written in ruby ​​and uses a script or ttyrec as a backend.
')
shelr, unlike script, has a more convenient set of commands and works on all Unix-like systems.
The main problem of the script is that on poppies it has not been touched since the time of bsd 4 and therefore it has not been taught to play screencasts. I solved this problem through an alternative backend for writing - ttyrec.

In addition to a simple record, shelr allows you to quickly publish screencasts on the service of the same name or your personal server. You can play screencast directly in the browser or in the local terminal (shelr play).

image
You can install the utility through the package system of your distribution:

PPA: for Ubuntu Precise
PKGBUILD: for Arch Linux (thanks to Max Gonzih )
EBUILD: for Gentoo (thanks to Alexander Kolesen )

Or through rubygems:

For Linux:
gem install shelr

For OSX:

 brew install ttyrec
 gem install shelr
 shelr backend ttyrec


Login in 10 seconds

Man: shelr (1)
GitHub: antono / shelr (client)
GitHub: antono / shelr.tv (server)

Web: shelr.tv

Comments and ideas on the development of the service are welcome :)

Source: https://habr.com/ru/post/141510/


All Articles