{"id":20453245,"url":"https://github.com/guidofe/weather-polybar-plugin","last_synced_at":"2025-10-27T07:31:48.057Z","repository":{"id":41875499,"uuid":"484864077","full_name":"GuidoFe/weather-polybar-plugin","owner":"GuidoFe","description":"Weather plugin for the polybar panel","archived":false,"fork":false,"pushed_at":"2024-08-11T15:38:33.000Z","size":58,"stargazers_count":130,"open_issues_count":3,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-04T22:09:37.199Z","etag":null,"topics":["customization","linux","polybar","rice"],"latest_commit_sha":null,"homepage":"","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/GuidoFe.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-04-23T21:51:14.000Z","updated_at":"2025-01-25T16:16:58.000Z","dependencies_parsed_at":"2025-01-28T14:10:24.161Z","dependency_job_id":null,"html_url":"https://github.com/GuidoFe/weather-polybar-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuidoFe%2Fweather-polybar-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuidoFe%2Fweather-polybar-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuidoFe%2Fweather-polybar-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuidoFe%2Fweather-polybar-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GuidoFe","download_url":"https://codeload.github.com/GuidoFe/weather-polybar-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238461534,"owners_count":19476343,"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":["customization","linux","polybar","rice"],"created_at":"2024-11-15T11:12:14.309Z","updated_at":"2025-10-27T07:31:42.775Z","avatar_url":"https://github.com/GuidoFe.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# weather-polybar-plugin\nWeather plugin for the polybar panel\n\n![preview](https://raw.githubusercontent.com/GuidoFe/weather-polybar-plugin/main/preview.png)\n\n## Description\nThis Polybar plugin uses OpenWeather API to get and display information about the current weather, including the type of event (clear, moderate rain, fog etc.), temperature (Celsius, Fahrenheit or Kelvin) and an alert for strong winds. The icons change accordingly with the local sunrise and sunset times. \n\nThe colors are easily customizable via constants defined at the beginning of the script.\n\nYou will need to provide your personal (and free) api key that you can obtain at https://openweathermap.org/api\n\n## Installation\n\n1. Copy and paste your API key in a simple text file. The default location is $HOME/.owm-key\n2. Put the script where you want, and \n3. Make the script executable via `chmod +x /path/to/your/script`\n4. Add this to your Polybar config file:\n```\n[module/weather]\ntype = custom/script\nexec = /PATH/TO/YOUR/SCRIPT.sh\ntail = false\ninterval = 960\n```\n5. Add the plugin to your polybar panel\n\n## Configuration\n\nTake a look at the beginning of the script for all the settings.\n\nYou must use a NerdFont https://www.nerdfonts.com\n\nChange CITYNAME and COUNTRYCODE with your desired location.\n\nSet WEATHER_FONT_CODE to the polybar font you want to use to display the weather type and wind icon, and set the TEMP_FONT_CODE to the font for the thermometer icon (it was too big with the first font)\n\nYou can change the text language by setting the LANG variable. You can find the available languages and their codes at https://openweathermap.org/current#list\n\n## Debugging\nRun `weather-plugin.sh -d` in the terminal in order to see the raw api response\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguidofe%2Fweather-polybar-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguidofe%2Fweather-polybar-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguidofe%2Fweather-polybar-plugin/lists"}