We’re now on day six of the Linux command-line toys advent calendar, where we explore some of the fun, entertaining, and in some cases, utterly useless toys available for your Linux terminal. All are available under an open source license.
Will they all be unique? Yes. Will they all be unique to you? I don’t know, but, chances are you’ll find at least one new toy to play with by the time our advent calendar is done.
Today’s selection is a continuation on the theme we started yesterday: cats and rainbows. Wait, there’s more cat-related rainbow fun to be had at the Linux command line? You bet there is.
So let’s make a throwback all the way to 2011’s Nyan Cat with a command-line toy call, not surprisingly, nyancat. Did you miss the cultural phenomenon that was Nyan Cat? Watch the embed below, I’ll wait.
Now, let’s recreate that amazing experience in your terminal. Nyancat is packaged for many distributions (Arch, Debian, Gentoo, Ubuntu, etc.) but not for mine (Fedora), but compiling from source was simple. In fact, I grabbed the source, built it, and launched it in one line:
git clone https://github.com/klange/nyancat.git && cd nyancat && make && cd src && ./nyancat
This launched straight into a nyancat experience complete with a counter of how long I had been enjoying the nyancat magic for.
You can find the source for nyancat on GitHub under an NCSA open source license.
The command-line version of Nyan Cat used to be accessible by a public Telnet server (or, for even more pun, with netcat) so that you didn’t even have to install it, but sadly was shut down due to bandwidth limitations. Nevertheless, the gallery from the old Telnet server running Nyan Cat on a variety of old devices is well-worth checking out, and maybe you’d like to do the community a favor by launching your own public mirror and letting the author know so that they may share it with the public yet again?
Do you have a favorite command-line toy that you think I ought to profile? The calendar for this series is mostly filled out but I’ve got a few spots left. Let me know in the comments below, and I’ll check it out. If there’s space, I’ll try to include it. If not, but I get some good submissions, I’ll do a round-up of honorable mentions at the end.
Check out yesterday’s toy, Bring some color to your Linux terminal with lolcat, and check back tomorrow for another!