How to use the linux terminal to update twitter

How to use the linux terminal to update twitter

While this may seem like a solution searching for a problem, for some people interacting with Twitter in a terminal window makes sense. There’s less distraction at the command line than with a desktop Twitter client or even Twitter’s web interface. On top of that, command-line clients are fast and their interfaces are generally quite clean.

No matter why you want to work with Twitter in a terminal, there are applications out there for you. Here’s a look at three Twitter clients that you can run from the command line.

Twidge

Twidge is a simple but effective Twitter client. It lets you interact with your Twitter account in a number of ways, including reading and sending tweets and direct messages, replying and retweeting, and viewing a list of your own tweets. You can even tell Twidge to shorten URLs in your tweets by adding a couple of lines to its configuration file.

How to use the linux terminal to update twitter

Twidge isn’t interactive. Every time you want to do something, you need to run Twidge with an option. For example, type twidge update “My message” to post a tweet. If you can’t remember an option, type twidge lscommands to get a list of options.

Twidge displays information in a very clean way. You get two columns, with a Twitter handle on the left and tweets or messages on the right.

Oysttyer

Oysttyer is a Perl script that packs a number of features into its 8,000+ lines. Unlike Twidge, it’s interactive. When you fire up Oysttyer, it grabs your current timeline. Then, it waits for you to tell it what to do.

How to use the linux terminal to update twitter

You do that by issuing one of Oysttyer’s built-in commands that gives you an impressive level of control over how you interact with Twitter. Each command has a forward slash in front of it, like /refresh , to get the latest tweets in your timeline.

The forward slash is very important. Oysttyer considers anything that you type without a forward slash in front of it to be a tweet. If you don’t include the slash with commands, you’re going to leave some of your followers scratching their heads, as I found out!

Rainbow Stream

Rainbow Stream is probably the most visually appealing command-line Twitter client I’ve seen. It’s not just a pretty face, though. Rainbow Stream can do just about everything a web-based or desktop Twitter client can.

Like what? Post and reply to tweets, send direct messages, view conversations, and block or mute people. You can even attach images to, and view them in, tweets (plus a whole lot more).

How to use the linux terminal to update twitter

You can also customize the look and feel of Rainbow Stream. It has a number of themes, which change the colors of text and links. You can even change the format of how you quote tweets when replying or retweeting.

Do you have a favorite Twitter client for the Linux command line? Feel free to share it by leaving a comment.

For all those people who like to use Twitter in console/terminal rather than Graphical User Interface can now access their twitter account right from the Linux Console. Yes you heard it right. You can now access your Twitter account using a Linux Command-line Twitter Client called Rainbow Stream.

How to use the linux terminal to update twitter

What is Rainbow Stream

Rainbow Stream is a free and open source Twitter-client for Linux command-line, released under MIT License. It is capable of showing Realtime tweetstream, compose a tweet, search, favorite,…..etc. Rainbow Stream gives a real-fun right into your Linux terminal. It is also capable of showing twitter images directly on terminal.

It is written in Python and built on top of Twitter API and Python Twitter Tool. To run this application in your console you must have installed python and pip version 2.7.x or 3.x.

Features of RainbowStream

  1. Free and open source Twitter-client for Linux command-line.
  2. Capable of rendering twitter image in Terminal.
  3. Support Proxy.
  4. Interactive Mode supported.
  5. Theme Customization well implemented.
  6. Capable of showing Real-time Twitter stream.
  7. You can tweet, search, favorite tweets right from your terminal.

Installation of Rainbow Stream Twitter Client in Linux

In most of the today’s Linux distribution, python should already be installed on your system. You may check the version of Python installed as:

Next, install python-pip package using following commands as per your Linux distributions.

Note: Use ‘dnf‘ in place of yum, if you are on Fedora 22.

Check version of installed pip.

Now its time to install rainbow stream twitter client.

After successful installation you should get the below message in your terminal.

You may like to get help on rainbowstream.

How to use the linux terminal to update twitter

Rainbow Stream Twitter Client Usage

1. First you need to connect and authorize application on twitter site using your twitter account.

Note: You must have a twitter account, if you don’t create one.

2. Now type ‘rainbowstream’ in your Linux terminal, as user.

It will open a tab in your default HTTP web browser, login and you will get a pin. If you have already logged into your account the page should be showing PIN. If you have configured more than one Twitter account in your HTTP web browser, consider trying logging out of other account and login to the account you want to connect.

How to use the linux terminal to update twitter How to use the linux terminal to update twitter

3. Copy the PIN from HTTP web Browser into your terminal and hit return key.

How to use the linux terminal to update twitter

It will take a few seconds and you should get your twitter_user_name in your Linux prompt.

How to use the linux terminal to update twitter

Notice your Twitter stream, you should see tweets by those whom you follow.

4. To display tweet’s images directly in your Terminal, you can do:

How to use the linux terminal to update twitter How to use the linux terminal to update twitter

5. To display current twitter Trend.

How to use the linux terminal to update twitter

6. To see current twitter trend specifically country-wise, for example India (IN).

How to use the linux terminal to update twitter

