{"id":23397418,"url":"https://github.com/strix007/polybar-getweather","last_synced_at":"2025-09-09T11:46:09.436Z","repository":{"id":149385576,"uuid":"612327705","full_name":"Strix007/polybar-getweather","owner":"Strix007","description":"A sweet and simple polybar module to get the weather. Written in bash.","archived":false,"fork":false,"pushed_at":"2023-05-05T16:57:57.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-16T15:12:17.769Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/Strix007.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":"2023-03-10T17:38:24.000Z","updated_at":"2024-01-09T11:33:57.000Z","dependencies_parsed_at":"2023-07-14T01:45:50.984Z","dependency_job_id":null,"html_url":"https://github.com/Strix007/polybar-getweather","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Strix007/polybar-getweather","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Strix007%2Fpolybar-getweather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Strix007%2Fpolybar-getweather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Strix007%2Fpolybar-getweather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Strix007%2Fpolybar-getweather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Strix007","download_url":"https://codeload.github.com/Strix007/polybar-getweather/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Strix007%2Fpolybar-getweather/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274291347,"owners_count":25258157,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"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":[],"created_at":"2024-12-22T08:18:11.205Z","updated_at":"2025-09-09T11:46:09.422Z","avatar_url":"https://github.com/Strix007.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![showcase](assets/images/showcase.png)\n\u003ch1 align=\"center\"\u003eWeather Module For Polybar\u003c/h1\u003e\n\n# Description\nThis Polybar plugin uses OpenWeather API to get and display information about the current weather like the temprate and condition. The temprature is shown in numericals while the condition is shown through color and icons.\n\nThis module is easily customizable. All you need to do is modify the shell script `getweather.sh`.\n\n## Table Of Contents\n- [Dependencies](#dependencies)\n- [Installation](#installation)\n- [Customization](#customization)\n- [Contribiuting](#contributing)\n\n\u003ca id=\"dependencies\"\u003e\u003c/a\u003e\n# Dependencies\n- [Nerd Fonts](https://github.com/ryanoasis/nerd-fonts)\n- [jq](https://stedolan.github.io/jq)\n\n\u003ca id=\"installation\"\u003e\u003c/a\u003e\n# Installation\n1 - Get your own openweather api key. If you don’t know how to, refer to this [article](https://openweathermap.org/appid).  \n2 - Get the city code of the city whose weather details you want. You can search your city on openweather.org and copying the digits after `.../city/`.  \n3 - Make a plain text file called .env in your home directory.  \n4 - Put the API key and city code in the text file. eg.  \n```\nOPEN_WEATHER_API_KEY=\"yourAPIkey\"\nOPEN_WEATHER_CITY_ID=\"yourCityCode\"\n```\n5 - Make the script executable by `chmod + x /path/to/the/script`  \n6 - Put this in your polybar config.ini  \n```\n[module/weather]\ntype     = custom/script\nexec     = /path/to/the/script\ntail     = false\ninterval = 100\n```\n7 - Add the module to your bar’s modules.\n\n\u003ca id=\"customization\"\u003e\u003c/a\u003e\n# Customization\n## Units\nYou can customize the units by changing the value of UNITS in the script. Possible values are metric, imperial and kelvin.\n## Icons\nYou can change the icons for the different weather conditions by changing the ICON variable in the script.\n## Colors\nYou can change the colors for the different weather conditions by changing the ICON_HEX variable in the script.\n## Conditions\nYou can change the conditions of the different icon codes by changing the values of the CONDITION and DAYTIME variables.\n\n\u003ca id=\"contributing\"\u003e\u003c/a\u003e\n# Contributing\nIf you want to add some features or want to fix a mistake, feel free to open a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrix007%2Fpolybar-getweather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrix007%2Fpolybar-getweather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrix007%2Fpolybar-getweather/lists"}