No description
Neither Met Office's Global Spot API nor Open-Meteo return a narrative text summary -- both are purely numeric/coded. New lib/summary.js derives one rule-based from today's already-fetched hourly points (icon + precip_prob), no extra API call, no LLM: - Headline: "Scattered showers today", "Rain likely later", "Heavy rain today", "Dry today", etc. -- compares rain distribution across the whole day vs specifically the hours still ahead of "now". - Note: "Thunderstorms possible", appended when a thunder icon shows up. - Umbrella nudge: shown when there's a real rain chance now or later today. Computed fresh per-request (not cached at fetch time), since "later" means later than whoever's looking at the screen right now, not later than the last hourly refresh. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| backend | ||
| frontend | ||
| .gitignore | ||
| docker-compose.yml | ||
| seed-app.js | ||