Note: Here IN is for India. If you want to see Current Trend for US, or any other country, you may do so.

7. To see your twitter Home and Followers.

How to use the linux terminal to update twitter How to use the linux terminal to update twitter

8. T see list of all your friends, people whom you are following.

How to use the linux terminal to update twitter

Here is the list of commands you can run to handle your twitter tweets and feeds from your Linux terminal.

Twidge is a terminal client for microblogging sites such as Twitter and identi.ca.

Twidge is a full command-line client. It is designed to be useful when you’re sitting at a shell prompt. It produces output in well-formed and easily-parsed ways, and has various features for working with piped data.

There are other command line tools for twitter which are also available, but most of them are not updated for the changes in twitter security settings.
Here is how you can install and configure Twidge,

Twidge is available in the oneiric apt repositories, so if you are using Ubuntu 11.10 you just need to install Twidge using the install command.

  • $ sudo apt-get install twidge
  • $ sudo gedit /etc/apt/sources.list
  • $ sudo apt-get update
  • $ sudo apt-get install twidge

Twidge Setup:

Issue the following command in the terminal

  • $ twidge setup

Twidge Setup will generate a URL for the authentication (see the below image), copy the URL and paste it into your browser, it will ask you to login with your login credentials, just login and it will generate an authentication code.

Enter the authentication code in the terminal, and you are done and ready tweet the geek way 🙂

How to use the linux terminal to update twitter

Some useful Twidge commands:

For the detailed description for the twidge commands look inside Twidge man pages.

A command-line power tool for Twitter.

The CLI takes syntactic cues from the Twitter SMS commands, but it offers vastly more commands and capabilities than are available via SMS.

First, make sure you have Ruby installed.

On a Mac, open /Applications/Utilities/Terminal.app and type:

If the output looks something like this, you’re in good shape:

If the output looks more like this, you need to install Ruby:

On Linux, for Debian-based systems, open a terminal and type:

or for Red Hat-based distros like Fedora and CentOS, type:

(if necessary, adapt for your package manager)

On Windows, you can install Ruby with RubyInstaller.

Once you’ve verified that Ruby is installed:

Twitter API v1.1 requires OAuth for all of its functionality, so you’ll need a registered Twitter application. If you’ve never registered a Twitter application before, it’s easy! Just sign-in using your Twitter account and then fill out the short form at https://apps.twitter.com/app/new. If you’ve previously registered a Twitter application, it should be listed at https://apps.twitter.com/. Once you’ve registered an application, make sure to set your application’s Access Level to “Read, Write and Access direct messages”, otherwise you’ll receive an error that looks like this:

A mobile phone number must be associated with your account in order to obtain write privileges. If your carrier is not supported by Twitter and you are unable to add a number, contact Twitter using https://support.twitter.com/forms/platform, selecting the last checkbox. Some users have reported success adding their number using the mobile site, https://mobile.twitter.com/settings, which seems to bypass the carrier check at the moment.

Now, you’re ready to authorize a Twitter account with your application. To proceed, type the following command at the prompt and follow the instructions:

This command will direct you to a URL where you can sign-in to Twitter, authorize the application, and then enter the returned PIN back into the terminal. If you type the PIN correctly, you should now be authorized to use t as that user. To authorize multiple accounts, simply repeat the last step, signing into Twitter as a different user.

NOTE: If you have problems authorizing multiple accounts, open a new window in your browser in incognito/private-browsing mode and repeat the t authorize steps. This is apparently due to a bug in twitter’s cookie handling.

You can see a list of all the accounts you’ve authorized by typing the command:

The output of which will be structured like this:

Note: One of your authorized accounts (specifically, the last one authorized) will be set as active. To change the active account, use the set subcommand, passing either just a username, if it’s unambiguous, or a username and consumer key pair, like this:

Account information is stored in a YAML-formatted file located at

Note: Anyone with access to this file can impersonate you on Twitter, so it’s important to keep it secure, just as you would treat your SSH private key. For this reason, the file is hidden and has the permission bits set to 0600 .

Typing t help will list all the available commands. You can type t help TASK to get help for a specific command.

How to use the linux terminal to update twitter

Cawbird is a modern and lightweight Twitter client for the GNOME 3 desktop. It features inline image and video preview, creation of lists and favorites, filtering of tweets and full text search. Cawbird is able to manage multiple Twitter accounts.

Cawbird is a fork of Corebird, which became unsupported after Twitter disabled the streaming API. Cawbird works with the new APIs and includes a few fixes and modifications that have historically been patched in to IBBoard’s custom Corebird build on his personal Open Build Service account[1].

