Rainbow Stream: A Terminal-based Twitter Client


Rainbow Stream is a terminal-based Twitter Client written using Python language. It is smart, nicely displayed and even can show images directly on terminal. Rainbow Stream is built on the top of Python Twitter Tool and Twitter API, can run on Python 2.7.x and 3.x .


First, make sure that your system has Python v2.7+ or 3.x. Python version can be confirmed with:

python --vesion

The quick way is using pip with sudo permission.

sudo pip install rainbowstream

For Python 3 users:

sudo pip3 install rainbowstream

But if you are familiar with virtualenv, there is a safer way:

virtualenv venv

Python 3 users : use -p to specify your Python 3 localtion as below

virtualenv -p /usr/bin/python3 venv
source venv/bin/activate
pip install rainbowstream


When rainbowstream is installed correctly, the following command will available:


Also, if you want to see twitter photos rendered directly on terminal, you can also try:

rainbowstream --iot

While your personal stream is continued, you are also ready to tweet, search, reply, retweet… directly from the console. Simply type “h” and hit the Enter key to see the help.

Input is in interactive mode. It means that you can use arrow key to move up and down history, tab-autocomplete or 2 tab to view available suggestion. Input history from previous run is available as well.

Available commands are listed in Read The Docs.

This is a guest post written by Minh. If you have any queries regarding this tool, you can contact the author via mail: nhatminh179@gmail.com. Follow him on Twitter: @dtvd88.