Have you ever wanted to generate cool GIFs from a terminal output? Do you want to have fancy animations to show some code snippets?
Using terminalizer, you will be able to create fantastic animations by following this simple guide!
1. First, you need to install NodeJS v12.21.0 (LTS) from https://nodejs.org/download/release/v12.21.0/. Other versions may not be compatible with terminalizer, and you might have problems when using it.
2. After that, install terminalizer globally by using the command:
npm install -g terminalizer
Now you can use the following commands to record, play and share a GIF:
# Start recording a demo in a file called my_demo.yml terminalizer record my_demo # Now run the commands you want to appear in the GIF. # When you have finished, press Ctrl+D (⌘+D) to stop recording. # You can play the demo you just recorded by using the play option.te terminalizer play my_demo.yml # At this point you can customize several things, # check the "🌟 Pro tips" section below. # If you're happy with the result, render the GIF from your YML # file. This will create a file in your current directory. terminalizer render my_demo.yml
🌟 Pro tips: You can edit and customize your GIF before rendering it by modifying the content of the
frameBoxobjects in the YML:
theme: background: "#28225C" (...) frameBox: type: floating title: Terminalizer Rocks!
# Records, feel free to edit them records: - delay: 50 content: "\e[35mErics-MacBook-Air\e[0m:~ eric$ "
So with a few modifications, we can get something like this:
You can find more customization options and tips at the original repo on GitHub: https://github.com/faressoft/terminalizer