Due to changes in the Twitter API[2], Cawbird has the following limitations:

  • Cawbird will update every two minutes
  • Cawbird does not get notified of the following, which will be refreshed on restart:
    • Unfavourite
    • Follow/Unfollow
    • Block/Unblock
    • Mute/Unmute
    • DM deletion
    • Some list changes

    All limitations are limitations imposed by Twitter and are not the fault of the Cawbird client.

    Details for Cawbird Twitter Client

    Enable snaps on Linux Mint and install Cawbird Twitter Client

    Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

    Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.

    Enable snapd

    Snap is available for Linux Mint 18.2 (Sonya), Linux Mint 18.3 (Sylvia), Linux Mint 19 (Tara), Linux Mint 19.1 (Tessa) and the latest release, Linux Mint 20 (Ulyana). You can find out which version of Linux Mint you’re running by opening System info from the Preferences menu.

    On Linux Mint 20, /etc/apt/preferences.d/nosnap.pref needs to be removed before Snap can be installed. This can be accomplished from the command line:

    To install snap from the Software Manager application, search for snapd and click Install. Alternatively, snapd can be installed from the command line:

    Either restart your machine, or log out and in again, to complete the installation.

    Make sure snap support is enabled in your Desktop store.

    Install using the command line

    Channel Version Published

    How to use the linux terminal to update twitter

    How to use the linux terminal to update twitter

    How to use the linux terminal to update twitter

    How to use the linux terminal to update twitter

    Cawbird Twitter Client (Corebird fork)

    Cawbird is a modern and lightweight Twitter client for the GNOME 3 desktop. It features inline image and video preview, creation of lists and favorites, filtering of tweets and full text search. Cawbird is able to manage multiple Twitter accounts.

    Cawbird is a fork of Corebird, which became unsupported after Twitter disabled the streaming API. Cawbird works with the new APIs and includes a few fixes and modifications that have historically been patched in to IBBoard’s custom Corebird build on his personal Open Build Service account[1].

    Due to changes in the Twitter API[2], Cawbird has the following limitations:

    • Cawbird will update every two minutes
    • Cawbird does not get notified of the following, which will be refreshed on restart:
      • Unfavourite
      • Follow/Unfollow
      • Block/Unblock
      • Mute/Unmute
      • DM deletion
      • Some list changes

      All limitations are limitations imposed by Twitter and are not the fault of the Cawbird client.

      I think there is no doubt that Twitter is one of the most influential social networks in existence. And now in Ubuntu 20.04, we can have a simple and efficient desktop client. So today you will learn how to install Cawbird on Ubuntu 20.04 a modern, simple but effective desktop Twitter client.

      Cawbird is a modern and lightweight Twitter client for the GNOME 3 desktop. It features inline image and video preview, creation of lists and favorites, filtering of tweets, and full-text search. Cawbird is able to manage multiple Twitter accounts.

      This plugin is a fork of the mythical Corebird which was abandoned by its creator due to new changes in Twitter’s API policy.

      Cawbird works with the new APIs and includes a few fixes and modifications. So we can be relieved and confident that we can continue to count on it.

      • Cawbird will update every two minutes.
      • Cawbird does not get notified of the following, which will be refreshed on restart:
        – Unfavourite
        – Follow/Unfollow
        – Block/Unblock
        – Mute/Unmute
        – DM deletion
        – Some list changes

      And remember that all these limitations are not Cawbird’s fault but Twitter’s policies.

      Install Cawbird on Ubuntu 20.04

      As with many other programs, Cawbird can be installed in several ways on Ubuntu 20.04.

      In this case we will show you 3 of which you can choose from without any problems.

      Method 1: Using the DEB package

      To do this we need to add the repository of the project they have dedicated for Ubuntu 20.04. This process is quite simple and we will do it using the terminal. So, open a terminal from the main menu

      Now before we start we need to update the system

      Next, add the running support

      Now import and add the GPG key from this repository.

      Refresh APT to apply changes

      Next, install Cawbird by running the following command.

      Method 2: Install Cawbird on Ubuntu 20.04 using the snap command

      Also, we can install Cawbird using the snap command. This command belongs to UBuntu and allows us to get software that includes all its dependencies. This way we won’t have any compatibility problems.

      So, to install it, just run the following command

      This will be enough.

      Method 3: The Flatpak via

      There is a third method and that is using Flatpak. This technology is intended to rival snap , the difference is that behind Flatpak is Red Hat and other very strong open-source software companies.

      So, this method is recommended especially if you use other applications with Flatpak or if you don’t trust snap too much.

      So, open a terminal and install Flatpak by adding the following repository

      Now you can install the latest version of Flatpak by running the following command

      After that, add the Flathub repository where many Flatpak applications like Cawbird are located,

      Finally, install Flatpak by running

      This is how fast it installs

      No matter which method you have chosen, once the process is finished, you can run the application from the main menu.

      Now you will see that you have to request a pin to log in.

      Cawbird on Ubuntu 20.04

      In case you want to remove Cawbird from the system, you can do so by following these steps.

      If you have installed Cawbird using method 1, then open a terminal and run

      Also, it’s a good idea to remove the repository as well.

      Complete the process, refreshing APT

      In the case of method 2, simply run the following command

      Finally, if you installed using Flatpak, then run the following command

      This way there will be no traces left on the system.

      With Cawbird we have an application for our direct Twitter on the desktop. Due to the limitation of the company, we will not be able to have more features but we appreciate the effort put in.

      In this post, you learned how to install Cawbird on Ubuntu 20.04 quickly and easily with several installation methods.

      Working from commandline is fun, fast, safe and also it is a recommended way to learn Linux. Everyday, I spend so much time on all Linux forums, popular websites, and blogs in the pursuit of CLI alternatives to GUI applications. A while ago, I wrote about a few worth mentioning command line tools such as Translate Shell (a command-line google translator), cmus (commandline music player). Yesterday, I stumbled upon a commandline Twitter client called “Twitter CLI” or just “t”. which allows us to tweet from Terminal. This is very cool application ever I have found lately. In this brief tutorial, let us see how to install and use Twitter commandline tool in Linux.

      Tweet From Commandline In Linux Using “Twitter CLI”

      Installation

      First, make sure you have Ruby installed on your system.

      On DEB based systems such as Ubuntu, Linux Mint, the following command will install Ruby:

      On RPM based systems such as RHEL, Fedora, CentOS, run:

      Now, install ‘Twitter CLI’ twitter cli using command:

      This command will install ‘Twitter CLI’ tool along with all dependencies.

      Troubleshooting:

      Just in case, you got an error something like below, You need to add ruby to your PATH variable. If not, just skip this part, and go to the Configuration section below.

      In my case, I have added the following to my PATH:

      To update the PATH changes, run:

      Next, install ‘Twitter’ using command:

      Sample output would be:

      Configuration

      Before you can use t, you’ll first need to register an application with Twitter. Just follow the steps below:

      Sign in to the Twitter Application Management site and click “Create New App”.

      How to use the linux terminal to update twitter

      Fill up the required fields and submit the form. Please note that your application must have a unique name. Then, Go to the Permissions tab of your application, and change the Access setting to “Read, Write and Access direct messages”. A mobile phone number must be associated with your Twitter account in order to obtain write privileges.

      Go to the Keys and Access Tokens tab to view the consumer key and secret which you’ll need to copy and paste when prompted.

      How to use the linux terminal to update twitter

      We have installed “t” and we have created and registered an application in Twitter. Now, we need to authorize this tool with our Twitter account. To do so, run:

      You will see a dialog. Press ENTER key to open Twitter Developer site and copy/paste the the consumer key and secret keys when prompted.

      Enter the correct API key and secret key of your application and press ENTER. Next Twitter app authorization page will open. Click “Authorize app” to continue.

      How to use the linux terminal to update twitter

      In the next window of your browser, you will see an Unique PIN.

      How to use the linux terminal to update twitter

      You need to copy this PIN and paste it in the Terminal prompt:

      If you get “Authorization successful.” message, congrats! You have successfully configured “t” with your Twitter account. To authorize multiple accounts, simply repeat the last step, signing into Twitter as a different user.

      Usage

      To view the list of all the accounts you’ve authorized, run:

      Sample output would be:

      As you see above, I have only one authorized Twitter account. If you have authorized more than one accounts, the last authorized account will be set as active.

      To set another account as active, just mention the username and its consumer key like below:

      All authorized account details will be stored in a file called YAML in

      /.trc file. You can view the accounts details at any time using command:

      How to use the linux terminal to update twitter

      Let us now tweet from command line.

      To do so, just run:

      Sample output would be:

      Now, open your Twitter account and check if the tweet has been posted or not.

      How to use the linux terminal to update twitter

      There it is. I have just tweeted a Mark Twain’s quote from command line. Cool, isn’t it?

      The beauty of this tool is it will display how to delete your last tweet from the result itself. To delete the above tweet, I ran the following command:

      It will ask you a confirmation. Just type ‘y’ and hit ENTER to delete the tweet.

      It is simple as that.

      To include special characters in your tweet, just wrap it with single quotes instead of double quotes, so those characters are not interpreted by your shell. If you use single quotes, your Tweet obviously can’t contain any apostrophes unless you prefix them with a backslash \: Look at the following example:

      We know now how to post a tweet and how to delete. You might how to view a Twitter user’s complete details. It’s simple! If you know a person’s twitter username, you can view the details of his account using command:

      To view an user’s stats, run:

      You can also view multiple users stats like below:

      To follow an user:

      To follow multiple users:

      List all your friends, in long format, ordered by number of followers:

      List all your leaders (people you follow who don’t follow you back):

      Mute everyone you follow:

      Unfollow everyone you follow who doesn’t follow you back:

      Favorite the last 10 tweets that mention you:

      To start streaming your timeline, run:

      Press CTRL+C to stop streaming.

      To search Twitter for the 20 most recent Tweets that match a specified query:

      The above command will list the recent 20 tweets that match a query “Linux”.

      Search Tweets you’ve favorited that match a specified query:

      Search Tweets mentioning you that match a specified query:

      There are more options, but this is enough to getting started with Twitter from commandline.

      To view complete list of available commands, just run:

      Conclusion

      I really enjoyed tweeting from commandline. This utility is really fast and useful for those who use commandline more than GUI environment. Give it a try, you won’t be disappointed.

      Well then, I leave you to get acquainted with this useful tool. I will go find more CLI alternatives to popular GUI applications and post them here from time to time. So, subscribe and bookmark our website to get daily updates about Open source, Technology, Linux and Unix related stuffs.

      How to use the linux terminal to update twitter

      This is not the first article signed by me that talks about a Twitter client for Linux and it probably won’t be the last. And the thing is that in Windows there is an official app (be careful with it because it can block accounts for a “strange use” if we add more than one) and in macOS we have alternatives like Tweetbot, not to mention that soon we will be able to use the iPad apps in Mac. In Linux there are many Twitter clients, but all with very important shortcomings. twinux It is another option that, for what I was looking for, is ALMOST perfect.

      What am I looking for in a Twitter client? Basically, that I can do the same thing that I can do from the Android / iOS app or the web version without having to depend on Firefox: tweet, retweet, view / create surveys, etc., and be able to add more than one account. I know that many have not liked the change to the new interface of the web version, but for me, who am used to mobile apps, it was a positive change. One of the last changes was that we can use multiple accounts, so I am comfortable with the web version. For me the problem is that I don’t want to depend on the browser.

      twinux is like a browser tab for Twitter Web

      How to use the linux terminal to update twitter

      twinux is like a browser tab that only shows Twitter Web. Is electron based And, as from the browser, we can have the “mobile” version stretched vertically or the version “for tablet” if we leave the window in the landscape. Its behavior is exactly the same as what we would get if we created a Twitter web-app with Ice, so we will also get a deficiency that, if we use several accounts, is not too serious: it does not support notifications. I say that it is not too serious because, if we add several accounts in Firefox, we are in account A and they send a notification to account B, we will not receive anything.

      twinux is available as snap package, so its installation is as simple as opening the software center, searching for the app and installing it or opening a terminal and typing the following command:

      For all this, for me that I have decided to separate WhatsApp Web, Telegram and Twitter into different apps, twinux is almost the perfect Twitter client for Linux that I was looking for.

      The content of the article adheres to our principles of editorial ethics. To report an error click here!.

      Full path to article: ubunlog » Software » twinux: almost the Twitter client for Linux that I was looking for

      Web sites are made of lots of things — frameworks, libraries, assets, and utilities. Bower manages all these things for you.

      Keeping track of all these packages and making sure they are up to date (or set to the specific versions you need) is tricky. Bower to the rescue!

      Bower can manage components that contain HTML, CSS, JavaScript, fonts or even image files. Bower doesn’t concatenate or minify code or do anything else – it just installs the right versions of the packages you need and their dependencies.

      To get started, Bower works by fetching and installing packages from all over, taking care of hunting, finding, downloading, and saving the stuff you’re looking for. Bower keeps track of these packages in a manifest file, bower.json . How you use packages is up to you. Bower provides hooks to facilitate using packages in your tools and workflows.

      Bower is optimized for the front-end. If multiple packages depend on a package – jQuery for example – Bower will download jQuery just once. This is known as a flat dependency graph and it helps reduce page load.

      Install Bower

      Bower is a command line utility. Install it with npm.

      Bower requires node, npm and git.

      For troubleshooting installation on different platforms, read the troubleshooting wiki page.

      Getting started

      Install packages

      Install packages with bower install . Bower installs packages to bower_components/ .

      A package can be a GitHub shorthand, a Git endpoint, a URL, and more. Read more about bower install .

      Search packages

      Search Bower packages and find the registered package names for your favorite projects.

      Save packages

      Create a bower.json file for your package with bower init .

      Then save new dependencies to your bower.json with bower install PACKAGE –save

      Use packages

      How you use packages is up to you. We recommend you use Bower together with Grunt, RequireJS, Yeoman, and lots of other tools or build your own workflow with the API. You can also use the installed packages directly, like this, in the case of jquery :

      Rainbowstream There have been many tools that can be tweeted in the terminal, but there is nothing that is quite satisfying when using it. That’s why I made a thing called Rainbow Stream, which I’m about to introduce.

      As the name suggests, Rainbow Stream features colorful streaming of Tweets from around the world that flow in front of you like the flow of a river. You can also display images based on CLI.

      Easy installation with pip

      However, it is recommended to install it in an independent environment using virtualenv :

      After installation, start with the following command

      And if you want to launch streaming where you can see the image directly in the terminal

      A list of supported commands can be found in ReadTheDocs, but the main ones are as follows.

      • Explore command
      • Trend, home timeline, view profile, search.
      • Tweet command
      • Tweet, retweet, reply, quote, favourite.
      • Message command
      • View inbox, sent, send a message.
      • Follow command
      • follow, mute, block.
      • List command
      • List home timeline, add, remove, create, delete.
      • Stream command
      • Switch to public/private stream, filter, ignore.
      • Smart shell
      • Calculator, calendar
      • Config command
      • Check config value, change, select theme, change .
      • Common command
      • help, clear screen, exit.

      The following themes have already been prepared.

      • Monokai How to use the linux terminal to update twitter
      • Solarized How to use the linux terminal to update twitter
      • Tomorrow Night How to use the linux terminal to update twitter
      • Larapaste How to use the linux terminal to update twitter

      Since it is a CLI, it will be interesting to be able to run it on various devices and environments.

      Rainbow Stream is a free and open source Twitter-consumer for Linux command-line, released under MIT License. It is competent of showing Rea ltime tweet stream, compose a tweet, search, favorite,etc.It is written in Python and built on high of Twitter API and Python Twitter Tool. To run this application in your console you must have installed python and pip version 2.7.x or 3.x.

      Features

      It is a free and open source twitter-client for Linux command-line.

      It is capable of rendering twitter image in Terminal.

      It supports Proxy.

      It supports interactive mode.

      Theme customization is implemented.

      It has the capability of showing real-time twitter stream.

      You can tweet, search, favorite tweets right from your terminal.

      Installation of Rainbow Stream Twitter Client in Linux

      Before installing Rainbow stream, you must check the version of Python if it is installed or not by using the following command –

      The sample output should be like this –

      To install python-pip package, use the following command –

      The sample output should be like this –

      To check the version of installed pip, use the following command –

      The sample output should be like this –

      To install rainbow stream twitter client, use the following command –

      The sample output should be like this –

      To get the help on rainbowstream,use the following command –

      The sample output should be like this –

      Rainbow Stream Twitter Client Usage

      To use Rainbow stream twitter client, use the following command –

      When you enter the above command, it will open a screen as shown below –

      How to use the linux terminal to update twitter

      Login with your credentials and you will get a pin. If you have already logged into your account, the page should be showing PIN.

      How to use the linux terminal to update twitter

      Copy the PIN from HTTP favorite web Browser into your terminal and hit return key as shown below –

      you will get the tweets as shown below –

      To display trends, use the following command –

      The sample output should be like this –

      To get the list of followers, use the following command-

      To get the help, use the following command –

      The sample output should be like this –

      To quit from Rainbow Stream, use the following command –

      The sample output should be like this –

      After this article, you will be able to understand – “How to install Rainbow Stream and usage of Rainbow Stream in Ubuntu”. In our next articles, we will come up with more Linux based tricks and tips. Keep reading!

      ModernDeck is an app/extension running atop TweetDeck that brings a new, Material Design-inspired interface, as well as new customization features.

      How to use the linux terminal to update twitter

      ModernDeck is designed by dangeredwolf and released under the MIT License.

      To build ModernDeck, you need to first install Node.js (which comes with npm) and git if you don’t have it installed already

      ModernDeck is tested against the Node 16. It will probably work fine on Node 12+

      On Windows, you will need to download git if you haven’t yet already. You can either download just git itself, or download GitHub’s Windows client, which also includes git and other tools, even if you don’t use the GUI portion.

      For macOS, you can install the necessary packages using Homebrew.

      brew install git node

      Xcode Command Line Tools also include git. If you already have it, you can remove “git” from the command.

      On Linux, it varies depending on your distribution. If you’re using Ubuntu or Debian, you just need to run:

      sudo apt install git nodejs

      You’ll want to use your Terminal (macOS and Linux) or PowerShell (Windows) for this.

      First, of course, cd into a directory where you want to clone the source to.

      Next, clone the git.

      git clone https://github.com/dangeredwolf/ModernDeck.git

      Finally, install all the necessary NPM dependencies

      This may take several minutes

      Building the Electron app

      From the main folder where you just were, you can run the app for testing using:

      This will run rollup and create an electron instance for it.

      ℹ Building ModernDeck’s source with Rollup increments the Build number as well

      To start without building. npm run startNoBuild

      To update language data (DataI18n) from tweetdeck-i18n.csv. npm run updatei18n

      If you want to create the proper installers, you can run:

      npm run build . to build for every platform your OS supports building for

      npm run buildWindows . to build for Windows

      npm run buildMac . to build for macOS

      npm run buildLinux . to build for Linux

      ModernDeck also includes build.bat for Windows. It requires Windows 10 or Windows Server 2019, with WSL installed (including wsl.exe), with the proper tools (node, npm) installed on both WSL and Windows.

      This makes it very quick to build for every platform, including extension, except macOS, particularly because it doesn’t require the electron build server.

      Building for macOS requires running under macOS. Under macOS, you can build for Windows, macOS, and Linux. Under both Linux and Windows, you can build for both Linux and Windows. (Windows requires WSL, see above)

      Building the browser extension

      First, you need to run rollup.

      This will transpile ModernDeck source and dependencies into a single moderndeck.js file. This needs to be run if you make JS changes under the ModernDeck/src directory

      ℹ Building ModernDeck’s source with Rollup increments the Build number as well

      To test the extension, you’ll want to load the unpacked extension. This, of course, varies by browser.

      Open the Chrome menu, go to More tools > Extensions

      Turn on Developer Mode in the top right corner if you haven’t already.

      Click the Load unpacked button

      Navigate to ModernDeck/common and click Select Folder

      Go to about:debugging

      Click This Firefox

      Click Load Temporary Add-on.

      Navigate to ModernDeck/common/manifest.json

      Open the . menu

      Click Extensions

      Turn on Developer Mode in the bottom left corner if you haven’t already

      Click the Load unpacked button

      Navigate to ModernDeck/common and click Select Folder

      Microsoft Edge Legacy (The EdgeHTML-based browser) is no longer supported in ModernDeck 8.0 and later. It might still work, but no problems with it will be corrected.

      Click the Extensions button in the bar on the left side (the icon looks like a box)

      Turn on Developer Mode in the top right if you haven’t already

      How to use the linux terminal to update twitter

      Cawbird with native toolbar theming

      As a heavy Twitter user I often use the Cawbird Twitter client for Linux — and the app just got a new release with a couple of notable improvements.

      Cawbird is a free, open source desktop Twitter client for Linux desktops.

      Built in GTK, Cawbird is a direct continuation of the abandoned ‘Corebird’ Twitter client popular a few years back.

      Cawbird has all the core features you’d expect from a third-party Twitter client, including multiple account support, photo uploaded, account management and editing options, filters, and more.

      You can also read, respond and react to tweets as they appear as the timeline shows posts in reverse chronological order, not an “algorithm” dictated jumble.

      The latest version is Cawbird 1.0.4 and it makes the following changes:

      • Improves native theming (tool bar now uses native colors)
      • Imports favourited images in Corebird
      • Fixestweet length error (involving quote marks)

      You can install or upgrade to Cawbird 1.0.4 on Ubuntu 18.04 LTS and above in a number of ways.

      The recommended method is to the add the OBS repository to your system, import the seucrity key, and install it from there.

      If you’re using Ubuntu or an Ubuntu-based Linux distro like Linux Mint or Zorin OS you have the option to download an installer directly from the repository page:

      A Flatpak build is available on Flathub:

      Finally, Cawbird is unofficially available as a Snap application from the Snapcraft store.

      Home » Apps » Cawbird, the Linux Twitter Client, Scores a Small Update

      For the longest time I refused to see the value in Twitter. Over the last six months I have changed my tune on that. Now I use Twitter primarily as a PR tool for my articles. And since my renewed belief in micro-blogging, I have found plenty of tools with which to enact with Twitter.

      One tool I have found to be the least invasive is Twidge. Twidge does not have an application or daemon running in the background. Twidge does not have a panel applet. Twidge doesn’t even remain open in the terminal window. Twidge just allows you to enter commands that take specific action on your Twitter account. It’s simple, it’s fast, and it’s. well. command line fu-tastic! With that said, let’s install, configure, and use Twidge.

      Features

      The first thing you need to know is if Twidge offers enough features to convince you to use it. Here is the short list:

      • Simple to use.
      • View activity of friends.
      • Add followers.
      • Follow users.
      • Archiving of your tweets.
      • Automatic URL shortening via tinyurl.com.

      Installation

      As you would expect, twidge can be found in your distribution repositories. So all you need to do is open up a terminal and issue a command like:

      sudo apt-get install twidge

      yum install twidge

      The installation will pick up the curl dependency automatically. After Twidge is installed, keep that terminal open because you’ll need it (at least to begin with).

      Configuration

      In order to use Twidge you have to configure it to authenticate to your account. To do this you have to run a built-in configuration script issued from the command line. Issue the command:

      You will be asked two simple questions:

      • Your use(r)name.
      • Your password.

      That’s it. Now you are ready to start using Twidge.

      Usage

      The basic usage of Twidge is:

      twidge update ‘STATUS’

      Where STATUS is what you want to post to twitter (between single quotes).

      Of course updating is not always enough. Twidge has a number of built-in tools. Let’s take a look at what they are. NOTE: The basic usage of these tools is:

      twidge TOOL OPTIONS

      Where TOOL is the tool you want to use and OPTIONS are any options you want to pass to the tool (if any options are available).

      • lsarchive: List your own posts.
      • lsdm: List direct messages sent to you.
      • lsdmarchive: List direct messages you have sent.
      • lsrecent: Lists recent posts made by you or those you follow.
      • lsreplies: Lists all recent replies made to you.
      • lsfollowers: Lists those following you.
      • lsfollowing: Lists those you are following.

      All of these tools are used in the same way the tools above are used, except in certain instances you proceed the tool name with username like so:

      twidge TOOL USERNAME

      Where TOOL is the specific tool you want to use and USERNAME is the user you want to send the information to.

      • dmsend: Send a direct to a user.
      • follow: Follow a specific user.
      • unfollow: Stop following a user.
      • update: Update your status.

      So let’s say you want to update your status to say “Hey everyone, I am reading a cool article on Ghacks right now!”. To do this you would enter the command:

      twidge update ‘Hey everyone, I am reading a cool article on Ghacks right now!’

      and hit enter when you’re done.

      Let’s say, however, you wanted to use I’m instead of I am. The use of a single quote in the middle of that tweet would cause an error. To get around that just enter:

      and then hit enter. You should notice that you do not get your bash prompt back. What you do now is type in your tweet, without using quotes, and then hit enter. This way you can use contractions without having to worry about proper shell quotes.

      Using twidge without command line

      Although Twidge is a command line only tool, you can get around opening up a terminal by opening up your desktop’s run dialog and then entering your twidge command there. If you’re using GNOME you hit F2 and then enter the Twidge command in the run dialog. This keeps you from having to have yet another window open, and it’s much faster.

      Final thoughts

      I will make no bones about the fact that Twidge is not nearly as simple as the standard GUI-based tool. But Twidge makes up for that with speed, reliability, and flexibility. Because of its command line nature, you could even create a nifty bash script to use something like fortune and then add that bash script to a cron job so you would get an automatically updated status. Script-fu-tastic!

      Corebird is an open source Twitter client for Linux. It provides a way more faster experience of using Twitter than Web browsers. So in this tutorial, I will show you how to install and use Corebird on Ubuntu.

      Install Corebird on Ubuntu Using PPA

      The easiest way of installing corebird on Ubuntu is adding a PPA from ubuntuhandbook1. Enter this command:

      Now update local package index and install corebird.

      Now corebird can be launched from Dash.

      How to use the linux terminal to update twitter

      Log into Twitter

      You need to provide your twitter PIN to corebird in order to be able to login. Click Request PIN.

      How to use the linux terminal to update twitter

      It will take you to Twitter Web site. Click Authorize app button to authorize Corebird to use your account.

      How to use the linux terminal to update twitter

      Next, your twitter PIN will be generated, you need to enter this PIN in the Corebird Login screen and hit Confirm button.

      Reading Tweets

      How to use the linux terminal to update twitter

      Composing Tweet

      How to use the linux terminal to update twitter

      Corbird Full Screen Mode

      How to use the linux terminal to update twitter

      Corebird lacks proxy support, so if Twitter is blocked in your country or area, you need to establish a VPN connection to use Corebird. But it does provide a smoother experience than Web browsers.

      Update March 21, 2016: You can use proxychains to redirect corebird to go through a proxy server. First, press ALT+F2, then enter proxychains corebird to lunch corebird with proxy. To learn more about proxychains, click the following link.

      twarc is a command line tool and Python library for collecting and archiving Twitter JSON data via the Twitter API. It has separate commands (twarc and twarc2) for working with the older v1.1 API and the newer v2 API and Academic Access (respectively). It also has an ecosystem of plugins for doing things with the collected data.

      See the twarc documentation for running commands: twarc2 and twarc1 for using the v1.1 API. If you aren’t sure about which one to use you’ll want to start with twarc2 since the v1.1 is scheduled to be retired.

      Install

      If you have python installed, you can install twarc from a terminal (such as the Windows Command Prompt available in the “start” menu, or the OSX Terminal application):

      Once installed, you should be able to use the twarc and twarc2 command line utilities, or use it as a Python library – check the examples here for that.

      Other Tools

      Twarc is purpose build for working with the twitter API for archiving and studying digital trace data. It is not built as a general purpose API library for Twitter. While the primary use is academic, it works just as well with “Standard” v2 API and “Premium” v1.1 APIs.

      For a list of general purpose Twitter Libraries in different languages see the Twitter Documentation. For Python, TwitterAPI and tweepy are both up to date and maintained. They also support v2 APIs, and their data format with expansions may differ from twarc. There is also a reference implementation of the v2 Academic Access Search and v1.1 Premium Search from Twitter here. The v2 version of this script is compatible with twarc.

      For R there is academictwitteR. Unlike twarc, it focuses solely on querying the Twitter Academic Research Product Track v2 API endpoint. Data gathered in twarc can be imported into R for analysis as a dataframe if you export the data into CSV using twarc-csv.

      Getting Help

      Check the tutorials to get started, or follow along with this recorded stream introducing twarc. If you run into trouble, feel free to make a post on the Twarc Repository or on the Twitter Developer Forums.

      Depending on your use case and preference, you can use Vue with or without a build step.

      With Build Tools #

      A build setup allows us to use Vue Single-File Components (SFCs). The official Vue build setup is based on Vite, a frontend build tool that is modern, lightweight and extremely fast.

      Online #

      You can try Vue with SFCs online on StackBlitz. StackBlitz runs the Vite-based build setup directly in the browser, so it is almost identical to the local setup but doesn’t require installing anything on your machine.

      Local #

      • Familiarity with the command line
      • Install Node.js

      To create a build-tool-enabled Vue project on your machine, run the following command in your command line (without the > sign):

      This command will install and execute create-vue, the official Vue project scaffolding tool. You will be presented with prompts for a number of optional features such as TypeScript and testing support:

      If you are unsure about an option, simply choose No by hitting enter for now. Once the project is created, follow the instructions to install dependencies and start the dev server:

      You should now have your first Vue project running! Here are some additional tips:

      • The recommended IDE setup is Visual Studio Code + Volar extension. WebStorm is also viable.
      • More tooling details, including integration with backend frameworks, are discussed in the Tooling Guide.
      • To learn more about the underlying build tool Vite, check out the Vite docs.
      • If you chose to use TypeScript, check out the TypeScript Usage Guide.

      When you are ready to ship your app to production, run the following:

      This will create a production-ready build of your app in the project’s ./dist directory. Check out the Production Deployment Guide to learn more about shipping your app to production.

      Without Build Tools #

      To get started with Vue without a build step, simply copy the following code into an HTML file and open it in your browser:

      The above example uses the global build of Vue where all APIs are exposed under the global Vue variable.

      While the global build works, we will be primarily using ES modules syntax throughout the rest of the documentation for consistency. In order to use Vue over native ES modules, use the following HTML instead:

      Notice how we can import directly from ‘vue’ in our code – this is made possible by the