You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Keywords:** google location history viewer, google takeout visualization, google maps timeline viewer, google location history map, location history export tool, GPS data visualization, google timeline data explorer
10
+
11
+
---
12
+
13
+
<details>
14
+
<summary><strong>🇬🇧 English summary</strong></summary>
15
+
16
+
MappIt is a privacy-first toolkit for exploring your Google Location History locally:
17
+
18
+
-**Electron desktop app** with interactive map (deck.gl + MapLibre), timeline sidebar, activity filters, area search, and KML/JSON export
19
+
-**Node.js CLI** for headless processing, filtering, and exporting
20
+
-**Core library** (`mappit-core`) usable in your own scripts
21
+
- Auto-detects all Google Takeout location formats (Records.json, Timeline.json standard/semantic/iOS, monthly Semantic Location History files)
22
+
- Filters by date range, bounding box, or activity type
23
+
- Computes stats: distance per activity, monthly summaries, yearly breakdowns
24
+
- Exports to JSON and KML
25
+
26
+
</details>
27
+
28
+
---
2
29
3
30
Strumenti per caricare, filtrare e visualizzare i dati di Google Location History scaricati da Google Takeout.
4
31
@@ -207,7 +234,23 @@ dist/
207
234
-**Vite** v7 come bundler per il renderer
208
235
-**Vanilla TypeScript** per la UI (nessun framework)
209
236
210
-
> La UI mappa e timeline (deck.gl, sidebar, filtri interattivi) è pianificata per la Fase 5. Vedi [ROADMAP.md](ROADMAP.md).
237
+
> L'app include mappa interattiva (deck.gl + MapLibre), sidebar timeline, filtri attività, ricerca luoghi, area search, summary con grafici, e export KML/JSON.
238
+
239
+
### Distribuzione
240
+
241
+
L'app può essere pacchettizzata per Windows, macOS e Linux tramite electron-builder:
242
+
243
+
```bash
244
+
# Build + package per la piattaforma corrente
245
+
npm run dist --workspace=packages/app
246
+
247
+
# Oppure per piattaforme specifiche
248
+
npm run dist:win --workspace=packages/app
249
+
npm run dist:mac --workspace=packages/app
250
+
npm run dist:linux --workspace=packages/app
251
+
```
252
+
253
+
Gli artefatti vengono generati in `packages/app/release/`.
211
254
212
255
---
213
256
@@ -218,11 +261,23 @@ npm run build # build di tutti i package
218
261
npm run test# test di tutti i package
219
262
npm run lint # ESLint su tutti i sorgenti TypeScript
220
263
npm run format # Prettier su tutti i sorgenti TypeScript
221
-
npm run legacy:start # avvia la vecchia app Electron+Plotly (pre-ristrutturazione)
222
264
```
223
265
224
266
---
225
267
268
+
## Documentazione API
269
+
270
+
La documentazione API di `mappit-core` è generata con [TypeDoc](https://typedoc.org/) a partire dai commenti JSDoc nel codice sorgente.
271
+
272
+
```bash
273
+
# Genera la documentazione HTML in packages/core/docs/
274
+
npm run docs --workspace=packages/core
275
+
```
276
+
277
+
Apri `packages/core/docs/index.html` nel browser per consultarla.
278
+
279
+
---
280
+
226
281
## Fixtures di test
227
282
228
283
La cartella `fixtures/` contiene file di esempio per ogni formato, usati dai test unitari:
@@ -246,8 +301,11 @@ mappit-core/
246
301
│ ├── core/ ← mappit-core (libreria + CLI)
247
302
│ │ ├── src/
248
303
│ │ ├── dist/ ← output build (gitignored)
304
+
│ │ ├── docs/ ← documentazione API TypeDoc (gitignored)
305
+
│ │ ├── tests/
249
306
│ │ ├── package.json
250
307
│ │ ├── tsconfig.json
308
+
│ │ ├── typedoc.json
251
309
│ │ └── vitest.config.ts
252
310
│ └── app/ ← mappit-app (Electron)
253
311
│ ├── src/
@@ -260,11 +318,9 @@ mappit-core/
260
318
│ ├── package.json
261
319
│ └── tsconfig.json
262
320
├── fixtures/ ← dati di test per tutti i formati
263
-
├── src/ ← codice legacy (pre-ristrutturazione)
264
-
├── timeline.html ← viewer HTML standalone (pre-ristrutturazione)
0 commit comments