This shows the following sequence of actions in the DNV UI:
(the distortion with the ‘Metrics’ display is caused by Asciinema, it looks fine in the Terminal!)
-
Open ‘glances’ from the ‘exec’ menu, which shows programs installed in the container
-
Open node ‘metrics’ display (the distortion has to do with asciinema, in the Terminal it looks fine)
-
Open bash, install and run ‘htop’
-
Press ‘Shift+Alt+X’ to show the four active sub-panels running in the ‘node_service’ container in a grid view.
-
Open the README.md for ‘execa’ from the ‘readme’ menu
-
Open the markdown TOC ‘sections’ menu by pressing ‘Ctrl + e’
-
Search the ‘execa’ readme for the term ‘SIGTERM’ by pressing Ctrl + S
-
Run ‘colors.sh’ using the ‘scripts’ menu
-
Open a bash shell and install nano, then open the package.json (showing the ‘log’ script entry)
-
Open a REPL session and use the ‘Display’ action to print the contents of the log.js file
-
Run the ‘log’ script from the ‘scripts’ menu
-
Open the menu to the log script again, and press ‘space’ to show the command/arguments prompt.
-
open a bash shell and clone the ‘bpytop’ repo, cd into it and run ‘make install’, and run bpytop. This is a 32-bit truecolor program, demonstrating DNV UI down-conversion to 256 ansi colors. (kinda funky looking in asciinema though!)
-
open a couple more panels and press ‘Shift + alt + X’ to put the ‘node_service’ sub-panels in a grid, just for fun
Share this recording
Link
Append ?t=30
to start the playback at 30s, ?t=3:20
to start the playback at 3m 20s.
Embed image link
Use snippets below to display a screenshot linking to this recording.
Useful in places where scripts are not allowed (e.g. in a project's README file).
HTML:
Markdown:
Embed the player
If you're embedding on your own page or on a site which permits script tags, you can use the full player widget:
Paste the above script tag where you want the player to be displayed on your page.
See embedding docs for additional options.
Download this recording
You can download this recording in asciicast v2 format, as a .cast file.
DownloadReplay in terminal
You can replay the downloaded recording in your terminal using the
asciinema play
command:
asciinema play 429194.cast
If you don't have asciinema CLI installed then see installation instructions.
Use with stand-alone player on your website
Download asciinema player from
the releases page
(you only need .js
and .css
file), then use it like this:
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="asciinema-player.css" />
</head>
<body>
<div id="player"></div>
<script src="asciinema-player.min.js"></script>
<script>
AsciinemaPlayer.create(
'/assets/429194.cast',
document.getElementById('player'),
{ cols: 239, rows: 66 }
);
</script>
</body>
</html>
See asciinema player quick-start guide for full usage instructions.
Generate GIF from this recording
While this site doesn't provide GIF conversion at the moment, you can still do it yourself with the help of asciinema GIF generator utility - agg.
Once you have it installed, generate a GIF with the following command:
agg https://asciinema.org/a/429194 demo.gif
Or, if you already downloaded the recording file:
agg demo.cast demo.gif
Check agg --help
for all available options. You can change font
family and size, select color theme, adjust speed and more.
See agg manual for full usage instructions.