{"id":22887659,"url":"https://github.com/mrexplode/glance-weather","last_synced_at":"2025-03-31T19:14:39.212Z","repository":{"id":242686328,"uuid":"810269858","full_name":"MrExplode/glance-weather","owner":"MrExplode","description":"A Glance extension for Hungarian weather","archived":false,"fork":false,"pushed_at":"2025-03-30T15:54:38.000Z","size":193,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T16:32:00.001Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/MrExplode.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-04T11:24:55.000Z","updated_at":"2025-03-30T15:54:32.000Z","dependencies_parsed_at":"2024-06-04T12:53:06.925Z","dependency_job_id":"377d5394-669a-4d8c-a8b6-4c63803b9d2b","html_url":"https://github.com/MrExplode/glance-weather","commit_stats":null,"previous_names":["mrexplode/glance-weather"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrExplode%2Fglance-weather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrExplode%2Fglance-weather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrExplode%2Fglance-weather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrExplode%2Fglance-weather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrExplode","download_url":"https://codeload.github.com/MrExplode/glance-weather/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246523866,"owners_count":20791444,"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-12-13T20:37:45.650Z","updated_at":"2025-03-31T19:14:39.180Z","avatar_url":"https://github.com/MrExplode.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Weather extension for [Glance](https://github.com/glanceapp/glance)\r\n[![Build Status](https://github.com/MrExplode/glance-weather/actions/workflows/build.yml/badge.svg)](https://github.com/MrExplode/glance-weather/actions)\r\n\r\nThis extension is similar in functionality to the built-in weather widget,\r\nbut the data is retrieved from local providers, thus more precise.\r\n\r\n## Usage\r\nI can't bother publishing the image, you have to build it first\r\n```\r\n1. clone the repository\r\n2. docker build --tag=\u003cwhatever\u003e .\r\n```\r\n\r\nDocker Compose example:\r\n```yaml\r\nservices:\r\n  weather-ext:\r\n    image: \u003cyour image name\u003e\r\n    container_name: weather-ext\r\n    restart: unless-stopped\r\n    environment:\r\n      WEATHER_ENDPOINT: # you have to know the weather API endpoint. I am not providing it to avoid legal problems.\r\n      CITY: # the city in lowercase\r\n      LATITUDE: # your approx. coordinates, used for daylight calculations\r\n      LONGITUDE: # ^^\r\n      TIMEZONE: # your timezone e.g. Europe/London\r\n```\r\n\r\nNow you can add the widget to your `glance.yml`:\r\n```yaml\r\n- type: extension\r\n  url: \u003cyour host\u003e:8080\r\n  allow-potentially-dangerous-html: true\r\n  cache: 30s # adjust this as you want, don't go low, you might get restricted for api abuse\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrexplode%2Fglance-weather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrexplode%2Fglance-weather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrexplode%2Fglance-weather/lists"}