{"id":18850540,"url":"https://github.com/manthanank/weather-app-angular","last_synced_at":"2026-04-27T11:31:15.148Z","repository":{"id":107827601,"uuid":"552335139","full_name":"manthanank/weather-app-angular","owner":"manthanank","description":"Weather App","archived":false,"fork":false,"pushed_at":"2024-06-24T06:28:25.000Z","size":1087,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T04:56:52.370Z","etag":null,"topics":["angular","weather-app"],"latest_commit_sha":null,"homepage":"https://weather-app-angular-manthanank.vercel.app/","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/manthanank.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}},"created_at":"2022-10-16T11:05:52.000Z","updated_at":"2025-07-14T04:26:25.000Z","dependencies_parsed_at":"2024-06-24T07:44:26.938Z","dependency_job_id":"a2b32d49-5a70-4f75-8267-8aa951d7a755","html_url":"https://github.com/manthanank/weather-app-angular","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/manthanank/weather-app-angular","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Fweather-app-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Fweather-app-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Fweather-app-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Fweather-app-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manthanank","download_url":"https://codeload.github.com/manthanank/weather-app-angular/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Fweather-app-angular/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32335295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["angular","weather-app"],"created_at":"2024-11-08T03:29:51.025Z","updated_at":"2026-04-27T11:31:15.132Z","avatar_url":"https://github.com/manthanank.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular Weather App\n\nThis is a weather application built with Angular that displays the weather forecast for the current day, the previous day, and the next day based on the user's current location or a specified city. The app fetches weather data from the OpenWeatherMap API and displays relevant weather details along with icons.\n\n## Features\n\n- Displays weather forecast for the current, previous, and next day\n- Shows temperature, humidity, wind speed, and weather description\n- Displays weather icons based on the weather condition\n- Allows users to search for weather information by city\n- Automatically fetches weather data based on the user's current location\n\n## Prerequisites\n\n- Node.js and npm installed\n- Angular CLI installed\n- OpenWeatherMap API key\n\n## Getting Started\n\n### 1. Clone the Repository\n\n```sh\ngit clone https://github.com/manthanank/weather-app-angular.git\ncd weather-app-angular\n```\n\n### 2. Install Dependencies\n\n```sh\nnpm install\n```\n\n### 3. Obtain OpenWeatherMap API Key\n\nSign up at [OpenWeatherMap](https://openweathermap.org/api) to get your API key.\n\n### 4. Set Up Environment Variables\n\nReplace `YOUR_API_KEY` with your actual OpenWeatherMap API key in `weather.service.ts`:\n\n```typescript\nprivate apiKey = 'YOUR_API_KEY';\n```\n\n### 5. Run the Application\n\n```sh\nng serve\n```\n\nOpen your browser and navigate to `http://localhost:4200`.\n\n## Project Structure\n\n- `src/app/weather.service.ts`: Service to fetch weather data from OpenWeatherMap API\n- `src/app/weather/weather.component.ts`: Component to display weather information\n- `src/app/weather/weather.component.html`: Template for weather component\n- `src/app/weather/weather.component.css`: Styles for weather component\n- `src/app/weather.model.ts`: Interfaces for weather data\n\n## Implementation Details\n\n### weather.model.ts\n\nContains TypeScript interfaces for the weather data fetched from the OpenWeatherMap API.\n\n### weather.service.ts\n\nService that provides methods to fetch weather data by city or by geographic coordinates using the OpenWeatherMap API.\n\n### weather.component.ts\n\nComponent that handles the display of weather data. It includes methods to get the current location, process weather data, and calculate daily averages.\n\n### weather.component.html\n\nTemplate for displaying the weather data. Includes input for city search and displays weather information with icons for the current, previous, and next days.\n\n### weather.component.css\n\nCSS styles for the weather component. Includes styles for layout, buttons, and weather icons.\n\n## Example\n\n### Weather App Interface\n\n![Weather App Interface](/public/screenshot.png)\n\n### Weather Icons\n\nWeather icons are fetched using the icon code provided by the OpenWeatherMap API. The icon URL format is: `https://openweathermap.org/img/wn/${icon}@2x.png`.\n\n## License\n\nThis project is licensed under the MIT License.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanthanank%2Fweather-app-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanthanank%2Fweather-app-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanthanank%2Fweather-app-angular/lists"}