Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shawntabrizi/google-timeline-country-parser
Parse your Google Maps Timeline to track your days in different countries.
https://github.com/shawntabrizi/google-timeline-country-parser
Last synced: 4 days ago
JSON representation
Parse your Google Maps Timeline to track your days in different countries.
- Host: GitHub
- URL: https://github.com/shawntabrizi/google-timeline-country-parser
- Owner: shawntabrizi
- License: mit
- Created: 2022-03-24T03:40:20.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-15T15:02:57.000Z (4 months ago)
- Last Synced: 2024-07-15T18:14:56.960Z (4 months ago)
- Language: JavaScript
- Size: 20.5 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Google Timeline: Country Parser
This project parses the location history information from your [Google Takeout](https://takeout.google.com/settings/takeout).
Make sure your directory looks something like:
```
google-timeline-country-parser/
├─ README.md
├─ index.js
├─ Takeout/
│ ├─ Location History/
│ ├─ Records.json
| ├─ Settings.json
│ ├─ 201X/
│ ├─ 201X_JANUARY.json
│ ├─ 201X_FEBRUARY.json
│ ├─ 201X_MARCH.json
│ ├─ ...
│ ├─ 202X/
│ ├─ ...
├─ ...
```This should just be moving the Takeout history into the root folder.
Then just run:
```sh
yarn
yarn start
```Where year is one (or more) of the years in your `Location History` folder.
Output should look something like:
```sh
> yarn start 2021Missing: 2021-01-01
{
'Puerto Rico': 252,
'United States of America': 34,
Sweden: 30,
Germany: 16,
Portugal: 14,
'United Kingdom': 4,
'Republic of Serbia': 1,
Spain: 12
}
Total Days: 364
```