A comprehensive web application for predicting forest fires using machine learning models. This system analyzes environmental data and images to forecast fire risks, aiding in preventive measures and disaster management. Built for researchers, forest managers, and emergency responders.
- Demo
- Screenshots
- Features
- Tech Stack
- Installation
- Run Locally
- Environment Variables
- Deployment
- Contributing
- Authors
- License
- Feedback
For IVR(Interactive Voice Interface) Contact with me
- Data-based Fire Prediction: Predict fire risk using environmental parameters like temperature, humidity, wind speed, etc.
- Image-based Fire Prediction: Upload images to detect fire presence using computer vision models.
- Interactive Web Interface: User-friendly React-based frontend with Inertia.js for seamless navigation.
- IVR Integration: Interactive Voice Response system for accessibility.
- Docker Support: Containerized deployment for easy setup and scalability.
- Real-time Predictions: Console commands for automated fire prediction runs.
- Responsive Design: Works across devices with light/dark mode support.
Frontend: React, TypeScript, Inertia.js, TailwindCSS
Backend: Laravel (PHP)
ML Libraries: Scikit-learn, TensorFlow
Deployment: Docker, Docker Compose\
Clone the repository and install dependencies.
# Clone the project
git clone https://github.com/your-username/forest-fire-prediction.git
# Go to the project directory
cd forest-fire-prediction
# Install PHP dependencies
composer install
# Install Node.js dependencies
npm install
npm run build
# Install Python dependencies for ML backend
cd backend && pip install -r backend/requirement.txt
# To migrate with database
php artisan migrate
# To use for upload and use image
php artisan storage:link# Start all services
docker-compose up -d
# Run database migrations
docker-compose exec app php artisan migrate
# Build frontend assets
docker-compose exec app npm run buildStart the Laravel backend:
composer run devYour app should now be running at:
Frontend → http://localhost:8000
cp .env.example .env
php artisan generate:keyEdit .env file in the root directory with:
# for IVR
TWILIO_SID=write_twilio_sid
TWILIO_AUTH_TOKEN=write_twilio_auth_token
TWILIO_PHONE_NUMBER=+Write_phone_number
# Build and deploy
docker-compose -f docker-compose.prod.yml up -d
# Run migrations on production
docker-compose -f docker-compose.prod.yml exec app php artisan migrate --force- Set up a web server (Apache/Nginx) with PHP support.
- Configure database and environment variables.
- Run
composer install --optimize-autoloader --no-dev - Run
npm run build
For cloud deployment, consider services like AWS, DigitalOcean, Render, Railway or Heroku with Docker support.
Contributions are always welcome!
- Fork the repo
- Create a feature branch:
git checkout -b feature/your-feature-name
- Commit your changes:
git commit -m "Added new feature" - Push to the branch:
git push origin feature/your-feature-name
- Open a Pull Request
Please ensure your code follows the project's coding standards and includes tests.
This project is licensed under the MIT License.
You’re free to use, modify, and distribute this project with proper attribution.
If you have any feedback or suggestions, feel free to reach out:
📧 shibadiptapal@gmail.com
💬 or open an issue on GitHub Issues




