🦄 Record your terminal and generate animated gif images or share a web player
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Record your terminal and generate animated gif images or share a web player link terminalizer.com
Built to be jusT cOol 👌🦄 !
If you think so, support me with a
Built while listening to Nyan Cat 😛
command to generate a web player for a recording file.
You need to install Node.js first, then install the tool globally using this command:
npm install -g terminalizer
Still facing an issue? Check the Issues section or open a new issue.
The installation should be very smooth with Node.js v4-v12. For newer versions, if the installation is failed, you may need to install the development tools to build the
add-ons. Check node-gyp.
Start recording your terminal using the
terminalizer record demo
A file called
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
terminalizer play demo
Now let's render our recording as an animated gif.
terminalizer render demo
GIF compression is not implemented yet. For now we recommend https://gifcompressor.com.
You can use the
option to get more details about the commands and their options
terminalizer <command> [options] </command>
Create a global config directory
Generate a config file in the current directory
Record your terminal and create a recording file
terminalizer record <recordingfile> </recordingfile>
-c, --config Overwrite the default configurations [string] -d, --command The command to be executed [string] [default: null] -k, --skip-sharing Skip sharing and showing the sharing prompt message [boolean] [default: false]
terminalizer record foo Start recording and create a recording file called foo.yml terminalizer record foo --config config.yml Start recording with your own configurations
Play a recording file on your terminal
terminalizer play <recordingfile> </recordingfile>
-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]
Render a recording file as an animated gif image
terminalizer render <recordingfile> </recordingfile>
-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]
Upload a recording file and get a link for an online player
terminalizer share <recordingfile> </recordingfile>
Generate a web player for a recording file
terminalizer generate <recordingfile> </recordingfile>
file is stored under the root directory of the project. Execute the below command to copy it to your current directory.
Use any editor to edit the copied
, then use the
option to override the default one.
RECOMMENDED, use the
command to create a global config file to be used instead of the default one.
For Linux and MacOS, the created directory is located under the home directory
. For Windows, it is located under the
: Specify a command to be executed like
, or any other command. The default is
: Specify the current working directory path. The default is the current working directory path.
: Export additional ENV variables, to be read by your scripts when starting the recording.
: Explicitly set the number of columns or use
to take the current number of columns of your shell.
: Explicitly set the number of rows or use
to take the current number of rows of your shell.
: The delay between frames in ms. If the value is
use the actual recording delays.
: Maximum delay between frames in ms. Ignored if the
isn't set to
. Set to
to prevent limiting the max idle time.
: The quality of the generated GIF image (1 - 100).
: Amount of times to repeat GIF:
, play once. - If value is
, loop indefinitely. - If value is a positive number, loop
: Cursor style can be one of
: You can use any font that is installed on your machine like
: The size of the font in pixels.
: The height of lines in pixels.
: The spacing between letters in pixels.
You can set the colors of your terminal using one of the CSS formats:
rgb(255, 255, 255)
hsl(0, 0%, 100%)
You can use the value
The default colors that are assigned to the terminal colors are:
You can add a watermark logo to your generated GIF images.
watermark: imagePath: AbsolutePathOrURL style: position: absolute right: 15px bottom: 15px width: 100px opacity: 0.9
: An absolute path for the image on your machine or a URL.
: Apply CSS styles (camelCase) to the watermark image, like resizing it.
Terminalizer comes with predefined frames that you can use to make your GIF images look cool.
: Can be
: To display a title for the frame or
: To apply custom CSS styles or to override the current ones.
No frame, just your recording.
Don't forget to add a
frameBox: type: null title: null style: backgroundColor: black
frameBox: type: window title: Terminalizer style: 
frameBox: type: floating title: Terminalizer style: 
frameBox: type: solid title: Terminalizer style: 
frameBox: type: solid title: null style: 
You can disable the default shadows and margins.
frameBox: type: solid title: null style: boxShadow: none margin: 0px
The default command that gets recorded for Linux is
. You need to change the default command to
fontFamily: "Meslo for Powerline, Meslo LG M for Powerline"
option to override the config file:
terminalizer record demo -c config.yml
error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
sudo yum install libXScrnSaver
error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
sudo apt-get install libgconf-2-4
This project is under the MIT license.