Settings

Theme

Show HN: Weather2Geo – Geolocate screenshots from weather widgets

github.com

54 points by Elliott-Diy 8 months ago · 9 comments · 1 min read

Reader

Hi HN,

I built an OSINT tool called Weather2Geo that helps locate where a screenshot was taken based on the weather widget data visible (e.g. temp, condition, and local time in the taskbar). People often post these without realizing how specific those values can be in combination.

It works by comparing the given weather condition, temperature, and time against current data from thousands of cities. It’s timezone-aware, supports fuzzy matching, and groups results geographically to reduce noise.

It’s most effective on recent screenshots, ideally taken within the last hour—since weather and daylight conditions change quickly.

The tool helps pinpoint likely locations when screenshots lack EXIF data or other traditional OSINT clues.

It’s open source here: https://github.com/elliott-diy/Weather2Geo

Would love feedback, bug reports, or to hear if you think this has other use cases.

- Elliott

landgenoot 8 months ago

I think you can parse the date and time format as well to shrink your problem space.

https://en.m.wikipedia.org/wiki/List_of_date_formats_by_coun...

progbits 8 months ago

Do you plan to scrape the data and maintain a historical database so old screenshots can be used too?

Would be really cool but I imagine it could be difficult to get past rate limits.

  • Elliott-DiyOP 8 months ago

    That’s actually an end goal! I’m thinking of setting up a system to crowdsource this: if people opt in, the tool could cache the weather data it pulls and share it to help build a distributed historical dataset.

  • rconti 8 months ago

    Using a time series database would be great here.

antman 8 months ago

I would assume you need to add your time and location at the time of the screenshot also so that you can correct the remote displayed time to Microsoft Weather time?

  • Elliott-DiyOP 8 months ago

    Yep! The tool currently only works with screenshots taken within the past hour, since that's the only weather data I have access to right now. It also relies on having a consistent reference point for time. When you run the script, it uses your current timezone to help align the time shown in the screenshot with Microsoft Weather's data.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection