Ramesh Inampudi

Web apps

Globetrotter: A Flight Tracker That Runs in the Browser

By Ramesh Inampudi · 2026-11-17 · 4 min read

Flight history tends to scatter. A few trips live in email confirmations, some in a calendar, and some only in memory. Apps that collect it all in one place usually want an account and keep your data on their servers. I wanted a personal view of my own flying that I could open in a browser, with the data staying on my machine. That is why I built Globetrotter.

Why I built it

I like the passport-style view in Flighty: a map, some stats, a sense of where you have been. I wanted something in that spirit that I fully control. My constraints were simple: no backend, no build step, no account. If I can open index.html and it works, I never have to maintain a server or a toolchain for a side project.

What it does

How it works

The stack is vanilla HTML, CSS and JavaScript, plus Leaflet for the map and Esri tiles for the basemap, which need no API key. There are no frameworks, no bundler and no package manager. The code is split into plain script files with clear jobs:

Storage without a server

Flights and settings live in the browser's localStorage. Nothing is sent anywhere. Settings offers a JSON export and import, so a backup is one file. On the first open in a browser with no saved flights, the app seeds itself from seedFlights.js so it does not start empty. After that, everything comes from what I add, edit or import.

Getting durations right across time zones

The add-flight form asks for departure and arrival local times, not just a date. Each airport record carries an IANA timezone, so the app can convert both times and compute the exact duration even when the flight crosses zones. That is why the airport database stores a timezone next to the coordinates. If a code is missing, Settings lets me add a custom airport with its code, name, city, country, coordinates and IANA timezone.

Importing existing history

Typing in every flight by hand would put people off, so the importer accepts a Flighty CSV export, any spreadsheet CSV with From, To and Date columns, or a calendar .ics file. Dates, times, airlines and aircraft are parsed directly. Re-importing updates existing flights instead of duplicating them, which means I can import again later without cleaning up. Unrecognized airport or airline codes are listed after the import so I can fill the gaps.

What I learned

Try it

The app is live at globetrotter.iramesh.com. Because it seeds itself on a fresh browser, you will see a populated map and dashboard straight away. From there you can add a flight, import your own CSV or calendar file, or open Travel Wrapped for a year you have flown. Your data stays in your browser.

Conclusion

Globetrotter started as a wish for a private, Flighty-like view of my own travel. Keeping it to static files and browser storage made it simple to build and easy to run. If you have a side project that handles personal data, consider whether it needs a server at all. For this one, it did not.

Live: https://globetrotter.iramesh.com