Sign inSign up

aliulislamabir/climax

By aliulislamabir

•Updated over 1 year ago

Java application that retrieves current weather information using latitude and longitude.

Image
Integration & delivery
0

264

aliulislamabir/climax repository overview

⁠Climax - Weather Fetcher

This is a simple Java-based weather application that retrieves and displays current weather information. It uses the OpenWeatherMap API to fetch weather data based on location (latitude and longitude).

⁠Features

  • Retrieves current weather data (description, temperature, humidity, wind speed).
  • Displays weather information in a user-friendly format.

⁠Getting Started

  1. Pull the image:

    docker pull aliulislamabir/climax:tagname
    
  2. Get OpenWeatherMap API Key:

  1. Set your API key as environment variable:

    Example:
    Linux (.bashrc | /etc/profile): export CLIMAX_API_KEY=your_api_key_here
    Windows (PowerShell): [System.Environment]::SetEnvironmentVariable("CLIMAX_API_KEY", "your_api_key_here", "User")
    
  2. Run the image with API key:

    docker run --rm -e CLIMAX_API_KEY climax # Default location was set to New York
    
  3. Run the image with API key with desired location:

    docker run --rm -e CLIMAX_API_KEY climax <latitude> <longitude>
    

⁠Contribution

Contributions are welcome! Please open an issue or submit a pull request in the official repo (https://github.com/automation-craftsman/climax.git⁠).

⁠License

MIT License

Tag summary

Content type

Image

Digest

sha256:0c6e78de6…

Size

125.2 MB

Last updated

over 1 year ago

docker pull aliulislamabir/climax