Birthdays are particular events, and it’s very satisfying and a pleasure to get birthday needs from family members.
As a Linux person, you possibly can shock our family and friends with some cool birthday needs from the terminal.
Here is a birthday card (or ought to I say animation) I created for the birthday of Abhishek Sir.
Everybody within the workforce favored it a lot that I used to be requested to do a tutorial on it. I’m solely glad to conform as it might assist our readers 🙂
✋
This tutorial requires modifying config recordsdata within the terminal. Proficiency with Linux terminals and instructions make it simpler to comply with this tutorial.
Set up PyBirthdayWish
PyBirthdayWish is a small Python program via which you’ll be able to create lovely terminal birthday needs. With music too!
This system itself shouldn’t be accessible within the default repositories of Ubuntu. It is advisable set up it utilizing Pip.
First, set up pip in Ubuntu, utilizing the command beneath:
sudo apt set up python3-pip
As soon as Pip is put in, you possibly can clone the repo and set up this system:
git clone https://github.com/hemantapkh/PyBirthdayWish.git && cd PyBirthdayWish && pip set up -r necessities.txt
On their repo, you possibly can verify the .necessities.txt
file to know what are the necessities as talked about within the above command.
After the set up is full, contained in the PyBirthdayWish
listing, that you’ve cloned, run the command beneath:
python3 PyBirthdayWish.py
This can ask you to press F11 after which enter to go full display mode after which play the animation.


Birthday Want Animation in Terminal
There’s music too, however not proven right here.
It is extremely customizable. Let me present varied ranges of non-compulsory customization you are able to do with this instrument.
Create the default birthday want
Within the above program, there are three want Python recordsdata that can be utilized for the animation. They’re, instance
(default), artwork
and artwithstars
. You may open these three recordsdata in textual content editor to get an summary.

Now, if you wish to use the artwithstars
file as an alternative of the default instance, open the config.py
in any accessible textual content editor, substitute the arts
entry with the required identify and put it aside, as proven within the screenshot beneath:

After that, within the PyBirthdayWish
listing, run:
python3 PyBirthdayWish.py
And you’ll get the brand new animation.
Create a customized birthday want
What if you wish to print the identify of your beloved, as an alternative of the default textual content? This wants a bit of little bit of endurance as a result of you must edit the artwork file with out destroying it.
First, make a backup copy of the design artwork recordsdata you need. Which is principally copying the file in the identical arts
listing however with a special identify; say buddy.py
.
Now, open the design artwork file with the textual content editor of your selection. Substitute the textual content within the artwork file with the one you want. It is going to be sensible to make use of the symbols | _ /
for creating the textual content, design and many others. You need to use an on-line instrument to transform textual content to ASCII.

💡
Typing one character strikes the remainder of the animation one character ahead. Equally, eradicating a personality strikes the remainder of the design, one character backward. So, it’s best to add an area when you take away a personality. Equally, take away one area when you added a brand new character on a specific line. This must be finished in real-time as a way to view the modifications. This manner, you possibly can match the remainder of the design and never destroy the seems, when accomplished.
After finishing the edit, put it aside. Now, open config.py and alter the artwork file to indicate your file.

Now you can run to get your required textual content contained in the animation:
python3 PyBirthdayWish.py
Use your individual music file
You need to use your individual music file as a part of this animation.
🚧
In case you are planning to add the video on YouTube of different such websites, please use copyright-free music to keep away from points.
Copy your music file contained in the cloned listing.

Edit the config.py file so as to add the brand new music, as proven within the screenshot beneath:

Performed! Now, when you execute the run command, python3 PyBirthdayWish.py
, the customized music will probably be performed together with the animation.

New E book: Environment friendly Linux on the Command Line
Fairly wonderful Linux e-book with a lot of sensible ideas. It fills within the hole, even for knowledgeable Linux customers. Will need to have in your assortment.
Create an executable
If you wish to ship the above want message as an executable to a buddy, there’s a means for this too.
An related pyinstaller will probably be put in to the .native/bin
listing, which is not going to be in your path.
So add that listing to your path utilizing:
export PATH=$PATH:/dwelling/workforce/.native/bin
To make it everlasting, add it to your ~/.bashrc
file.
After you’re finished with the artwork file modifying and altering the config file to mirror the change, use the command beneath to create an executable:
pyinstaller --noconfirm --onefile --console --icon "icon.ico" --no-embed-manifest --add-data "arts:arts/" --add-data "config.py:." --add-data "HappyBirthday.mp3:." --add-data "PyBirthdayWish.py:." "PyBirthdayWish.py"
It’s going to create an executable file named “PyBirthdayWish” to the PyBirthdayWish/dist
listing.

Copy this executable and ship to anyone who wish to view this. They will execute it with:
./PyBirthdayWish
🚧
At all times be cautious whereas working executables from unknown exterior sources.
Extra terminal enjoyable
Like Birthdays, Christmas too is a special day. You may give some festive contact to your Linux desktop in order for you.
Have fun Christmas in Linux Means: Give Your Linux System a Christmas Contact
It’s the vacation season and plenty of of you may be celebrating Christmas already. From the workforce of It’s FOSS, I wish to want you a Merry Christmas and a contented new 12 months. To proceed the festive temper, I’ll present you some actually superior Linux wallpapers on

If you happen to favored ASCII animation, it’s possible you’ll like ASCII artwork, too.
Convert Photos to ASCII Artwork in Linux Terminal
Need some enjoyable within the Linux terminal? How about changing a daily picture into ASCII artwork? This instrument enables you to convert any picture into ASCII artwork.

And why simply cease right here? Discover extra ASCII instruments.
10 Instruments to Generate and Have Enjoyable With ASCII Artwork in Linux Terminal
Linux terminal shouldn’t be as scary as you suppose. In fact, it might be intimidating to start with however as soon as you understand the terminal higher, you begin loving it. You’re possible to make use of the terminal for severe work. However there are a lot of enjoyable stuff you are able to do within the

Take pleasure in utilizing Linux on this enjoyable means 🙂
🗨 Let me know when you face any points with this instrument and I am going to attempt to assist in my capability.