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.
- 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
- Node.js (v18 or higher)
- npm or yarn
- A modern web browser
- Clone the repository:
git clone https://github.com/yashmahe2020/fire-ai.git
cd fire-ai- Install dependencies:
npm install
# or
yarn install- Start the development server:
npm run dev
# or
yarn dev- Open http://localhost:3000 in your browser.
- Navigate to the
apidirectory:
cd api- Install Python dependencies:
pip install -r requirements.txt- Start the API server:
python server.pyThe server will run on http://localhost:8000.
Note: On first run, it will download the Llama 3 model (~500MB).
- Frontend: Next.js 14, React, TypeScript
- Mapping: Leaflet.js
- Styling: Tailwind CSS
- UI Components: Shadcn/ui
- Weather Data: OpenMeteo API
- Geocoding: OpenStreetMap Nominatim API
The application integrates with several APIs:
- OpenMeteo for weather data
- OpenStreetMap for geocoding and mapping
- Custom Fire Score API for risk assessment
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenStreetMap contributors for mapping data
- OpenMeteo for weather data
- The California fire prevention community
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