Show HN: Simple weather for your zip code (locserendipity.com)

4 points by westcort ↗ HN
Weather applications are bloated. This is the simplest implementation I could make using data from the weather.gov API.

This simple weather application will retrieve the current 7-day weather for any of more than 33,000 US zip codes. To customize weather for your zip code, change the URL. The current URL is set to the zip code 90210.

If you want both news and weather, that is available here: https://locserendipity.com/Start.html?q=90210

2 comments

[ 6.4 ms ] story [ 19.6 ms ] thread
I like things like this.

Though not as barebones, https://forecast.weather.gov does have "Text Only Forecast" listed on your location's forecast page.

Looks like this:

https://forecast.weather.gov/MapClick.php?lat=40.7603&lon=-1...

There's also:

https://wttr.in/slc

https://wttr.in/slc?format=3

https://v2.wttr.in/slc

https://wttr.in/:help for all kinds of fun ways to customize it.

Thank you for sharing those! It took more effort to make this than it looks, including finding latitude/longitude coordinates for every US zip code, finding the api url for each one (it is not built into the weather.gov api), and programming everything in a static page with no dependencies. You could literally save this page as a file to your desktop, add the query variable to your local path, and as long as you have internet, the page will fetch a weather forecast for your zip code. This is arguably the most private weather lookup you can do!