{"id":20687293,"url":"https://github.com/zuludao/izulu","last_synced_at":"2026-05-20T10:02:02.329Z","repository":{"id":49404735,"uuid":"517638530","full_name":"zuludao/izulu","owner":"zuludao","description":"A weather widget component, that can be installed using npm and used with your webapp.","archived":false,"fork":false,"pushed_at":"2022-07-29T19:49:08.000Z","size":439,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-20T14:58:20.961Z","etag":null,"topics":["geolocation","location","npm-package","package","react-module","weather"],"latest_commit_sha":null,"homepage":"https://zuludao.github.io/izulu","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/zuludao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-25T11:32:45.000Z","updated_at":"2022-07-29T14:31:03.000Z","dependencies_parsed_at":"2022-08-25T19:11:08.601Z","dependency_job_id":null,"html_url":"https://github.com/zuludao/izulu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zuludao/izulu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuludao%2Fizulu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuludao%2Fizulu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuludao%2Fizulu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuludao%2Fizulu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zuludao","download_url":"https://codeload.github.com/zuludao/izulu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuludao%2Fizulu/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264862467,"owners_count":23674978,"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":["geolocation","location","npm-package","package","react-module","weather"],"created_at":"2024-11-16T22:56:45.032Z","updated_at":"2026-05-20T10:01:57.308Z","avatar_url":"https://github.com/zuludao.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  Izulu (Weather) \n\nIzulu meaning weather / heaven in the african language of ZULU. \nA weather widget to display weather conditions for any city in the world. \n\n### Prerequisites\n\n[Open Weather API](https://openweathermap.org/)\n[React](https://reactjs.org)\n[Node](https://nodejs.org)\n\n\n### Default Configuration\n```typescript\n  apiKey: \"YOUR OPEN WEATHER API KEY\",\n  parentClassName: String default \"weather\",\n  autoRefresh: Boolean default true,\n  isBackroundImageEnabled: Boolean default true,\n  backgroundColor: Boolean default false,\n  isUserConfig: Boolean default true, //Experimental\n  defualtCity: String default \"New York\",\n  refreshInterval: Number default 30000 /ms,\n```\n\n## Simple Installation\n\nUse the cdn to add weather.vanilla.js and style.css.\n\n```bash\nhttps://gitcdn.link/cdn/zuludao/izulu/master/weather.vanilla.js\nhttps://gitcdn.link/cdn/zuludao/izulu/master/style.css\n```\n\n### Exmaple\n\n```xml\n\u003chtml lang=\"en\"\u003e\n\n\u003chead\u003e\n  \u003cmeta charset=\"UTF-8\"\u003e\n  \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\n  \u003ctitle\u003eWeather Today\u003c/title\u003e\n  \u003clink rel=\"preconnect\" href=\"https://fonts.gstatic.com\"\u003e\n  \u003clink href=\"https://fonts.googleapis.com/css2?family=Open+Sans\u0026display=swap\" rel=\"stylesheet\"\u003e\n  \u003clink rel=\"stylesheet\" href=\"https://gitcdn.link/cdn/zuludao/izulu/master/style.css\"\u003e\n  \u003c!-- \u003cscript type=\"test/javascript\"\n   src=\"https://raw.githubusercontent.com/zuludao/izulu/main/weather.vanilla.js\"\u003e\n      \u003c/script\u003e THIS WONT WORK! --\u003e\n  \u003cscript type=\"text/javascript\" src=\"https://gitcdn.link/cdn/zuludao/izulu/main/weather.vanilla.js\"\u003e\n\n  \u003c/script\u003e\n\u003c/head\u003e\n\n\u003cbody\u003e\n  \u003cdiv class=\"weather\"\u003e\u003c/div\u003e\n\u003c/body\u003e\n\n\u003cscript\u003e\n  setTimeout(function() {\u003c!-- setTimeout is Required to ensure all JS loads --\u003e\n    Weather.init({ \n      isUserConfig : true, \n      apiKey: \"YOUR OPEN WEATHER API KEY\", \u003c!-- apiKey is Required--\u003e\n      ...\n     });\n  })\n\u003c/script\u003e\n\u003c/html\u003e\n```\n##\n## React Installation\n\nNB Ensure your react app is up and running.\n\nyou can create a new React app with the command below.\n\n```\nnpx create-react-app YOUR-APP-NAME\n```\n\nUse the __npm__ or __yarn__ to install.\n\n```bash\nnpm i izulu-react-package --save-dev\n```\n\n### Usage\n\n```javascript\nimport IzuluReact from \"izulu-react-package\";\n\nfunction App() {\n  return (\n    \u003cdiv className=\"App\"\u003e\n      \u003cIzuluReact refreshInterval={150000} \n        apiKey=\"YOUR OPEN WEATHER API KEY\" \u003c!-- apiKey is Required--\u003e\n        isBackroundImageEnabled={true} \n        isUserConfig={false}\n      /\u003e\n    \u003c/div\u003e\n  );\n}\n\nexport default App;\n```\n\n### Run Tests\n\nAll tests are located inside __test__ folder using Mocha \u0026 Chai or Jest.\n\n```bash\nnpm test\n```\n### Run Build\n\nAll tests are located inside __test__ folder using Mocha \u0026 Chai or Jest.\n\n```bash\nnpm run build-lib\n```\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n\nPlease make sure to update tests as appropriate.\n\n## License\n[GPLv3 see license file or, Click here](https://choosealicense.com/licenses/agpl-3.0/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuludao%2Fizulu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzuludao%2Fizulu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuludao%2Fizulu/lists"}