Asciinema Instructions

Click the GIF image below to see an asciinema demo!

asciinema test

Title:

A demonstration of the asciinema terminal recording tool

Duration:

2' 25" : The timeline indicates 4' 49" but in fact the recording is fast forwarded 2x with the "speed: 2" option put in the html template.

Public

Public

Material

Terminal recording tool
Preferred recording method: Captured from Alexandre Racine's computer

Description

A demonstration of the commands needed to install it on Mac OS X and Linux Ubuntu

CERN video content owner

Maria Dimou

Other information:

One can convert asciinema casts to animated GIFs using this tool: https://github.com/tav/asciinema2gif but the copy/paste possibility is lost.
If you face an SSL error such as:
ERROR: Couldn't open https://asciinema.org/api/asciicasts/81648?theme=solarized-light
ERROR: SSL handshake failed

Please refer to this issue on Github and replace the content in line 113 in the asciinema2gif script:
phantomjs "${rundir}/render.js" "${asciinema_url}"
by:
phantomjs --ssl-protocol=any "${rundir}/render.js" "${asciinema_url}"

The reply obtained by the developers on Github indicates that a new release should be done soon and the problem corrected.
The GIF image generated and placed in the top of this page is a link to the real video which allows to copy / paste the text.

Related Videos

Create a new video under this topic

New Topic Create a new Video: (Use a topic name in WikiNotation)
 

Video Discussion

use the attach button below to upload the video to this page. Then copy/paste the %ATTACHURL% url the video tag above

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatjson asciicast-82223.json r1 manage 31.3 K 2016-08-10 - 10:29 AlexandreRacine asciinema recording (named asciicast) in .json format
GIFgif asciicast.gif r1 manage 495.5 K 2016-08-10 - 10:30 AlexandreRacine  
Cascading Style Sheet filecss asciinema-player.css r1 manage 50.1 K 2016-08-03 - 10:19 AlexandreRacine CSS template for the javascript player
JavaScriptjs asciinema-player.js r1 manage 500.9 K 2016-08-03 - 10:19 AlexandreRacine Script for the .js player
PDFpdf asciinema_installation_instructions.pdf r1 manage 144.2 K 2016-08-03 - 10:19 MariaDimou Terminal recording tool asciinema - installation instructions by Alexandre Racine
HTMLhtml index.html r5 r4 r3 r2 r1 manage 0.3 K 2016-08-10 - 10:29 AlexandreRacine html template to play the asciicast. Links in it to the three other files must be set with the right paths depending on where you store the files. The name does not need to be index.html, you can name your recording as you want.
Edit | Attach | Watch | Print version | History: r19 | r17 < r16 < r15 < r14 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r15 - 2016-08-10 - AlexandreRacine
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Edutech All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback