Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/keshabkjha/weatherapp

WeatherApp is a web application that provides real-time weather information based on the user's location or any searched city. It features automatic location detection, manual search, and a chatbot called Weatha, built using Python (Streamlit & SpaCy), that responds to weather-related queries.
https://github.com/keshabkjha/weatherapp

html-css-javascript niet-codetantra niet-training python python3 spacy spacy-nlp streamlit weather-api weather-app

Last synced: 12 days ago
JSON representation

WeatherApp is a web application that provides real-time weather information based on the user's location or any searched city. It features automatic location detection, manual search, and a chatbot called Weatha, built using Python (Streamlit & SpaCy), that responds to weather-related queries.

Awesome Lists containing this project

README

        

# WeatherApp

Welcome to the WeatherApp! This is a simple and intuitive web application that provides real-time weather information based on your current location or any manually searched location. The app is built using HTML, CSS, JavaScript, Python (for chatbot functionality), and the OpenWeatherMap API.

## Features

- **Automatic Location Detection:** The app requests access to your current location and automatically displays the weather information for that location.
- **Manual Search:** If you want to check the weather for a different location, simply enter the city name in the search bar.
- **Real-Time Data:** The app fetches up-to-date weather data from the OpenWeatherMap API, ensuring you get the latest information.
- **Weatha Chatbot:** The app includes a chatbot called **Weatha**, built using Python frameworks like Streamlit and SpaCy. Weatha responds to user queries about weather conditions in specific locations and displays real-time information directly in the app.

## Live Demo

Check out the live version of the app [here](https://keshabkjha.github.io/WeatherApp/).

## Installation

To run this project locally:

1. Clone the repository:
```bash
git clone https://github.com/Keshabkjha/WeatherApp.git
```
2. Navigate to the project directory:
```bash
cd WeatherApp
```
3. Open `index.html` in your web browser.
4. To run the chatbot:
- Install the required Python packages for Streamlit and SpaCy:
```bash
pip install -r requirements.txt
```
- Run the chatbot using Streamlit:
```bash
streamlit run main.py
```

## Usage

- **Automatic Weather Display:** Upon opening the app, it will ask for permission to access your location. Once granted, it will automatically display the current weather information for your location.
- **Manual Weather Search:** Enter the name of any city in the search bar to retrieve the weather details for that location.
- **Weatha Chatbot:** You can interact with the Weatha chatbot by asking weather-related questions for different cities, and it will provide real-time weather information using the OpenWeatherMap API.

## Technologies Used

- **HTML:** For structuring the app's content.
- **CSS:** For styling the user interface.
- **JavaScript:** For handling user interactions and making API requests.
- **Python (Streamlit & SpaCy):** For building the Weatha chatbot.
- **OpenWeatherMap API:** For fetching real-time weather data.

## Terms of Use

If you use or modify this project, **you must provide proper credit** to the original developer, Keshab Kumar. You can do this by including a link to this repository and mentioning my name in any derived works, documentation, or presentations.

## Contributing

If you have suggestions for improving this app or want to contribute, feel free to open an issue or submit a pull request.

## License

This project is licensed under the MIT License - see the [LICENSE](https://github.com/Keshabkjha/WeatherApp/tree/main?tab=MIT-1-ov-file) file for details.

## Acknowledgments

- Special thanks to [OpenWeatherMap](https://openweathermap.org/) for providing the API used in this app.

## Connect with Me

For more projects and information, check out my [Linktree](https://linktr.ee/Keshabkjha).

---

Developed by [Keshab Kumar](https://github.com/Keshabkjha).