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,

  • Highly customizable.
  • Cross platform (Linux, Windows, MacOS).
  • Custom window frames.
  • Custom font.
  • Custom colors.
  • Custom styles with CSS.
  • Watermark.
  • Edit frames and adjust delays before rendering.
  • Skipping frames by a step value to reduce the number of rendered frames.
  • Render images with texts on them instead of capturing your screen for better quality.
Record terminal terminalizer

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

 

 

Docker registry WebUI and Authorization with Portus

Portus is an open source WebUI, Rails application that performs authentication and authorization for the Docker registry and a user interface for the image list, users, team, Registry and Namespace information. Portus provides quick access to all the images available on your private instance of Docker registry with OAuth and OpenID-Connect authentication.

portus Docker Registry WebUI

portus Docker Registry WebUI

Top Highlights

  • Monitoring of all the activities performed onto your private registry and Portus itself.
  • Search for repositories and tags inside of your private registry.
  • Removing images and tags from the registry through Portus.
  • Read Write access to the Docker registry.
  • Disable users temporarily, or remove them from the system.

Quick Portus Installation

There are multiple ways of setting up a development environment, we can install using docker-compose.

Install Docker Compose

# sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
# sudo chmod +x /usr/local/bin/docker-compose

Download Portus Repository

mkdir -p /opt/
git clone https://github.com/SUSE/Portus.git
cd Portus/examples/compose

You need to edit .env file and update following values:

MACHINE_FQDN=portus.gnutoolbox.com

Configure certificates

Update your SSL certificate

ssl/portus.cert
ssl/portus.key

Start Portus

docker-compose up -d
docker-compose logs -f # watch the logs until finish installation.

Once all services started, you can browse the https://portus.gnutoolbox.com

It will ask to create an admin user and Configure the registry. Please note that you have to use same FQDN for adding registry in Portus. At the moment, they are supporting only one registry.  You can also try to install docker Private registry using native docker registry image.