Posts

Get Information About Movies & TV Shows in Your Terminal

Image
A command line tool for getting information about a movie and comparing two movies. It is written entirely in JavaScript just like the virtual Apple Macintosh that can be installed on Windows, Linux and macOS.

To install it run the following command
Linux
sudo npm i -g movie-cli


Install in macOS with:
npm i -g movie-cli

To get information about a movie type
movie Movie Name
Example
movie Star Wars

Information provided includes : Title, year, date released, runtime, genre, director, actors, language and even IMDB rating.


To compare two movies, type
movie Movie Name1 :: Movie name2
Example
movie Star Wars :: Wild

Information provided includes: Title, year, date released, runtime, genre and IMDB rating.

The project is available on GitHub along with the source code. You can check it out if you wish. It was created by Mayank Chandola.

Astrofox: a Motion Graphics Tool for Creating Audio-Reactive Visuals Synced to Music

Image
Astrofox is a motion graphics tool for creating audio-reactive visuals synced to music. You can combine images and text with audio elements like sound waves and spectrum bars that react to music. You can go further by adding one of many effects like blur and glow to enhance your visuals. afterwards, you can save your work as high-definition and share them on social media sites to gain new fans.

The main goal of Astrofox is to provide you a tool that lets you quickly and easily create videos of amazing music visualizations.

This tool is useful especially to the following groups of people
Musicians because nowadays videos are everywhere and your goal is to have as many people as possible to hear your music. Astrofox lets you create eye-catching videos that will play on big social media platforms such as Instagram, Twitter and Facebook.Artists and marketers can quickly and easily generate motion graphics without having to hire or pay a designer or developer.Podcasters can easily put togethe…

How To Play Music on Your Terminal

Image
MOC (music on console) is a music player app for linux/unix command line interface designed to be simple and robust enough to run smoothly on your terminal without significantly affecting other I/O operations.

"MOC plays smoothly, regardless of system or I/O load because it uses the output buffer in a separate thread. The transition between files is gapless, because the next file to be played is precached while the current file is playing". as quoted from their website.

Top features
JACK, ALSA, SNDIOAn inbuilt simple equalizer.A mixer that can be connected to an external mixer.Fully customizable keymapping.Playlist and directory search.Support for internet streams.Theme optionsCharacter set conversion using iconv() The latest stable release is MOC 2.5.2. 
Version 2.6-alpha3 seems to be the one installed although it is still in development according to their page.


It has the following improvements.
Complete support for all Sndfile formats.DSD format support via FFmpeg/LibavOSS…

LBRY: A Blockchain Based Decentralised YouTube Alternative

Image
It is a free open source and community run platform for sharing digital content. 
It is a new protocol with a peer to peer, decentralized file sharing and payment network secured with blockchain technology.
You own your data, you control the network. Indeed you are the network.

Content creators can use LBRY to share digital content like videos, music, images, e-books and even podcasts.As a user, you can use the platform to watch videos, listen to music and read e-books. 

The platform doesn't have ads on its website and does not track you in order to serve you ads like YouTube does.It is ad free if you are logged into the network or using it's app. LBRY app is available for Android, iOS, Windows, Linux and macOS. The mobile apps also show you the value of your LBC in USD.

You can browse their website here. It has both light and dark modes.

LBRY is governed by its own cryptocurrency called LBRY Credits or LBC for short. These can be earned in various ways including using their mobile…

Navigating The File System In Linux

Image
In my opinion, the most important thing to learn as a newbie in the Linux system is navigating the file system. Files in Linux systems are organized in a hierarchical directory structure, that is, a tree-like pattern of directories or folders. The first directory is called the root directory and it contains files and subdirectories which contain even more files and directories.



Linux unlike Windows has a single file system tree regardless of how many storage devices or drives are attached or mounted to the computer. Storage devices are mounted at different points of the tree according to the inclination of the system administrator.

Windows on the other hand, has a separate file system for each storage device.

Current Working Directory
To display the current working directory, we use the pwd command (print working directory).
By default, when we start a terminal session, our home directory is usually our current working directory. Each user account in a Linux system is given its own home di…

What is the Shell in Linux?

Image
The shell is a program that takes keyboard commands and passes them to the operating system to carry out. It is named a shell because it the outermost layer around the operating system. Almost all Linux distributions have a shell program from the GNU project called bash which is an acronym for "Bourne Again SHell". It was founded by Steve Bourne.



To gain access to the shell, we use terminal emulators or as commonly known the terminal. We use them to interact with the shell when using a grahical user interface (GUI). Examples are gnome-terminal which is used in GNOME.

Starting a Terminal Session
There are various ways to launch the terminal emulator or terminal.
1. Use Keyboard shortcut - Ctrl + Alt + T 
2. Launch it from applications menu. Type Terminal in the search bar and hit enter.

What appears is called a shell prompt and it appears whenever the shell is ready to accept input. It includes your username@computername followed by your current working directory and a dollar sign.

How To Create ASCII Text Banners in the Terminal

Image
There are 2 tools used for this purpose.
Figlet 
Toilet
Figlet is a simple command line utility for creating large letters out of ordinary text.
Toilet is a sub-command under figlet used for creating colourful large characters from ordinary text.Bot utilities are available in the default package manager. So in order to use them, they have to be installed.
Ubuntu/Debian
sudo apt install figlet toilet
CentOS/RHEL
sudo yum install figlet toilet
Fedora 22+
sudo dnf install figlet toilet
How To Use Figlet
After installing, all you need to do is provide the text you want to transform as an argument to figlet as shown below.
figlet subscribe.com
Other modifications that can be made to it include
Justification - Align text to the left, right or center
To create output at the center, use
figlet -c example.com
To create output to the right, use
figlet -r example.com
To create output to the left, use
figlet -l example.com
Define output width
Use -w to control the width of the output. The default widt…