Live Site: https://aqi-indicator.onrender.com/
A Flask web app that shows live weather and air quality (AQI) based on user-selected location (search or map click).
It uses:
- Nominatim (OpenStreetMap) – for geocoding addresses
- Open-Meteo – for weather data
- OpenWeatherMap AQI API – for AQI (requires API key)
git clone https://github.com/Veerhan-glitch/AQI-Indicator.git
cd AQI-Indicator
# Create and activate virtual environment
python3 -m venv venv
source venv/bin/activate
# Install dependencies
pip install -r requirements.txtgit clone https://github.com/Veerhan-glitch/AQI-Indicator.git
cd AQI-Indicator
REM Create and activate virtual environment
python -m venv venv
venv\Scripts\activate
REM Install dependencies
pip install -r requirements.txt- Go to: OpenWeatherMap
- Create an account (free) and copy your API key.
In the root folder, create a .env file and add your OpenWeatherMap API key:
OPENWEATHER_API_KEY=your_api_key_herepython app.pyVisit: http://127.0.0.1:5000
- Search any location or on the map to fetch data
- Shows live weather (from Open-Meteo)
- Displays air quality (from OpenWeatherMap)
requirements.txt:
Flask
geopy
requests
requests-cache
retry-requests
openmeteo-requests
python-dotenv
gunicornteam members - NAMAN TOMAR , PRAVEER SINGH CHAUHAN , RISHAB KUMAR , SATVIK SINGH
