← Go back

Northern lights app built with AI agents

I wanted a project that would stretch me: a native iPhone app that runs on live data from two APIs, designed by directing Claude in Figma, and good enough to get through App Store review. Meet Zorja, the app that does just that.

CHAPTERS

The question

Go, wait or skip

Before designing anything, I looked at the aurora apps on the App Store, and on Mobbin at how weather and sun apps explain a verdict. Nearly all the aurora apps showed a percentage or a score out of 100, and most charged for alerts and the outlook for the next nights. Their reviews kept saying the same things: alerts in daylight, alerts under thick cloud, and a 0% chance while the aurora was overhead.

A strong aurora is no use at noon or behind cloud. So Zorja weighs darkness, cloud and aurora activity together and answers in words: go out right now, wait until a set time, or skip tonight. Wait and skip had to be as useful as go. "Too bright until 21:15" and "Thursday looks clearer" are answers too.

The rules came from there. No percentages, scores or Kp numbers anywhere. Not known is not the same as bad. And never promise more than the data can back up.

The design

Every state, before a line of code

This was the new workflow I wanted to try. Claude drew the first version of every screen in Figma, and I directed it with instructions, references and small UI fixes. The three key screens, Now, Tonight and 3 Nights, I ended up redesigning heavily myself. Nothing was built before it was approved in Figma.

The foundations came first: a near-black base, Outfit, and strict colour roles. Green is only for the one main action on a screen, yellow for good conditions, magenta for aurora, and a dashed outline for anything not known yet.

An app built on live data has more states than screens. Offline, out of date, no cloud forecast, location turned off, polar night when it's dark all day, midnight sun when it never gets dark. I designed every one of them, over 70 frames, so nothing would be left to chance once real data arrived.

The navigation took three goes. It started with tabs, then became a single screen with no tabs at all. It ended as a floating menu with three items, Now, Tonight and 3 Nights, one for each answer: go, wait and skip.

Tonight

Three tries at one screen

Tonight shows when the sky will be dark, clear and active at the same time. It was the hardest screen to get right. The first version was a 16-hour chart with a row each for darkness, cloud and aurora. It was accurate, but you had to work out the answer yourself.

The next was an arc of the night, from sunset to sunrise, sliding under a fixed needle. I didn't like it. It didn't show the information clearly, and swiping it didn't add much. So it became a strip of hour circles. Yellow is clear and dark, a ring is live aurora, and a dashed circle means not known.

After the first release I started on Tonight once more, with a second round on Mobbin to see how other apps lay out time. That shaped the hour timeline that shipped in version 1.0.1: the hour you pick shown large, with a note on what it holds, and an aurora ring that flickers like a flame.

Going live

The parts nobody sees

Claude Code built the SwiftUI app, the forecast API and the zorja.app site. The forecast combines NOAA's aurora data, MET Norway's cloud forecast and sun positions worked out for each place. Everything runs on free tiers.

Free tiers came with limits, and we kept running into them. The free database allows only so many requests a month, and the first version spent far too many on every forecast. We rebuilt it to use a fraction of that. Before the code went public we came back to it once more, so a flood of requests couldn't use up the month in a day.

Zorja went live on the App Store on 13 November, and version 1.0.1 followed five days later. The code is on GitHub and the design is in a public Figma file.

Reflections

I did this for the fun of it, and to see how far I could go. Working with AI lets me build things I couldn't have built before.

The parts I expected to be hard weren't the hard ones. The free-tier limits were, and we went back to them more than once. Tonight took three tries, and the best version came after the app was already live.

The agents build fast, and Claude can draw a first version of every screen. Deciding what the app should say, and what it should never say, was still my job.