Docs: architecture and data flows

How data gets in (import_path, per-source importers, watch, Garmin API), the library layout and
database, time zones, de-duplication, dashboard build, exports, the app window and the installer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-17 15:58:44 +02:00
parent 39ce4e73a0
commit c6a1eb199d
2 changed files with 273 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ mygarmin update D:\myGarmin # all of the above + build + export
| Races | Optional `races.csv` in the library: `date,event,time[,km,age_grade,position,pb]` (km defaults to 5). |
## How it works
The full picture (data flows, database, de-duplication, dashboard, exports) is in [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md). In short:
- Originals are copied unchanged into `<library>/originals/`; the SQLite database `myGarmin.db` and everything else can
be rebuilt from them. Importing the same file twice does nothing.
- One outing recorded by several sources (watch, phone, Strava) is kept once, preferring the watch.