aviation

planeMode: I Vibe Coded an In-Flight Tracker That Works in Airplane Mode

planeMode app home screen with logo and aircraft
post_modified 2026-11-24 02:37:57
planeMode home screen showing live GPS position, altitude and ground speed
The home screen during a (simulated) cruise

If you’ve ever sat in a window seat wondering how fast you’re really going, how high you are, or what that coastline below is, and the seatback screen is broken (or there isn’t one), this one’s for you. planeMode is a new Android app I vibe coded that turns your phone into a personal in-flight instrument panel. Its motto: Your flight. Your instruments. Your view.

The neat part is that it needs no internet, no account and no API keys. Your phone’s GPS receiver keeps working in airplane mode, because it only listens to satellites and never transmits. planeMode uses that GPS signal, plus the phone’s motion sensors, to work out where you are, how fast you’re moving and how high you’re flying, and draws it all on an offline vector map.

To be clear about what it is not: it isn’t an ADS-B receiver or a FlightAware-style tracker of other planes. It tracks one aircraft, the one you’re sitting in.

Why not just use the seatback map?

If you fly long-haul, you’ve probably seen the moving map on the seatback screen: a little plane crawling across the ocean, with altitude, speed and time to destination cycling past. On many international widebody flights it’s one of the best channels on the entertainment system.

The trouble is that you often don’t get one at all. Many shorter domestic and regional flights, on narrowbody jets and regional aircraft, have no seatback screens. More and more airlines are taking them out entirely and asking you to stream to your own device over the onboard Wi-Fi instead. Sometimes the flight map is in that Wi-Fi portal, and sometimes it isn’t, or the Wi-Fi is down. On a budget carrier, the only map you’ll see may be the one in the seatback magazine.

Even when there is a seatback map, it shows a simple, passenger-friendly view that you can’t do much with. planeMode gives you more detail and more control:

  • Live numbers: ground speed, GPS altitude, track and vertical speed in feet per minute, updated every second
  • Your map, your way: zoom in to street level to spot the town or stadium below, zoom out to see the whole route, or have the map follow your direction of travel
  • Instrument views: a cockpit-style HUD and an altitude profile chart of your climb, cruise and descent
  • The satellites: see which GPS satellites your phone is picking up and how strong each signal is
  • Every phase of the flight: automatic takeoff, cruise and landing detection, with optional chimes
  • Doesn’t lose your flight: the track is saved on your phone as you fly, so if the app or phone restarts mid-flight, it picks up where it left off
  • Gate to gate: it works during taxi, takeoff and landing, when seatback screens are often turned off or showing safety messages

To be fair, the seatback map has one advantage: it gets its data straight from the aircraft’s own navigation systems, so its airspeed and pressure altitude are more precise than anything a phone can measure through a window. planeMode isn’t trying to replace it. It gives you a detailed view of your own flight even when the airline doesn’t show you one.

Download it

It isn’t on the Play Store, so you sideload it. Download the APK on your phone and open it. If Android asks, allow Install unknown apps for your browser, then tap Install and grant location access. Install it before you fly, while you still have a connection, and let it download map detail for your route over Wi-Fi.

A moving map that works offline

planeMode moving map with the flown track drawn behind the aircraft
Moving map with the flown track

The main screen is a moving map with an overhead aircraft icon and the track you’ve flown drawn behind it. Ground speed, altitude and track sit along the top. Distance flown, distance remaining, vertical speed and an ETA sit along the bottom.

The maps are all vector maps (MapLibre). A world base map of coastlines, lakes, rivers and borders is built into the app, so you always have something to look at even with zero connectivity. When you’re online, it adds street-level detail from OpenFreeMap. Before a trip it can automatically download a corridor along your planned route, so that detail is there at 37,000 feet too.

GPS reception through an airplane window can be patchy. When the signal drops, planeMode estimates your position for a short while from your last known speed and heading, marks it clearly as an estimate, and smoothly rejoins the real track once the signal returns.

Cockpit HUD and altitude profile

planeMode cockpit HUD with artificial horizon, speed tape and altitude tape
The cockpit HUD

This is the fun one. The Cockpit HUD is styled after a glass-cockpit primary flight display, with an artificial horizon, a speed tape, an altitude tape and a heading arc. In honesty, the pitch and roll come from the phone’s tilt sensors, so they show how your phone is tilted, not the aircraft. If you prop the phone up and calibrate it, you’ll see the plane bank through its turns.

The Altitude profile charts the climb, cruise and descent against distance flown. You can zoom it to 100, 400 or 1,200 km, or show the whole flight.

planeMode altitude profile chart at cruise altitude
Altitude profile

Everything else

  • Flight info cards: ground speed, altitude, track, climb rate, distance flown, elapsed time, distance remaining and ETA
  • Satellite monitor: which GPS, GLONASS, Galileo and BeiDou satellites your phone can see, and how strong each signal is
  • Flight phases and chimes: detects takeoff roll, climb, cruise, descent and landing, with optional sounds
  • Airport database: pick departure and arrival airports (OurAirports data) for distance remaining and ETA
  • Keeps tracking with the screen off, so you can pocket the phone and look at the whole flight later
planeMode flight information cards
Flight information

Try it without getting on a plane

You don’t need a plane ticket to try it out. Go to Settings → Simulation → Enable mock flight and press START FLIGHT. It flies a simulated Newark to Miami trip that you can play at up to 60x speed, so the whole 2¾-hour flight takes about three minutes. You can even pull the GPS signal mid-flight to see how the app copes. All the screenshots in this post were taken from that simulation on an emulator, which is why they say SIMULATED DATA.

How it was vibe coded

This is where it ties back to my earlier post on the coming software explosion. I didn’t write planeMode line by line. I wrote a long, detailed specification prompt (planemode.md, about 1,200 lines) and had an AI coding agent build the app from it.

The spec reads like a brief for a senior Android team. It sets out the tech stack (Kotlin, Jetpack Compose, Material 3, Hilt, Room, MapLibre) and describes every screen. It also pins down the parts that are easy to get wrong: what to do when GPS drops out, honest labels (ground speed is not airspeed), offline maps, background tracking, and a mandatory mock-flight data stream so the app could be tested without flying. The result is about 6,200 lines of Kotlin across roughly 50 files, with unit tests and a signed release build.

The lesson I keep relearning is that the spec is the product now. The more precisely you describe what you want, including the edge cases and what the app should not do, the better the result. The coding is the easy part. Knowing what to ask for is where the work is.

A few caveats

  • Sit by a window. GPS signals don’t get through the aircraft’s metal skin well, so a window seat makes a big difference.
  • Altitude is GPS altitude, speed is ground speed, and the ETA is a straight-line estimate. It’s for fun and curiosity, not navigation or official flight information.
  • It’s a sideloaded v1.0, so expect rough edges. Bug reports and pull requests are welcome on GitHub.

Next time you fly, switch to airplane mode, open planeMode and watch the world go by. Safe travels! ✈️