Linux Server Admin Tools and GNU Benchmark Tools Directory, OpenSource Tools

Record your terminal and generate gif with terminalizer

Record your terminal and generate animated gif images with Terminalizer. Forget screen recording apps and blurry video. Enjoy a lightweight, purely text-based approach to terminal recording.

Features,

Record terminal terminalizer

How to install terminalizer in CentOS

# yum install npm -y
# npm install -g terminalizer

Once done, you can record your terminal outputs.

terminalizer <command> [options]

# terminalizer record <recordingFile>

Options

-c, –config Overwrite the default configurations [string]
-d, –command The command to be executed [string] [default: null]

# terminalizer record demo

# terminalizer record demo –config config.yml # Start recording with your own configurations

A file called demo.yml will be created in the current directory. You can open it using any editor to edit the configurations and the recorded frames.

You can replay your recording using the play command. Play a recording file on your terminal

# terminalizer play <recordingFile>

Options

-r, –real-timing Use the actual delays between frames as recorded [boolean] [default: false]
-s, –speed-factor Speed factor, multiply the frames delays by this factor [number] [default: 1]

# terminalizer play demo

Render a recording file as an animated gif image

# terminalizer render <recordingFile>

Options

-o, –output A name for the output file [string]
-q, –quality The quality of the rendered image (1 – 100) [number]
-s, –step To reduce the number of rendered frames (step > 1) [number] [default: 1]

# terminalizer render demo

Share

Upload a recording file and get a link for an online player

# terminalizer share <recordingFile>

Generate

Generate a web player for a recording file

terminalizer generate <recordingFile>

Optimize your terminalizer configuration to modify the Recording, Delays, GIF, Terminal, Theme, Watermark, Frame Box etc.,

Generate a config file in the current directory

# terminalizer config

Use any editor to edit the copied config.yml and modify the changes.

Issues

Error:
/usr/lib/node_modules/terminalizer/node_modules/electron/dist/electron: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory

Hint:
Use the –help option to get help about the usage

Solution:
# yum install gtk3-devel

Error:
/usr/lib/node_modules/terminalizer/node_modules/electron/dist/electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

Solution:
# yum install GConf2

Ubuntu
sudo apt-get install libgconf-2-4

Error:

error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

Solution:
sudo yum install libXScrnSaver