How it's made

Why

I'd rather have the windows open. Just not at 38°F, not on a muggy 70°F dew point night, and not with smoke in the air. Knowing which meant checking a forecast, an air quality map and my own guess about humidity, every day the seasons were changing.

I wanted one glance to settle it.

What it does

Freshen does that check and gives back two things: open or not, and why.

The answer is a picture before it is a number. The sash is the verdict: raised, cracked or shut. The weather drawn is the reason: frost, heat haze, fogged glass, rain or a brown pall of bad air. The sky is the real sky at that hour, from the sun's position.

A no always says when it turns to yes, by the clock where you live: “Open at 5 PM tomorrow”, not “Try again later”.

The rule

Every hour of your ZIP's forecast gets four checks. All four have to pass to open.

One failure keeps the windows closed. A near miss means open briefly. A warning for wind, smoke or dust closes them whatever the numbers say.

The defaults lean toward open, because the people asking already want fresh air. A stricter preset is in settings, and every threshold can be moved.

The research behind each threshold ›

What I left out

Where the data comes from

National Weather Service
The hourly forecast for your ZIP: temperature, dew point, wind and chance of rain. Checked every 10 minutes.
National Weather Service alerts
Active warnings where you are. Checked every 2 minutes.
EPA AirNow
Air quality now: ozone and particle readings from the three nearest monitors within 25 miles, weighted by distance. Readings older than 3 hours are dropped.
Open-Meteo air quality
Air quality for the hours ahead, from the European CAMS model. Where no monitor is in range, it stands in for the reading and is labeled an estimate.
Open-Meteo weather
The national map: about 490 points across the country, refreshed hourly and judged by the same rule.
Zippopotam.us
Turns a ZIP code into a latitude and longitude.
U.S. Census Bureau
Turns your location into a ZIP, only when you share it, with OpenStreetMap as a fallback. Its boundaries also draw the map's counties and states.

All of it is public and free.

How it's built

One page and a small server on Vercel, built to be free to run. The server asks each source above, keeps the answer briefly so neighbors share one request, and keeps its keys off your device. There is no database to keep: each hour is judged fresh, and the rule is checked by unit tests.

What it can't see

What it keeps

Your ZIP and settings stay in this browser. On a first visit the ZIP is guessed from your internet connection; the guess is not saved unless you keep it, and never logged. Page views are counted without cookies.