glanceapp / glanceapp/glance

Get weather based on id rather then name

Open
#300 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
37.1k
Forks
1.5k
Avg merge
1h 11m
Merged PRs (30d)
1

Description

Hey, the weather widget is lacking a feature for my specific case. The `location` property in the configuration only supports to query for the first found item of [open-meteo.com](open-meteo.com). However I didn't find a search query which lists my location as the first result.

I would propose to also support location ids which [open-meteo.com](open-meteo.com) also provides. The app could first check if the `location` property is an integer and query by the location id, otherwise query by name.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the weather widget and the code that queries open-meteo.com from the location configuration. First inspect how the current name-based lookup selects its result, then verify the API's location-id query behavior. Done means integer locations use the ID while other values continue using name lookup, with the widget still displaying weather correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.