Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

NewsAI is a modern, responsive news aggregation platform built with React, TypeScript, and Tailwind CSS. It provides users with a seamless experience to browse, search, and summarize news articles from various categories and sources worldwide.

License

Notifications You must be signed in to change notification settings

DadvaiahPavan/NewsAI

Repository files navigation

NewsAI - Modern News Aggregator

NewsAI is a modern, responsive news aggregation platform built with React, TypeScript, and Tailwind CSS. It provides users with a seamless experience to browse, search, and summarize news articles from various categories and sources worldwide.

Web UI Web UI

🌟 Features

  • Real-time News Updates: Access the latest news articles from trusted sources

  • Category-based Navigation: Browse news by categories including:

    • Top Headlines
    • Business
    • Technology
    • Health
    • Sports
    • Entertainment
    • Science
  • Smart Search: Search for specific news topics with advanced filtering

  • AI-Powered Summaries: Get quick, AI-generated summaries of articles

  • Multi-language Support: Available in:

    • English
    • Spanish
    • French
    • German
    • Italian
  • International Coverage: News from multiple countries including:

    • United States
    • United Kingdom
    • India
    • Canada
    • Australia
  • Modern UI/UX: Beautiful, responsive design with smooth animations

  • Article Management: Save and organize your favorite articles

πŸš€ Technologies Used

  • Frontend:

    • React 18
    • TypeScript
    • Tailwind CSS
    • Framer Motion
    • React Router DOM
    • Axios
    • Lucide React Icons
  • APIs:

    • NewsData.io API
    • Article Extractor and Summarizer API

πŸ“¦ Installation

  1. Clone the repository:
git clone https://github.com/DadvaiahPavan/NewsAI
cd NewsAI
  1. Install dependencies:
cd project
npm install
  1. Create a .env file in the project root and add your API keys:
VITE_NEWS_API_KEY=your_newsdata_io_api_key
VITE_SUMMARY_API_KEY=your_summary_api_key
  1. Start the development server:
npm run dev
  1. Open http://localhost:5173 in your browser

πŸ”§ Configuration

The application can be configured through various environment variables:

  • VITE_NEWS_API_KEY: Your NewsData.io API key
  • VITE_SUMMARY_API_KEY: Your Article Summarizer API key

🌐 API Integration

NewsData.io API

  • Used for fetching real-time news articles
  • Supports multiple languages and countries
  • Provides category-based filtering

Article Summarizer API

  • Generates concise summaries of news articles
  • Supports multiple languages
  • Configurable summary length

🎨 UI Features

  • Responsive design that works on all devices
  • Dark mode support
  • Smooth animations and transitions
  • Category-based color coding
  • Loading states and error handling
  • Modern card-based article layout

πŸ” Search Features

  • Real-time search suggestions
  • Advanced filtering options
  • Support for multiple languages
  • Category-specific search

πŸ“± Mobile Support

The application is fully responsive and provides a seamless experience on:

  • Desktop browsers
  • Tablets
  • Mobile devices

πŸ› οΈ Development

Available Scripts

  • npm run dev: Start development server
  • npm run build: Build for production
  • npm run preview: Preview production build
  • npm run lint: Run ESLint

Project Structure

project/
β”œβ”€β”€ src/
β”‚ β”œβ”€β”€ components/ # Reusable UI components
β”‚ β”œβ”€β”€ pages/ # Page components
β”‚ β”œβ”€β”€ services/ # API and other services
β”‚ β”œβ”€β”€ types/ # TypeScript type definitions
β”‚ β”œβ”€β”€ config/ # Configuration files
β”‚ └── utils/ # Utility functions
β”œβ”€β”€ public/ # Static assets
└── dist/ # Production build

🀝 Contributing

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

πŸ“„ License

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

πŸ™ Acknowledgments

About

NewsAI is a modern, responsive news aggregation platform built with React, TypeScript, and Tailwind CSS. It provides users with a seamless experience to browse, search, and summarize news articles from various categories and sources worldwide.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /