https://github.com/flopp/tracks
A static map of your FIT/GPX tracks
https://github.com/flopp/tracks
Last synced: 10 months ago
JSON representation
A static map of your FIT/GPX tracks
- Host: GitHub
- URL: https://github.com/flopp/tracks
- Owner: flopp
- License: mit
- Created: 2019-01-14T17:26:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-31T22:05:42.000Z (over 2 years ago)
- Last Synced: 2025-02-10T14:14:16.085Z (over 1 year ago)
- Language: Python
- Size: 33.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# tracks
A static generator for a single-page, map-based website showing your activities from Garmin Connect.
Demo site: https://tracks.flopp.net/
## Install
```
git clone --recurse-submodules https://github.com/flopp/tracks.git
cd tracks
# setup python
python3.6 -m venv venv
venv/bin/pip install --upgrade pip
venv/bin/pip install -r requirements.txt
```
## Run
```
GARMIN_ACCOUNT='my-garmin-account'
GARMIN_PASSWORD='my-garmin-password'
venv/bin/python main.py --sync --export-dir my-export-dir
```
This may take a while (especially on the first run), since all (new) activities are fetched from Garmin Connect.
## Used Third-Party Stuff
- https://github.com/petergardfjall/garminexport
- https://github.com/dtcooper/python-fitparse
- https://github.com/tkrajina/gpxpy
- https://github.com/geopy/geopy
## License
Copyright 2018, 2019 Florian Pigorsch & Contributors. All rights reserved.
Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.