Skip to content

yashmahe2020/FireAI

Repository files navigation

FireAI - California Wildfire Prediction System

FireAI is an advanced web application that helps predict and prevent wildfires in California using cutting-edge AI technology and real-time environmental data. The system provides interactive visualizations, early warning systems, and risk assessments to help protect communities and natural resources.

🌟 Features

  • Interactive Fire Risk Map: Visualize fire risk levels across California with our interactive mapping system
  • Real-Time Monitoring: Track temperature, humidity, wind patterns, and vegetation conditions
  • AI-Powered Predictions: Advanced machine learning algorithms analyze environmental conditions
  • Early Warning System: Get alerts and notifications about high-risk areas
  • City-Specific Analysis: Search and analyze fire risk for specific California cities
  • Weather Integration: Real-time weather data integration for accurate risk assessment

🚀 Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn
  • A modern web browser

Installation

  1. Clone the repository:
git clone https://github.com/yashmahe2020/fire-ai.git
cd fire-ai
  1. Install dependencies:
npm install
# or
yarn install
  1. Start the development server:
npm run dev
# or
yarn dev
  1. Open http://localhost:3000 in your browser.

Backend Setup (Required for Fire Risk Scores)

  1. Navigate to the api directory:
cd api
  1. Install Python dependencies:
pip install -r requirements.txt
  1. Start the API server:
python server.py

The server will run on http://localhost:8000. Note: On first run, it will download the Llama 3 model (~500MB).

🛠️ Tech Stack

  • Frontend: Next.js 14, React, TypeScript
  • Mapping: Leaflet.js
  • Styling: Tailwind CSS
  • UI Components: Shadcn/ui
  • Weather Data: OpenMeteo API
  • Geocoding: OpenStreetMap Nominatim API

📊 API Integration

The application integrates with several APIs:

  • OpenMeteo for weather data
  • OpenStreetMap for geocoding and mapping
  • Custom Fire Score API for risk assessment

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📝 License

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

🙏 Acknowledgments

  • OpenStreetMap contributors for mapping data
  • OpenMeteo for weather data
  • The California fire prevention community

📞 Contact

For any questions or concerns, please reach out through the GitHub issues or contact the development team.


Built with ❤️ for California's safety and environmental protection

About

An advanced AI-powered wildfire prediction and monitoring system for California.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors