Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to read Reddit in Linux Terminal

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to read Reddit in the Linux terminal, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Use Tuir to read Reddit

A short break is important for maintaining productivity. One of the places I like to go when I take a break is Reddit, which may be a good resource if you like. I found a variety of articles there about DevOps, productivity, Emacs, chicken, and ChromeOS projects. These discussions may be valuable. I also follow some sub-boards with only animal pictures, because I like pictures of animals (not just chickens), and sometimes after long hours of work, what I really need is a picture of kittens.

/ r/emacs in Tuir

When I read Reddit (not just looking at pictures of baby animals), I use Tuir (Reddit terminal UI). Tuir is a full-featured Reddit client that can run on any system running Python. The installation is done through pip, which is very simple.

The first time you run it, Tuir enters the Reddit default article list. There are bars at the top and bottom of the screen that list different commands. The top bar shows your location on Reddit, and the second line shows commands filtered by categories such as Reddit "Hot/New/Controversial". Press the number in front of the filter to trigger the filter.

Filtering by Reddit's "top" category

You can use the arrow keys or the j, k, h and l keys to browse the list, which is the same as the keys used by Vi/Vim. The bottom bar has commands for applying navigation. If you want to jump to another daughter board, just press the / key to open the prompt and enter the name of the daughter board you want to enter.

Logging in

Some things cannot be accessed unless you log in. If you try to perform actions that require login, Tuir will prompt you, such as posting new articles (c) or pros / cons (an and z). To log in, press u. This will open a browser to log in through OAuth3, and Tuir will save the token. After that, your user name should appear at the top right of the screen.

Tuir can also open a browser to view images, load links, and so on. With a little adjustment, it can even display an image in the terminal (although I didn't make it work).

Overall, I am satisfied that Tuir can quickly keep up with Reddit when I need a break.

Tuir is one of the two bifurcations of the obsolete RTV. The other is TTRV, which cannot be installed through pip yet, but has the same functionality. I look forward to seeing them stand out over time.

The above is all the contents of the article "how to read Reddit in Linux Terminal". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report