DEV Community

Cover image for I built a full-screen news reader that lives in the terminal
Nishal K
Nishal K

Posted on

I built a full-screen news reader that lives in the terminal

Installation

Linux / macOS

pip install worldnews-cli
worldnews
Enter fullscreen mode Exit fullscreen mode

Windows

If pip isn't in your PATH:

py -m pip install worldnews-cli
py -m worldnews
Enter fullscreen mode Exit fullscreen mode

Or:

python -m worldnews
Enter fullscreen mode Exit fullscreen mode

Built With

  • Python
  • Textual
  • feedparser
  • Rich

Links

Website

https://nishal21.github.io/News-CLI/

PyPI

https://pypi.org/project/worldnews-cli/

GitHub

https://github.com/nishal21/News-CLI

My Website

https://nishal.dev


I'd love feedback.

If you try it, let me know:

  • Which terminal you're using
  • Which operating system
  • Which RSS feed broke first 😄

Pull requests, issues, and feature suggestions are always welcome.

Top comments (2)

Collapse
 
reidmarlow profile image
Reid Marlow

The terminal-first part is the right constraint. Most news readers turn into a dashboard project; keeping it inside Textual means the feed list, opening, and exit path stay keyboard-native. If you want a nasty test case, mixed Atom/RSS feeds with broken dates usually find the bugs fast.

Collapse
 
nishal21 profile image
Nishal K

Thanks. Staying inside Textual was deliberate so I wouldn't turn it into another dashboard. And yeah, broken Atom/RSS dates are a good nasty test. I've already hit weird published values; I'll keep throwing mixed feeds at it.