Skip to content

AI-Powered React News Platform | Content personalization with NLP integration (Grok LLM). Features intelligent content curation, generative AI summarization, sentiment analysis, and adaptive algorithms for GenZ audience targeting. Showcases expertise in LLM, conversational AI, automated content transformation, and AI-enhanced UX design.

Notifications You must be signed in to change notification settings

zishpanchal/GenZ.News

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

27 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ’ GenZ.News

Get your daily dose of news with a modern twist!

NewsMonkey is a cutting-edge React-based news application that revolutionizes how you consume news. Powered by NewsAPI.org and enhanced with Grok AI, it delivers personalized news experiences including GenZ-friendly explanations, simplified content for all ages, and impact scoring specifically designed for the GenZ audience.

React JavaScript Chakra UI NewsAPI Grok

๐Ÿ“ธ Screenshots

Image 1 Image 2 Image 2

๐ŸŒŸ Features

๐Ÿ”ฅ Core Features

  • Real-time News Feed: Latest headlines from trusted sources worldwide
  • Category Filtering: Business, Entertainment, Health, Science, Sports, Technology, and more
  • Infinite Scrolling: Seamless browsing experience with endless content loading
  • Responsive Design: Perfect experience across all devices
  • Fast Loading: Optimized performance with efficient API calls

๐Ÿง  AI-Powered Features (Grok Integration)

  • GenZ Mode ๐Ÿ”ฅ: News explained in GenZ terms with slang, emojis, and relatable language
  • ELI5 (Explain Like I'm 5) ๐Ÿ‘ถ: Complex news simplified for easy understanding
  • Impact Score for GenZ ๐Ÿ“Š: AI-powered relevance scoring showing how news affects the younger generation
  • Smart Summaries: Concise, engaging news breakdowns

๐Ÿš€ Quick Start

Prerequisites

Installation

  1. Clone the repository

    git clone https://github.com/zishpanchal/newsmonkey.git
    cd newsmonkey
  2. Install dependencies

    npm install
    # or
    yarn install
  3. Set up environment variables

    Create a .env file in the root directory:

    REACT_APP_NEWS_API_KEY=your_newsapi_key_here
    REACT_APP_GROK_API_KEY=your_grok_api_key_here
  4. Start the development server

    npm start
    # or
    yarn start
  5. Open your browser

    Navigate to http://localhost:3000

๐ŸŽฏ Usage

Basic Navigation

  1. Browse Categories: Use the navigation bar to filter news by category
  2. Infinite Scroll: Simply scroll down to load more articles automatically
  3. Read Full Articles: Click on any article to read the complete story

AI Features

  1. GenZ Mode: Toggle the GenZ switch to get news explained in modern slang

    • Example: "This crypto crash is giving major L energy ๐Ÿ’€"
  2. ELI5 Mode: Perfect for complex topics made simple

    • Example: "Think of inflation like when your allowance buys less candy than before"
  3. Impact Score: See how relevant each story is to GenZ audiences (0-100 scale)

๐Ÿ—๏ธ Project Structure

newsmonkey/
โ”œโ”€โ”€ public/
โ”‚   โ”œโ”€โ”€ index.html
โ”‚   โ””โ”€โ”€ favicon.ico
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/
โ”‚   โ”‚   โ”œโ”€โ”€ News.js          # Main news component
โ”‚   โ”‚   โ”œโ”€โ”€ NewsItem.js      # Individual news card
โ”‚   โ”‚   โ”œโ”€โ”€ Navbar.js        # Navigation component
โ”‚   โ”‚   โ””โ”€โ”€ Spinner.js       # Loading spinner
โ”‚   โ”œโ”€โ”€ services/
โ”‚   โ”‚   โ”œโ”€โ”€ newsAPI.js       # NewsAPI integration
โ”‚   โ”‚   โ””โ”€โ”€ grokAPI.js       # Grok AI integration
โ”‚   โ”œโ”€โ”€ App.js              # Main app component
โ”‚   โ”œโ”€โ”€ App.css             # Global styles
โ”‚   โ””โ”€โ”€ index.js           # Entry point
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ README.md

๐Ÿ”ง Configuration

API Keys Setup

  1. NewsAPI: Sign up at newsapi.org for free (development) or paid plans
  2. Grok API: Access through X.AI platform for advanced AI features

Customization Options

  • Modify categories in App.js
  • Adjust page size and loading behavior
  • Customize GenZ terminology in Grok integration
  • Update styling in component CSS files

๐Ÿ“ฑ Responsive Design

NewsMonkey is built with a mobile-first approach:

  • Mobile: Optimized for touch interactions and small screens
  • Tablet: Adapted layout for medium screens
  • Desktop: Full-featured experience with sidebar navigation

๐Ÿš€ Deployment

Build for Production

npm run build
# or
yarn build

Deployment Options

  • Vercel: Easy deployment with GitHub integration
  • Netlify: Continuous deployment from Git
  • GitHub Pages: Free hosting for public repositories
  • Heroku: Full-stack deployment with custom domains

Environment Variables for Production

Make sure to set these in your deployment platform:

  • REACT_APP_NEWS_API_KEY
  • REACT_APP_GROK_API_KEY

๐Ÿค Contributing

We welcome contributions! Here's how to get started:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Commit changes: git commit -m 'Add amazing feature'
  4. Push to branch: git push origin feature/amazing-feature
  5. Open a Pull Request

Development Guidelines

  • Follow React best practices
  • Write clean, commented code
  • Test new features thoroughly
  • Update documentation as needed

๐Ÿ› Issues & Support

If you encounter any issues or have questions:

  1. Check existing issues on GitHub
  2. Create a new issue with detailed description
  3. Include screenshots if reporting UI bugs
  4. Provide error logs for technical issues

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • NewsAPI - For providing comprehensive news data
  • Grok AI - For powering our AI features
  • Create React App - For the amazing React setup
  • Bootstrap - For responsive design components
  • The open-source community for inspiration and support

๐Ÿ“Š Stats

  • Categories: 7+ news categories
  • Sources: 70+ trusted news sources
  • Languages: English (with GenZ translations)
  • Update Frequency: Real-time
  • AI Features: 3 unique Grok-powered features

๐Ÿ”ฎ Future Roadmap

  • Dark/Light theme toggle
  • User authentication and preferences
  • Bookmark articles functionality
  • Social sharing features
  • Push notifications for breaking news
  • Multi-language GenZ translations
  • Voice-to-text article summaries
  • Advanced filtering and search

Made by Zish Panchal

Don't forget to โญ this repo if you found it helpful!

About

AI-Powered React News Platform | Content personalization with NLP integration (Grok LLM). Features intelligent content curation, generative AI summarization, sentiment analysis, and adaptive algorithms for GenZ audience targeting. Showcases expertise in LLM, conversational AI, automated content transformation, and AI-enhanced UX design.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published