Local-first means the database is on the device
A local-first app stores the record on the device first and treats the cloud as optional. PilotRegain uses SQLite in a worker with OPFS in the browser. The logbook survives a reload and does not need an account.
If OPFS is unavailable, the app falls back to memory and warns that the tab's data will be lost. That warning is important: “offline” should never mean “temporary without telling you”.
What works in Airplane Mode
- Opening the logbook and editing a flight.
- Searching flights, aircraft, people and the committed airport pack.
- Importing a local file and reviewing a batch.
- Exporting CSV, JSON and SQL.
- Printing a report to PDF.
- Using the offline calculators.
- Replaying terrain you have already cached.
What needs a connection: uncached terrain and imagery, cloud attachments, live traffic and weather lookups, and sync.
Offline is not a backup
A local database survives a reload. It does not survive clearing site data, a lost device or a browser profile reset. Make a downloaded backup and keep it somewhere else.
PilotRegain offers a plain JSON/SQL export, an optional encrypted backup and daily local snapshots. The downloaded file is the copy that survives clearing the browser.
Install it, but verify it
Installable web apps are convenient. After installing, test the basics with the network off: open the app, add a flight, search, export. Then close and reopen it. If the record is still there, the local storage is doing its job.
See the offline feature page.
Frequently asked questions
Does the logbook work with no internet?
Yes. The core logbook, imports, exports, search, print and calculators run locally. Some extras need a connection.
What happens if I clear my browser data?
The local database is removed. A downloaded backup or restored snapshot is how you recover. Keep one outside the browser.