SkySense
A weather app that answers questions: when to go for a run, whether to take an umbrella, how sure the forecast is and whether today is normal.

About the project
Most weather apps show a grid of numbers and icons and leave the thinking to you. SkySense starts with one or two plain sentences, like "Rain until 16:00, then dry.", tells you what to wear, and then answers one question per tile: do I need an umbrella, when does it get dark, how windy is it.
The part I enjoyed most is being honest about uncertainty. The app reads all 51 runs of the ECMWF ensemble, so it can say "96% of model runs show rain right now", hedge the summary when the runs disagree and show a likely range around the temperature line. It also compares today with the 1991 to 2020 climate for the same date, so "3° colder than usual" has real data behind it.
Every hour is scored for running, cycling, walking, hiking, a picnic, laundry outside, stargazing and golden hour photos. The scores are explicit rules rather than a model, so each one opens into the factors behind it, and a map of the area around you shows where the same activity scores better on a given day.
Key decisions
Explicit rules instead of a model
A trained model would need accounts and data the app doesn't collect. An LLM summary costs money per request, can say things the data doesn't, and is hard to test in five languages. So every answer comes from pure functions with named thresholds, unit-tested on recorded forecasts. The thresholds are my opinions, but they are visible and easy to tune.
One data source behind the app's own routes
Open-Meteo was the only free source with ensemble runs and decades of history without an API key. The browser talks only to SkySense: server routes round coordinates to about 1 km for privacy and cache hits, shrink the 51 ensemble runs to a range, and cache each kind of data for as long as it stays fresh. The cost is a single provider, and its free tier is for non-commercial use only.
Leaflet instead of MapLibre
The radar and the map tiles are plain images, so the lighter map library is enough. I measured both: MapLibre would have added about ten times more JavaScript for vector features the app doesn't use.
What you can try
- A plain summary on top, what to wear, and tiles that each answer one question: umbrella, darkness, wind, air quality, pollen, the moon and frost
- The best time today and in the next 10 days for eight activities, each score broken into its factors, with the good times as a calendar file
- Forecast confidence from 51 ensemble runs, and five weather models compared side by side
- Today against the 30-year climate normal, the same date in each of the last ten years, and how long it has been dry
- Rain radar for the last 2 hours and the model's rain for the next 3, also described in words
- "Where is it better?": a map of about 150 km around you scored for an activity, with the answer in a sentence
- A week view with the best day per activity, two places compared day by day, an embeddable card and a wall display for an old tablet
- Installable and usable offline for places opened before; no accounts and no tracking
- English, German, Slovak, Hungarian and Spanish, light and dark theme
Under the hood
- The browser talks only to the app: server routes call Open-Meteo, validate the answers with Zod and reduce them, so 51 ensemble members become three numbers an hour
- Coordinates rounded to about 1 km for privacy and cache hits; answers cached on the CDN and in memory
- Activity scores are weighted geometric means of named thresholds, so one bad factor sinks a score instead of being averaged away; every rule is written up as a decision record
- Whole sentences per language: logic returns a message key and values, never fragments, with each language's plural forms
- Unit, component and Playwright tests against recorded weather, including polar night, the midnight sun and a heat wave; axe checks at 320 px, and Lighthouse scores and JavaScript budgets enforced in CI
Architecture
- 1BrowserSvelte pages, saved places in local storage
- 2SvelteKit serverValidates, reduces and caches the weather data
- 3Open-MeteoForecast, ensemble, air quality and the climate archive
Lessons learned
- I first decided against an astronomy library, then added one for moonrise and eclipses, and every forecast failed in production because the server loaded it the wrong way. Bundling it into the server build fixed it. Now I check how a new dependency is loaded in the production build before I ship it.
- My first architecture note said the app keeps no state between requests and relies on the CDN alone. Measuring later showed a small in-memory cache was worth adding. I would measure first and write such rules after.
- When
- 2026
- Type
- Personal
Gallery






