Hacker News new | ask | show | jobs
Show HN: T-Shirt Weather. See the multi-day forecast for any city on a world map (tshirtweather.fyi)
2 points by lowkeyokay 6 days ago
My family and I were trying to plan a short summer escape from the cold, grey Danish summer — somewhere it was actually warm enough for a t-shirt. I couldn't find a good way to just see that at a glance, so I built one.

It's a world map of multi-day forecasts. Zoom out for capitals, zoom in and smaller cities fill in. There's a "t-shirt weather" toggle that highlights the places that are warm and dry enough for just a T-shirt. It's proven quite useful for us.

Data is from Open-Meteo, city data from GeoNames. The stack is Nuxt + MapLibre GL, with fairly heavy Redis caching so I'm not hammering Open-Meteo on every pan/zoom.

Hope someone else finds it useful. Have a great summer!

1 comments

Looks nice, but it was very difficult to add favorite city. IIUC I must zoom in until the city get's a weather forecast, then click on it. I was expecting to be able to just click on the name on the map.

Also, when I zoom out, I expect to keep seeing my favorites, but it reverts to big cities.

Feature request: Option to change to Fahrenheit.

Thanks for the feedback. Highly appreciated. As a European I totally forgot about Fahrenheit. Will add.

Good point about being able to click the name before zooming in. Will add that as well.

The favorites should stay visible when zooming out. Will check.

Done. Added scale selector, and you can now mark any city/town as a favourite. Thanks again for the feedback