{"id":30174351,"url":"https://github.com/hammadhttps/weather_app","last_synced_at":"2025-08-12T00:50:22.648Z","repository":{"id":261939212,"uuid":"770345273","full_name":"hammadhttps/Weather_APP","owner":"hammadhttps","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-04T01:15:58.000Z","size":2696,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"branch1","last_synced_at":"2025-08-04T02:34:47.558Z","etag":null,"topics":["java","javafx-application","weather-app","weather-forecast"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hammadhttps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-03-11T11:47:22.000Z","updated_at":"2025-08-04T01:17:07.000Z","dependencies_parsed_at":"2024-11-09T12:22:30.891Z","dependency_job_id":"1a85f562-c208-4d7a-a4a0-5a558d428c0f","html_url":"https://github.com/hammadhttps/Weather_APP","commit_stats":null,"previous_names":["hammadulhassan5812/weather_app","hammadhttps/weather_app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hammadhttps/Weather_APP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hammadhttps%2FWeather_APP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hammadhttps%2FWeather_APP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hammadhttps%2FWeather_APP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hammadhttps%2FWeather_APP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hammadhttps","download_url":"https://codeload.github.com/hammadhttps/Weather_APP/tar.gz/refs/heads/branch1","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hammadhttps%2FWeather_APP/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269981739,"owners_count":24507287,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","javafx-application","weather-app","weather-forecast"],"created_at":"2025-08-12T00:50:18.643Z","updated_at":"2025-08-12T00:50:22.609Z","avatar_url":"https://github.com/hammadhttps.png","language":"Java","readme":"# Just Weather - Modern Weather Application\n\nA beautiful, modern weather application built with JavaFX that provides real-time weather information for any city in the world.\n\n## Features\n\n- **Modern UI**: Clean, responsive design with gradient backgrounds and smooth animations\n- **Real-time Weather**: Current weather conditions with detailed information\n- **Hourly Forecast**: 24-hour weather forecast with temperature and conditions\n- **Weather Details**: Comprehensive weather metrics including:\n  - Sunrise and sunset times\n  - Chance of rain\n  - Atmospheric pressure\n  - Wind speed and direction\n  - UV index\n  - Feels like temperature\n  - Visibility\n- **Air Quality**: Air pollution data and quality index\n- **File-based Storage**: Local caching of weather data for offline access\n- **Temperature Units**: Toggle between Celsius and Fahrenheit\n- **City Search**: Search for any city worldwide\n\n## Technologies Used\n\n- **JavaFX 17**: Modern UI framework\n- **OpenWeatherMap API**: Weather data provider\n- **Gson**: JSON parsing\n- **Maven**: Build and dependency management\n- **CSS**: Custom styling for modern appearance\n\n## Prerequisites\n\n- Java 17 or higher\n- Maven 3.6 or higher\n- Internet connection for API calls\n\n## Installation \u0026 Running\n\n### Option 1: Using Maven (Recommended)\n\n1. Navigate to the `src` directory:\n   ```bash\n   cd src\n   ```\n\n2. Build the project:\n   ```bash\n   mvn clean compile\n   ```\n\n3. Run the application:\n   ```bash\n   mvn javafx:run\n   ```\n\n### Option 2: Using the build script (Windows)\n\n1. Double-click `build.bat` or run it from command prompt\n2. The script will automatically build and run the application\n\n### Option 3: Using IDE\n\n1. Import the project as a Maven project in your IDE\n2. Run the `WeatherApplication` class\n\n## API Configuration\n\nThe application uses the OpenWeatherMap API. The API key is already configured in the code. If you need to use your own API key:\n\n1. Sign up at [OpenWeatherMap](https://openweathermap.org/api)\n2. Get your API key\n3. Replace the API key in `WeatherAPIService.java` line 12\n\n## Project Structure\n\n```\nsrc/\n├── com/weatherapp/\n│   ├── WeatherApplication.java      # Main application class\n│   ├── WeatherAppController.java   # UI controller\n│   ├── WeatherData.java           # Data models\n│   ├── WeatherAPIService.java     # API service\n│   └── FileStorageService.java    # File storage service\n├── fxml/\n│   └── WeatherApp.fxml           # UI layout\n├── weather-app.css               # Stylesheet\n├── pom.xml                      # Maven configuration\n└── module-info.java             # Module configuration\n```\n\n## Data Storage\n\nThe application uses file-based storage instead of a database:\n- Weather data is cached locally in JSON format\n- Saved locations are stored for quick access\n- Data is stored in the `weather_data/` directory\n\n## Features Implemented\n\n✅ **Current Weather Display**: Shows temperature, conditions, and city name\n✅ **Hourly Forecast**: 24-hour weather predictions\n✅ **Weather Details**: Comprehensive weather metrics\n✅ **Air Quality Data**: Pollution information\n✅ **File-based Storage**: Local data caching\n✅ **Temperature Unit Toggle**: Celsius/Fahrenheit conversion\n✅ **City Search**: Search any city worldwide\n✅ **Modern UI**: Clean, responsive design\n✅ **Error Handling**: User-friendly error messages\n✅ **Loading States**: Visual feedback during API calls\n\n## API Endpoints Used\n\n- **Current Weather**: `https://api.openweathermap.org/data/2.5/weather`\n- **5-day Forecast**: `https://api.openweathermap.org/data/2.5/forecast`\n- **Air Pollution**: `https://api.openweathermap.org/data/2.5/air_pollution`\n- **Geocoding**: `http://api.openweathermap.org/geo/1.0/direct`\n\n## Contributing\n\nFeel free to contribute to this project by:\n- Reporting bugs\n- Suggesting new features\n- Improving the UI/UX\n- Adding new weather data sources\n\n## License\n\nThis project is open source and available under the MIT License.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhammadhttps%2Fweather_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhammadhttps%2Fweather_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhammadhttps%2Fweather_app/lists"}