'TerminalTextEffects' is a library that adds cool effects to terminal text output.



' TerminalTextEffects ' is a library that adds various cool effects to the dull string output of the terminal. In addition to being added to the app as a library, it can also be used as a standalone app, so I actually tried adding some cool effects to the terminal.

TerminalTextEffects Docs
https://chrisbuilds.github.io/terminaltexteffects/



To use TerminalTextEffects, Python and pipx are required. This time, we will use Ubuntu 22.04, which comes with Python installed as standard, but if you need to install Python in another environment, please download Python from the official website and install it.

Install pipx. First, update the package to the latest version with the command below.
[code]sudo apt update
sudo apt upgrade -y[/code]



Next, install pipx using the command below.
[code]sudo apt install python3-pip pipx -y[/code]



Then use the command below to install TerminalTextEffects and add it to your path.
[code]pipx install terminaltexteffects
pipx ensurepath[/code]



Restart the terminal to reflect the path update and you're ready to go. Let's try out some cool effects with the following command using ' screenFetch ', a tool that outputs system information.
screenfetch -N | tte slide --merge



The 'Slide' effect executed by the above command looks like this.

I tried using the 'Slide' effect with the library 'TerminalTextEffects' that can add cool effects to terminal string output - YouTube


Let's try other effects. Enter the command 'screenfetch -N | tte beams' to get the 'Beams' effect.

I tried using the 'Beams' effect with the library 'TerminalTextEffects' that allows you to add cool effects to the string output of the terminal - YouTube


Below is how the command 'screenfetch -N | tte binarypath' creates the 'Binarypath' effect.

I tried using the 'Binarypath' effect with the library 'TerminalTextEffects' that can add cool effects to terminal string output - YouTube


At the time of writing, there are a total of 31 effects, including those mentioned above, and you can check what each effect is on the ' Effects Showroom ' page.

TerminalTextEffects has also been featured on the news site 'Hacker News,' where engineers gather, and has attracted many comments, but the top comment was 'This is amazing! ... Please don't use it in a production environment.' It was a message of emphasis.

◆ Forum is currently open
A forum related to this article has been set up on the official GIGAZINE Discord server . Anyone can post freely, so please feel free to comment! If you do not have a Discord account, please refer to the account creation procedure article to create an account!

• Discord | 'Which effect do you like?' | GIGAZINE
https://discord.com/channels/1037961069903216680/1245321077605793793

in Review,   Software,   Video, Posted by log1d_ts