Get the highlights in your inbox every week.
Read Reddit from the Linux terminal | Opensource.com
Read Reddit from the Linux terminal
Take brief mental breaks from your work with Reddit client Tuir in the eleventh in our series on 20 ways to be more productive with open source in 2020.
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.
Read Reddit with Tuir
Taking short breaks is essential in staying productive. One of the places I like to go when taking a break is Reddit, which can be a great resource if you want it to be. I find all kinds of articles there about DevOps, productivity, Emacs, chickens, and some ChromeOS projects I play with. These discussions can be valuable. I also follow a couple of subreddits that are just pictures of animals because I like pictures of animals (and not just chickens), and sometimes after a long work session, what I really need are kitten pictures.
When I'm reading Reddit (and not just looking at pictures of baby animals), I use Tuir, which stands for Terminal UI for Reddit. Tuir is a feature-complete Reddit client and can be run on any system that runs Python. Installation is done through the pip Python installer and is exceptionally painless.
On its first run, Tuir will take you to the default article list on Reddit. The top and bottom of the screen have bars that list different commands. The top bar shows your location on Reddit, and the second line shows the commands filtered by the Reddit "Hot/New/Controversial/etc." categories. Filtering is invoked by pressing the number next to the filter you want to use.
You can navigate through the list with the arrow keys, or with the j, k, h, and l keys, the same ones you use for Vi/Vim. The bottom bar has commands for navigating the app. If you want to jump to another subreddit, simply hit the / key to open a prompt and type the name of the subreddit you want to interact with.
Tuir can also launch your browser to view images, load links, and so on. With a little tuning, it can even show images on the terminal (although I didn't manage to get that to work properly).
Overall, I'm pretty happy with Tuir for quickly catching up on Reddit when I need a break.
Tuir is one of two forks of the now-defunct RTV. The other is TTRV, which isn't available via pip (yet) but has the same features. I'm looking forward to seeing how they differentiate themselves over time.