I read this (“Using Twitter From the Command Line Is Actually Really Fun“) and I wanted it too. Not in an ordinary Linux box but in the Ubuntu bash on Windows 10. Turned out that I needed to add a graphical browser to be able to log into Twitter and authenticate the Rainbow Stream app.
It isn’t hard to do, but I thought I’d write it down anyway.
Assuming that bash is already installed, run these commands. There will be lots of notices and messages…
sudo apt-get install python3-pip(skip this if you already have pip; it is only required for the third step)
sudo apt-get install libsqlite3-dev libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev
sudo pip3 install rainbowstream
sudo apt-get install firefox(or any other web browser)
- in Windows, install an X server. I followed this article and installed the Xming X Server for Windows.
- back in bash:
firefox &(should open FF in an X window)
Hit enter to return to the prompt.
rainbowstream and authenticate the app in the browser. Enter the pin Twitter returns into rainbowstream and it should be up and running.