NewsAI Tailwind Templates

Newsai

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.

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
    
  2. Install dependencies:

    cd project
    npm install
    
  3. 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
    
  4. Start the development server:

    npm run dev
    
  5. 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

Top categories

Loading Svelte Themes