news_feed

News Feed Aggregator

A simple Node.js-based RSS feed aggregator with a clean web interface. Fetches articles from multiple RSS sources, summarizes them, and displays them in a randomized feed.

Features

Tech Stack

Installation

  1. Clone or download the repository
  2. Install dependencies:
    npm install
    

Usage

  1. Start the server:
    npm start
    # or
    node src/server.js
    
  2. Open your browser and go to:
    http://localhost:3000
    
  3. Add RSS sources using the “Manage Sources” button

  4. Wait for the cron job to fetch articles (runs every 10 minutes), or refresh the page

Project Structure

news_feed/
├── src/
│   ├── server.js          # Express server and API endpoints
│   ├── utils/
│   │   ├── fetcher.js     # RSS feed fetching logic
│   │   └── ai.js          # Article summarization
│   └── data/
│       ├── sources.json   # RSS source configuration
│       └── articles.json  # Stored articles
├── public/
│   ├── index.html         # Frontend interface
│   └── style.css          # Styling
├── package.json
└── README.md

API Endpoints

Configuration

Data Storage

Data is stored in JSON files in the src/data/ directory:

To-Do

License

ISC