Skip to content

ClimaSense 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 , built using Python (Streamlit & SpaCy), that responds to weather-related queries.

License

Notifications You must be signed in to change notification settings

Keshabkjha/ClimaSense

Repository files navigation

ClimaSense

Welcome to the ClimaSense! 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.
  • Chatbot: The app includes a chatbot called , built using Python frameworks like Streamlit and SpaCy. 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.

Installation

To run this project locally:

  1. Clone the repository:
    git clone https://github.com/Keshabkjha/ClimaSense.git
  2. Navigate to the project directory:
    cd ClimaSense
  3. Open index.html in your web browser.
  4. To run the chatbot:
    • Install the required Python packages for Streamlit and SpaCy:
      pip install -r requirements.txt
    • Run the chatbot using Streamlit:
      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.
  • ** Chatbot:** You can interact with the 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 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 file for details.

Acknowledgments

  • Special thanks to OpenWeatherMap for providing the API used in this app.

Connect with Me

For more projects and information, check out my Linktree.


Developed by Keshab Kumar.

About

ClimaSense 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 , built using Python (Streamlit & SpaCy), that responds to weather-related queries.

Topics

Resources

License

Security policy

Stars

Watchers

Forks