yolinewsai

YoliNews AI 📰✨

Welcome to YoliNews AI, a modern, intelligent news aggregator built with Next.js. This application fetches the top headlines from major global news sources natively via RSS feeds and uses Artificial Intelligence to analyze, summarize, and rank them, providing you with a clean, multilingual, and insightful reading experience.

YoliNews AI Overview Replace with actual screenshot if available

🌟 Features

🚀 Getting Started Locally (Visual Studio Code)

To test and develop YoliNews AI on your local machine using Visual Studio Code, follow these steps:

1. Prerequisites

2. Clone and Setup

  1. Clone this repository and open the folder in Visual Studio Code.
  2. Open the integrated terminal (Ctrl + \`) and install the dependencies:

    npm install
    

3. Environment Variables

Create a file named .env.local in the root of the project and add your OpenAI API key:

OPENAI_API_KEY=sk-your-super-secret-key-here

(If you do not provide a key, the app will gracefully fall back to a “Mock AI” mode with simulated data).

4. Run the Development Server

You can start the server in two ways:

Open http://localhost:3000 in your browser to see the result.

🌍 Deploying to Production (GitHub + Vercel)

The easiest way to deploy this Next.js app to the world is using Vercel, the creators of Next.js.

Connect to Vercel

  1. Go to Vercel.com and sign up/log in with your GitHub account.
  2. Click “Add New” > “Project”.
  3. Import your newly created yolinewsai repository from GitHub.
  4. Important Configuration:
    • In the “Configure Project” screen, open the Environment Variables section.
    • Add a new variable:
      • Key: OPENAI_API_KEY
      • Value: sk-your-super-secret-key-here
  5. Click Deploy.

Vercel will build your app and give you a live URL. Every time you push a new change to your main branch on GitHub, Vercel will automatically rebuild and update your live site!

đź›  Tech Stack


Created with ❤️ by Aron Galdon / YoliNews AI Team