Skip to content

talaatmagdyx/rss-cli-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSS Feed Reader Application

This is a Ruby application that allows you to read and interact with RSS feeds. It uses the Nokogiri and tty-markdown gems to parse RSS feeds and display them in a user-friendly format. You can select a specific RSS feed item to view its contents in detail.

Features

  • Retrieve and parse RSS feeds from a specified URL.
  • Display a list of RSS feed items in a table format with consistent padding.
  • Choose a specific RSS feed item to view its contents.
  • Display keys in bold when viewing a single article.
  • Optionally read another item or close the application after viewing a single article.

Requirements

Installation

  1. Clone this repository:

    git clone https://github.com/talaatmagdyx/rss-cli-example.git
    cd rss-cli-example
  2. Install the required Ruby gems:

    bundle install
  3. Watch the animated GIF to see how the application works: RSS Feed Reader Usage

Usage

  1. Run the application and provide the URL of the RSS feed as an argument:
./rss_reader.rb -u <rss-feed-url>
  • Replace <rss-feed-url> with the URL of the RSS feed you want to read.
  1. The application will display a list of RSS feed items in a table format. Choose an item by entering its corresponding number.

  2. The application will display the contents of the chosen RSS feed item. The keys will be displayed in bold.

  3. After viewing a single article, the application will prompt you to read another item or close the application.

Examples

  • Example command to run the application with an RSS feed URL:

    ./rss_reader.rb -u https://www.ruby-lang.org/en/feeds/news.rss

License

This project is licensed under the MIT License. See the MIT License file for details.

Contributing

Contributions are welcome! Please feel free to open an issue or submit a pull request.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages