Giter Site home page Giter Site logo

hirunaofficial / weatherpulse Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 75.83 MB

WeatherPulse is a JavaFX application designed to provide up-to-date weather information based on the user's location.

Home Page: https://hiruna.dev

License: GNU General Public License v3.0

Java 100.00%
weather weather-app weather-forecast

weatherpulse's Introduction

WeatherPulse (Your Daily Weather Companion)

WeatherPulse

WeatherPulse is a JavaFX application designed to provide up-to-date weather information based on the user's location. Utilizing the OpenWeather API, WeatherPulse retrieves real-time weather data and presents it in a user-friendly interface. Users can access essential weather metrics such as weather condition, temperature, humidity, wind speed, and direction, along with an hourly forecast to plan their day effectively.

Features

  • Real-time weather updates including weather condition, temperature, humidity, wind speed, and direction.
  • Hourly weather forecast with detailed information.
  • Display of the user's current city and country based on their IP address.
  • Automatic live time and date updates.
  • Network connectivity check before launching the application.

Screenshots

WeatherPulse Screenshot

Installation

To run WeatherPulse locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/yourusername/weatherpulse.git
    cd weatherpulse
    

2 Open the project in your preferred IDE (e.g., IntelliJ IDEA, Eclipse). 3. Add JavaFX library to your project:

- Download JavaFX SDK from [Gluon](https://gluonhq.com/products/javafx/).
  1. Set up JavaFX in your IDE:

    • For IntelliJ IDEA:
      • Go to File -> Project Structure -> Libraries and add the JavaFX SDK library.
    • For Eclipse:
      • Right-click on your project -> Build Path -> Configure Build Path and add the JavaFX SDK library.
  2. Run the Application:

    • Execute the main method in the WeatherPulseApplication class.

Usage

  • Launch the application.
  • WeatherPulse will check for network connectivity.
  • Upon successful launch, the current weather data and a 3-hourly forecast will be displayed.
  • The application will also show the current date and time, which updates in real-time.

Configuration

Ensure you have valid API keys for OpenWeather and GeoLocation APIs. Replace the placeholder API keys in the WeatherPulseController class with your own keys:

// OpenWeather API Key
String weatherApiKey = "your_openweather_api_key";

// GeoLocation API Key
String geoApiKey = "your_ipgeolocation_api_key";

Video Background

The video background file bgWeatherPulseRain.mp4 should be placed in the resources directory. You can replace this video with any other video of your choice.

License

This project is licensed under the GNU General Public License v3.0 License - see the LICENSE file for details.

Acknowledgements

  • OpenWeather for providing the weather data API.
  • IP Geolocation for providing the IP-based location data.
  • JavaFX community for their extensive documentation and support.

Contributing

Contributions are welcome! Please fork this repository and submit a pull request for any improvements or bug fixes.

Contact

weatherpulse's People

Contributors

hirunaofficial avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.