Every winter storm I watch the same thing happen: the power goes out, the wifi goes with it, and the one page you need (how long is the fridge safe?) will not load. So I built the answer as a single offline file.
The design constraint: it has to work with zero network
- One HTML file, no external requests, state kept in localStorage.
- The outage clock stores a start timestamp and computes elapsed time on every render. No timers to drift when the tab sleeps.
- Status is derived, not stored: elapsed hours are compared with fixed windows.
The numbers it tracks (doors kept closed)
- Refrigerator: about 4 hours
- Half-full freezer: about 24 hours
- Full freezer: about 48 hours
These are the commonly published food-safety windows. It is a reminder tool, not a substitute for official guidance, and when in doubt, throw it out.
The checklist
A 12-point before-the-storm list: charge devices, water, freezer packs, cash, the manual garage release, flashlights. Plus the do-not-do list, starting with never running a generator indoors.
Try it
The result is called Power Outage Studio: https://nortiq-tools.surge.sh/ai-outage/
If you have a window or edge case I missed, tell me in the comments.