Weather Checker is a dynamic Flask web app that lets users check real-time weather information for any city around the world using the OpenWeatherMap API. Enter the name of a city and get instant updates on temperature, weather conditions, and a matching weather icon β all served with sleek styling.
- π Search weather by any city
- π‘οΈ Displays temperature in Celsius
- βοΈ Shows descriptive weather conditions
- πΌοΈ Dynamically fetches weather icons from OpenWeatherMap
- π Clean and responsive UI built with HTML, CSS, and Flask
-
Clone the repository:
git clone https://github.com/your-username/weather-checker.git cd weather-checker -
Install required dependencies:
pip install -r requirements.txt
-
Add your API key from OpenWeatherMap:
- Replace
YOUR_API_KEYinapp.pywith your actual key.
- Replace
-
Run the Flask server:
python app.py
-
Open your browser and go to:
http://127.0.0.1:5000/
weather-checker/
βββ app.py
βββ templates/
β βββ weather.html
βββ static/
β βββ style.css
βββ README.md
βββ requirements.txt
- Python (Flask)
- HTML + CSS
- OpenWeatherMap API
- Add autocomplete for city names
- Include animated weather backgrounds based on condition
- Support multiple units (Β°C / Β°F)
- Show extended forecast
Got ideas or found a bug? Feel free to open an issue or submit a pull request β contributions are welcome!
Made with β€οΈ and code by Aditya Joshi