The Linux terminal is no one-trick pony

Bring the magic of My Little Pony to your Linux command line.
167 readers like this
167 readers like this
Linux toy: ponysay

Screenshot by Jason Baker

Welcome to another day of the Linux command-line toys advent calendar. If this is your first visit to the series, you might be asking yourself what a command-line toy even is. We’re figuring that out as we go, but generally, it could be a game, or any simple diversion that helps you have fun at the terminal.

Some of you will have seen various selections from our calendar before, but we hope there’s at least one new thing for everyone.

Reader Lori made the suggestion of today's toy in a comment on my previous article on cowsay:

"Hmmm, I've been playing with something called ponysay which seems to be a full-color variant on your cowsay."

Intrigued, I had to check it out, and I was not disappointed with what I found.

In a nutshell, ponysay is exactly that: a rewrite of cowsay that includes many full-color characters from My Little Pony, that you can use to output phrases at the Linux command line. It's actually a really well-done project, that features over 400 characters and character combinations, and is incredibly well documented in a 78-page PDF covering full usage.

To install ponysay, you'll want to check out the project README to select the installation method that works best for your distribution and situation. Since ponysay didn't appear to be packaged for my distribution, Fedora, I opted to try out the Docker container image, but do what works best for you; installation from source may also work for you.

I was curious to try out podman as a drop-in replacement for docker for a casual container users, and for me at least, it just worked!

$ podman run -ti --rm mpepping/ponysay 'Ponytastic'

The outputs are amazing, and I challenge you to try it out and let me know your favorite. Here was one of mine:

Linux toy: ponysay output

It's developers chose to write the code in Pony! (Update: Sadly, I was wrong about this. It's written in Python, though GitHub believes it to be Pony because of the file extensions.) Ponysay is licensed under the GPL version 3, and you can pick up its source code on GitHub.

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, Relax by the fire at your Linux terminal, and check back tomorrow for another!

What to read next
Jason was an Opensource.com staff member and Red Hatter from 2013 to 2022. This profile contains his work-related articles from that time. Other contributions can be found on his personal account.

5 Comments

I think it's written in Python, not Pony, despite the extension given to the pony files.

It looks like you're right; article updated. Thanks.

In reply to by Alexandre Bury (not verified)

Oh dear, my little pony on Jason's desktop...

Creative Commons LicenseThis work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License.