Skip to content
Back

Kje je sonce? An app that finds the nearest sunshine in Slovenia on a foggy day

Mak Kordić •
Kje je sonce? An app that finds the nearest sunshine in Slovenia on a foggy day

Kje je sonce? ("Where is the sun?") is a free web app that, when it rains, is foggy or a cold wind blows, finds the 10 nearest towns, peaks and lakes in Slovenia that will be sunny when you get there. It needs no sign-in and has no ads. We built it at CNJ Digital in Ljubljana.

Open it at kjejesonce.si in a browser on your phone or computer. It is available in Slovenian, English, Italian and German.

Kje je sonce? in 20 seconds, with on-screen text in Slovenian: a search for Ljubljana and the results with sun on arrival. Click the video to play it.

In short

  • What it finds: the 10 nearest sunny spots among 413 towns, peaks, lakes, waterfalls, castles and mountain huts.

  • How it picks them: by driving time and the forecast for the hour you arrive.

  • When: today, tomorrow or the day after.

  • Forecast: refreshed every hour between 4:00 and 22:00.

  • Privacy: no sign-in, no ads, and your location is not stored.

→ Find the sun at kjejesonce.si

Why the weather on arrival, not the weather now

A weather app tells you what the weather is like now. Once you are in the car, that is not enough: it takes half an hour or an hour to get there, and in the meantime fog lifts or settles and clouds move. So for every place, Kje je sonce? looks at the forecast for the hour you will be there and how much sun is left before sunset.

It only shows places where you will get at least two hours of sun after you arrive, before the sun sets. An hour counts as sunny when it has at least 65% of the possible sunlight or cloud cover of at most 30%. Low winter sun measures little radiation even under a clear sky, so the app takes both into account.

How the search works

  1. Type a town or address, or use your current location.

  2. Choose today, tomorrow or the day after. The day after is shown by name, so from Thursday on you can pick the weekend.

  3. The app searches in rings of driving time: up to 30, 60, 90, 120, 180 and 240 minutes, until it finds 10 sunny spots.

For each place you see the driving time and distance, your arrival time, when the sun will be out and how long you might wait for it, and when it sets. Below that is an hourly forecast, a navigation button and an idea of what to do there.

Rezultat iskanja v aplikaciji Kje je sonce? za Ljubljano: Domžale, 17 minut vožnje, sonce od 13:00 do 15:00.

A search for Ljubljana on 28 November 2026: Domžale, 17 minutes away, sun from 13:00 to 15:00. The interface is shown in Slovenian.

Peaks above the fog

In winter the fog often sits only in the basins. During a temperature inversion, peaks and plateaus above it are in the sun, so the places include peaks up to about 1,800 metres that you can drive to or reach with a short walk. The Above the fog page shows which peaks are in the sun this morning and tomorrow morning.

If you want an overview rather than a destination, there is also the sun map, where you move through the hours of today and tomorrow, and the sunrise page, which shows where in Slovenia the sun rises first.

Where the data comes from

  • Weather forecast: Open-Meteo, imported every hour between 4:00 and 22:00.

  • Driving time: OSRM on real roads from OpenStreetMap.

  • Places and coordinates: GeoNames, Wikidata and OpenStreetMap.

The forecast is a weather model estimate and can differ from the actual weather, especially with fog. Before heading into the mountains, check the conditions on the way too. The method is described in detail on the about page.

Privacy

Kje je sonce? needs no account and has no ads. It uses your location only for the search and rounds it to about 1 km before sending it to the routing services. For statistics it keeps only the rounded search location, without an IP address.

You can add the page to your phone's home screen. Next time it is foggy, the nearest sun is one tap away.

→ Where is the sun today? Check kjejesonce.si

One of our own projects

Kje je sonce? is one of CNJ Digital's internal projects, alongside SimbiOS, an app for step-by-step guides, and other tools we build because we need them ourselves.

Frequently asked questions

Is Kje je sonce? free?

Yes. It is a free web app with no sign-in and no ads. It runs in the browser on your phone and computer.

Can I find the sun for tomorrow or the weekend?

Yes. You choose today, tomorrow or the day after, so from Thursday on the weekend is an option too. For today the app searches from now on; for tomorrow and the day after, from 8:00 until sunset.

Where is there no fog when the valley is foggy?

During a temperature inversion, peaks and plateaus are often above the fog. The Above the fog page shows which peaks are in the sun today and tomorrow morning, and the search also accounts for the driving time to them.

How often is the forecast refreshed?

Every hour between 4:00 and 22:00. The time of the last refresh is shown with the results.

Does the app store my location?

No. It uses your location only for the search, and for statistics it keeps only a location rounded to about 1 km, without an IP address.

Find the sun at kjejesonce.si. Have an idea for a similar tool? Get in touch.

We write about it. We also build it.

Let's talk about your project

A 30-minute call to understand what you're building and how cvan we help. No brief required.

Prefer email?

info@cnj.si