Science and technology

Read Reddit from the Linux terminal

Last yr, I introduced you 19 days of recent (to you) productiveness instruments for 2019. This yr, I am taking a unique strategy: constructing an surroundings that may let you be extra productive within the new yr, utilizing instruments it’s possible you’ll or might not already be utilizing.

Read Reddit with Tuir

Taking quick breaks is important in staying productive. One of the locations I wish to go when taking a break is Reddit, which generally is a nice useful resource if you’d like it to be. I discover all types of articles there about DevOps, productiveness, Emacs, chickens, and a few ChromeOS tasks I play with. These discussions may be priceless. I additionally comply with a few subreddits which can be simply footage of animals as a result of I like footage of animals (and never simply chickens), and generally after an extended work session, what I actually need are kitten footage.

When I am studying Reddit (and never simply footage of child animals), I take advantage of Tuir, which stands for Terminal UI for Reddit. Tuir is a feature-complete Reddit shopper and may be run on any system that runs Python. Installation is finished by means of the pip Python installer and is exceptionally painless.

On its first run, Tuir will take you to the default article listing on Reddit. The high and backside of the display screen have bars that listing totally different instructions. The high bar reveals your location on Reddit, and the second line reveals the instructions filtered by the Reddit “Hot/New/Controversial/etc.” classes. Filtering is invoked by urgent the quantity subsequent to the filter you need to use.

You can navigate by means of the listing with the arrow keys, or with the j, okay, h, and l keys, the identical ones you utilize for Vi/Vim. The backside bar has instructions for navigating the app. If you need to leap to a different subreddit, merely hit the / key to open a immediate and kind the identify of the subreddit you need to work together with.

Some issues aren’t accessible except you’re logged in. Tuir will immediate you if you happen to attempt to do one thing that requires logging in, like posting a brand new article (c) or up/down voting (a and z, respectively). To log in, press the u key. This will launch a browser to log in through OAuth2, and Tuir will save the token. Afterward, your username ought to seem within the top-right of the display screen.

Tuir may also launch your browser to view photographs, load hyperlinks, and so forth. With a little bit tuning, it may even present photographs on the terminal (though I did not handle to get that to work correctly).

Overall, I am fairly pleased with Tuir for shortly catching up on Reddit after I want a break.

Tuir is certainly one of two forks of the now-defunct RTV. The different is TTRV, which is not accessible through pip (but) however has the identical options. I am trying ahead to seeing how they differentiate themselves over time.

Most Popular

To Top