{"id":25180396,"url":"https://github.com/aliwarraich007/ng-weather-widget","last_synced_at":"2026-05-05T12:32:26.084Z","repository":{"id":194797074,"uuid":"691299438","full_name":"aliwarraich007/ng-weather-widget","owner":"aliwarraich007","description":"Re-useable weather widget component built in Angular","archived":false,"fork":false,"pushed_at":"2023-09-26T20:04:26.000Z","size":132,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T04:46:42.349Z","etag":null,"topics":["angular","npm","open-source","openweathermap","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/ng-weather-widget","language":"TypeScript","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/aliwarraich007.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}},"created_at":"2023-09-13T22:43:20.000Z","updated_at":"2024-11-23T15:15:34.000Z","dependencies_parsed_at":"2023-09-27T00:33:31.834Z","dependency_job_id":null,"html_url":"https://github.com/aliwarraich007/ng-weather-widget","commit_stats":null,"previous_names":["aliwarraich007/ng-weather-widget"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aliwarraich007/ng-weather-widget","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliwarraich007%2Fng-weather-widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliwarraich007%2Fng-weather-widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliwarraich007%2Fng-weather-widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliwarraich007%2Fng-weather-widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aliwarraich007","download_url":"https://codeload.github.com/aliwarraich007/ng-weather-widget/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliwarraich007%2Fng-weather-widget/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32649546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["angular","npm","open-source","openweathermap","typescript"],"created_at":"2025-02-09T16:17:59.667Z","updated_at":"2026-05-05T12:32:26.064Z","avatar_url":"https://github.com/aliwarraich007.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular - Weather widget\n\nng-weather-widget is a reusable Angular component that can be used in any angular project. All you need is your openweathermap api key and you're good to go.\n\n**_Features:_**\n\n- Beautiful design\n- Animated Icons on Current weather condition\n- Rain effect if current weather is rain\n- Caching of data for three hours.\n- Mobile friendly\n- Current weather status at top:\n\n  - City with Country name\n  - Temperature\n  - Humidity\n  - UVI\n  - Wind direction (in text: for example NE, SW, E, etc) and wind\n  - Speed in kmh\n\n- Weather Forecast below:\n\n  The bottom part is the forecast for today and the next 5 days, For every single day we show:\n\n  - Week name\n  - Weather icon\n  - Max temp\n  - Min temp\n\n\u003csmall\u003emore features are coming soon\u003c/small\u003e\n\n---\n\n# How to use widget in your app\n\n## Installation\n\nInstall the package using npm:\n\n```console\nnpm install ng-weather-widget\n```\n\n## Usage\n\nImport and register the ng-weather-widget in your Angular module:\n\n```\nimport { NgWeatherWidgetModule } from 'ng-weather-widget';\n  imports: [\n    BrowserModule,\n    ReactiveFormsModule,\n    HttpClientModule,\n    WeatherModule,\n    NgWeatherWidgetModule,\n  ]\n```\n\nIn your angular template, add the WeatherWidget component and pass your OpenWeatherMap API key as a prop:\n\n```html\n\u003clib-ng-open-weather-widget [appId]=\"your key here\"\u003e\u003c/lib-ng-open-weather-widget\u003e\n```\n\nReplace yourOpenWeatherApiKey with your actual OpenWeatherMap API key.\n\nThe weather widget should now be displayed in your application, showing the weather data for the current day and upcoming week.\n\n## Configuration\n\nThe WeatherWidget component accepts the following props:\n\n`openWeatherApiKey` (required): Your OpenWeatherMap API key to fetch weather data.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliwarraich007%2Fng-weather-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faliwarraich007%2Fng-weather-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliwarraich007%2Fng-weather-widget/lists"}