Use this Twitter client for Linux to tweet from the terminal | Opensource.com

Use this Twitter client for Linux to tweet from the terminal

Keep up with your Twitter feed without leaving the terminal by using Rainbow Stream in the tenth in our series on 20 ways to be more productive with open source in 2020.

Chat bubbles
x

Subscribe now

Get the highlights in your inbox every week.

Last year, I brought you 19 days of new (to you) productivity tools for 2019. This year, I'm taking a different approach: building an environment that will allow you to be more productive in the new year, using tools you may or may not already be using.

Keep up with Twitter with Rainbow Stream

I love social networking and microblogging. It's quick, it's easy, and I can share my thoughts with the world really quickly. The drawback is, of course, that almost all the desktop options for non-Windows users are wrappers around the website. Twitter has a lot of clients, but what I really want is something lightweight, easy to use, and most importantly, attractive.

Rainbow Stream is one of the prettier Twitter clients. It is easy to use and installs quickly with a simple pip3 install rainbowstream. On the first run, it will open a browser window and have you authorize with Twitter. Once that is done, you land at a prompt, and your Twitter timeline will start scrolling by.

The most important commands to know are p to pause the stream, r to resume the stream, h to get help, and t to post a new tweet. For example, h tweets will give you all the options for sending and replying to tweets. Another useful help screen is h messages, which gives the commands for working with direct messages, which is something my wife and I use a lot. There are a lot of other commands, and I refer back to help a lot.

As your timeline scrolls by, you can see that it has full UTF-8 support and, with the right font, will show indicators for how many times something was retweeted and liked, as well as icons and emojis.

One of the best things about Rainbow Stream is that you don't have to give up on photos and images. This feature is off by default, but you can try it out with the config command.

config IMAGE_ON_TERM = true

This command renders any images as ASCII art. If you have a photo-heavy stream, this may be a bit much, but I like it. It has a very retro-1990s BBS feel, and I did love the BBS scene in the 1990s.

You can also use Rainbow Stream to manage lists, mute people, block people, follow, unfollow, and everything else that is available with the Twitter API. There is also theme support, so you can customize the stream to your favorite color scheme.

When I'm working and don't want to have yet-another-tab open on my browser, Rainbow Stream lets me keep up in a terminal off to the side.

Twitter birds

Without open source, Twitter wouldn't exist. Every Tweet you send and receive touches open source...
Hands holding a mobile phone with open on the screen

A photo-sharing platform, a privacy-friendly social network, and a web application for building and sharing portfolios.
open source button on keyboard

Sergey Bronnikov shares why the OpenVZ team created Twisource, an open source social media tool.

Topics

About the author

Kevin Sonney - Kevin Sonney is a technology professional, media producer, and podcaster. A Linux Sysadmin and Open Source advocate, Kevin has over 25 years in the IT industry, with over 15 years in Open Source. He currently works as an SRE at elastic. Kevin hosts the weekly Productivity Alchemy Podcast. He and his wife, author and illustrator Ursula Vernon, co-host the weekly podcast...