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.
- 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
- 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
- Node.js (v14.0.0 or higher)
- npm or yarn package manager
- NewsAPI.org API key (Get yours here)
- Grok API access (Sign up here)
-
Clone the repository
git clone https://github.com/zishpanchal/newsmonkey.git cd newsmonkey
-
Install dependencies
npm install # or yarn install
-
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
-
Start the development server
npm start # or yarn start
-
Open your browser
Navigate to http://localhost:3000
- Browse Categories: Use the navigation bar to filter news by category
- Infinite Scroll: Simply scroll down to load more articles automatically
- Read Full Articles: Click on any article to read the complete story
-
GenZ Mode: Toggle the GenZ switch to get news explained in modern slang
- Example: "This crypto crash is giving major L energy ๐"
-
ELI5 Mode: Perfect for complex topics made simple
- Example: "Think of inflation like when your allowance buys less candy than before"
-
Impact Score: See how relevant each story is to GenZ audiences (0-100 scale)
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
- NewsAPI: Sign up at newsapi.org for free (development) or paid plans
- Grok API: Access through X.AI platform for advanced AI features
- Modify categories in
App.js
- Adjust page size and loading behavior
- Customize GenZ terminology in Grok integration
- Update styling in component CSS files
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
npm run build
# or
yarn build
- 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
Make sure to set these in your deployment platform:
REACT_APP_NEWS_API_KEY
REACT_APP_GROK_API_KEY
We welcome contributions! Here's how to get started:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature
- Commit changes:
git commit -m 'Add amazing feature'
- Push to branch:
git push origin feature/amazing-feature
- Open a Pull Request
- Follow React best practices
- Write clean, commented code
- Test new features thoroughly
- Update documentation as needed
If you encounter any issues or have questions:
- Check existing issues on GitHub
- Create a new issue with detailed description
- Include screenshots if reporting UI bugs
- Provide error logs for technical issues
This project is licensed under the MIT License - see the LICENSE file for details.
- 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
- 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
- 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!