{"id":17716939,"url":"https://github.com/Charmve/github-readme-weather-widget","last_synced_at":"2025-03-14T02:31:06.344Z","repository":{"id":226770839,"uuid":"769586947","full_name":"Charmve/github-readme-weather-widget","owner":"Charmve","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-07T04:38:38.000Z","size":451,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-29T22:49:44.531Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github-readme-weather-widget.vercel.app","language":"HTML","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/Charmve.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2024-03-09T13:55:56.000Z","updated_at":"2024-10-07T04:38:41.000Z","dependencies_parsed_at":"2024-04-15T13:24:36.421Z","dependency_job_id":"3134b89d-df8c-4182-95ef-da3509dcedd7","html_url":"https://github.com/Charmve/github-readme-weather-widget","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"446a101b3c280e94792d3c7fd14109180256e6a3"},"previous_names":["charmve/github-readme-weather-widget"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Charmve%2Fgithub-readme-weather-widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Charmve%2Fgithub-readme-weather-widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Charmve%2Fgithub-readme-weather-widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Charmve%2Fgithub-readme-weather-widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Charmve","download_url":"https://codeload.github.com/Charmve/github-readme-weather-widget/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243336895,"owners_count":20275188,"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":[],"created_at":"2024-10-25T14:01:14.754Z","updated_at":"2025-03-14T02:31:06.331Z","avatar_url":"https://github.com/Charmve.png","language":"HTML","readme":"\n\u003cp align=\"center\"\u003e\n \u003cimg width=\"100px\" src=\"https://raw.githubusercontent.com/saumiko/weather-readme-widget/master/icon.svg\" align=\"center\" alt=\"GitHub Readme Stats\" /\u003e\n \u003ch2 align=\"center\"\u003eGitHub Readme Weather Stats\u003c/h2\u003e\n \u003cp align=\"center\"\u003eGet dynamically generated weather stats on your GitHub readmes!\u003c/p\u003e\n\n  \u003cp align=\"center\"\u003e\u003ca href=\"https://weather-readme.vercel.app/api/weather\"\u003e\u003cimg alt=\"Powered by Vercel\" src=\"https://raw.githubusercontent.com/saumiko/weather-readme-widget/master/vercel.svg\" /\u003e\u003c/a\u003e\u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"#demo\"\u003eView Demo\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/saumiko/weather-readme-widget/issues/new/choose\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/saumiko/weather-readme-widget/issues/new/choose\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n  \n## Demo\n\u003c!--\n[\u003cimg align=\"top\" src=\"https://weather-readme.vercel.app/api/weather\" alt=\"Weather\" width=\"100%\"/\u003e](https://openweathermap.org/city/1185098)\n--\u003e\n\n\u003cimg align=\"top\" alt=\"Weather\" width=\"80%\" src=\"https://github-readme-weather-widget.vercel.app\" alt=\"weather-local\"\u003e\n\nDemo URL: `https://github-readme-weather-widget.vercel.app`\n\n\n## Workflow \nThis app is basically written with Vercel deployment plan in mind. Since I had issues with reading the configuration after deployment, decided to load the configuration from the repository itself.\nTried to maintain standard! You can change it if you want some kind of different loading strategy.\nThe weather data \u0026 icons are pulled from [OpenWeather](https://openweathermap.org), each time the widget gets loaded. \nFor time adjustments, UTC adjustments are done according to the Vercel instance. So it may behave wierdly in local.\nThe API key for [OpenWeather](https://openweathermap.org), is supplied by an environment variable named `OPENWEATHERMAP`.\nCalculations \u0026 adjustments are done and the [widget](https://github.com/saumiko/weather-readme-widget/blob/master/api/templates/widget.html) template is rendered as a vector image in the final output for the [weather](https://weather-readme.vercel.app/api/weather) api.\n\n## Deploy on your own Vercel instance\n\n1. Configure your repository\n\t- [Fork my repository](https://github.com/saumiko/weather-readme-widget/fork)\n\t- [Edit the configurations](https://github.com/saumiko/weather-readme-widget/blob/master/api/config.ini)\n\t\t - [ ] [Location Dict](https://github.com/saumiko/weather-readme-widget/blob/dac00febabee2bc9c406cf78aa4a92ca7088333f/api/config.ini#L7)\n\t\t - [ ] [Timezone Dict](https://github.com/saumiko/weather-readme-widget/blob/dac00febabee2bc9c406cf78aa4a92ca7088333f/api/config.ini#L12)\n\t- [Edit GitHub info](https://github.com/saumiko/weather-readme-widget/blob/dac00febabee2bc9c406cf78aa4a92ca7088333f/api/weather.py#L14)\n\t\t - [ ] `GITHUB_USERNAME`\n\t\t - [ ] `GITHUB_REPO`\n\t\t - [ ] `GIT_BRANCH`\n\t- Push updates in your fork!\n\n2. Configure Vercel instance \u0026 deploy!\n\t- Sign up!\n\t- Connect \u0026 deploy your repository!\n\t\t- [ ] Just add your own `appid` for openweathermap api in `OPENWEATHERMAP` env variable.\n\t- Voila! It'll be up and running after that!\n\t\t- Access path - `http://VERCEL_DOMAIN/api/weather`\n\n## Contributions \u0026 License\nThis app is licensed under MIT License. ©[Asif Mohaimen](https://asifmohai.men), 2020\n\nContributions are welcome! Please send your PR!\n\nMade with  ❤️!\n","funding_links":[],"categories":["[![Repography logo](https://images.repography.com/logo.svg)](https://repography.com) / Recent activity [![Time period](https://images.repography.com/36880020/rzashakeri/beautify-github-profile/recent-activity/CmQSK3ak2SSwribbfXqdbMPoQcGy1awsc85hRH2sxJw/4wCZHZGWri7bcZix3qeaaDJhLSAhtj56XFkR8XOz4HI_badge.svg)](https://repography.com)"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCharmve%2Fgithub-readme-weather-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCharmve%2Fgithub-readme-weather-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCharmve%2Fgithub-readme-weather-widget/lists"}