{"id":28100442,"url":"https://github.com/parisa-singh/weather","last_synced_at":"2025-07-03T22:07:40.473Z","repository":{"id":275363733,"uuid":"925867492","full_name":"parisa-singh/weather","owner":"parisa-singh","description":"A dynamic weather website that brings the world's climate to life with real-time updates and immersive backgrounds for every weather condition.","archived":false,"fork":false,"pushed_at":"2025-02-04T17:29:34.000Z","size":7727,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-13T18:45:35.778Z","etag":null,"topics":["css","html","js","weather-api","weather-app"],"latest_commit_sha":null,"homepage":"https://parisa-singh.github.io/weather/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parisa-singh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2025-02-01T23:39:27.000Z","updated_at":"2025-03-19T15:52:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"8df3f0cc-540f-4138-85aa-7c05ea13d8a8","html_url":"https://github.com/parisa-singh/weather","commit_stats":null,"previous_names":["parisa-singh/weather"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/parisa-singh/weather","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parisa-singh%2Fweather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parisa-singh%2Fweather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parisa-singh%2Fweather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parisa-singh%2Fweather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parisa-singh","download_url":"https://codeload.github.com/parisa-singh/weather/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parisa-singh%2Fweather/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263410776,"owners_count":23462299,"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","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":["css","html","js","weather-api","weather-app"],"created_at":"2025-05-13T18:34:52.036Z","updated_at":"2025-07-03T22:07:40.454Z","avatar_url":"https://github.com/parisa-singh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Weather Website\n\nA simple and interactive weather website that fetches real-time weather data for any city using the OpenWeatherMap API. The website dynamically updates the background image based on the current weather conditions.\n\n![Weather Website Screenshot](assets/screenshot.png) \n\n---\n\n## Features\n\n- **Real-Time Weather Data**: Fetches current weather conditions (temperature, weather condition, and location) for any city.\n- **Dynamic Backgrounds**: Changes the background image based on the weather condition (e.g., sunny, rainy, snowy).\n- **User-Friendly Interface**: Simple input field to search for a city and display weather information.\n- **Responsive Design**: Works seamlessly on both desktop and mobile devices.\n\n---\n\n## Technologies Used\n\n- **Frontend**:\n  - HTML5\n  - CSS3\n  - JavaScript (ES6)\n- **API**:\n  - [OpenWeatherMap API](https://openweathermap.org/api) for weather data.\n- **Tools**:\n  - Git for version control.\n  - Visual Studio Code as the code editor.\n\n---\n\n## Setup Instructions\n\n### Prerequisites\n\n1. **API Key**:\n   - Sign up for a free API key from [OpenWeatherMap](https://openweathermap.org/api).\n   - Replace the `API_KEY` placeholder in `script.js` with your actual API key:\n     ```javascript\n     const API_KEY = 'YOUR_API_KEY_HERE';\n     ```\n\n2. **Image Assets**:\n   - Download weather-related images (e.g., `clear.jpg`, `rain.jpg`, `snow.jpg`) and place them in the `assets` folder. Ensure the file names match the ones referenced in the CSS.\n\n### Steps to Run the Project\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/your-username/weather-website.git","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparisa-singh%2Fweather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparisa-singh%2Fweather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparisa-singh%2Fweather/lists"}