forked from aspain/git-sweaty
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
100 lines (93 loc) · 2.46 KB
/
config.yaml
File metadata and controls
100 lines (93 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Base configuration. Put secrets in config.local.yaml (ignored by git).
source: "strava" # "strava" or "garmin"
strava:
client_id: ""
client_secret: ""
refresh_token: ""
profile_url: "" # optional dashboard header profile link
include_activity_urls: false # when true, tooltip details can show links to individual Strava activities
garmin:
token_store_b64: ""
email: ""
password: ""
profile_url: "" # optional dashboard header profile link
include_activity_urls: false # when true, tooltip details can show links to individual Garmin activities
strict_token_only: false # when true, only token_store_b64 is used (no email/password fallback)
sync:
# Optional history limits:
# start_date: "2019-01-01" # YYYY-MM-DD lower bound
# lookback_years: 5 # ignored when start_date is set
recent_days: 7
resume_backfill: true
per_page: 200
prune_deleted: false
rate_limits:
overall_15_min: 200
overall_daily: 2000
read_15_min: 100
read_daily: 1000
safety_buffer: 2
min_interval_seconds: 10
activities:
types:
- AlpineSki
- BackcountrySki
- Badminton
- Canoeing
- Crossfit
- EBikeRide
- Elliptical
- EMountainBikeRide
- Golf
- GravelRide
- Handcycle
- HighIntensityIntervalTraining
- Hike
- IceSkate
- InlineSkate
- Kayaking
- Kitesurf
- MountainBikeRide
- NordicSki
- Pickleball
- Pilates
- Racquetball
- Ride
- RockClimbing
- RollerSki
- Rowing
- Run
- Sail
- Skateboard
- Snowboard
- Snowshoe
- Soccer
- Squash
- StairStepper
- StandUpPaddling
- Surfing
- Swim
- TableTennis
- Tennis
- TrailRun
- Velomobile
- VirtualRide
- VirtualRow
- VirtualRun
- Walk
- WeightTraining
- Wheelchair
- Windsurf
- Workout
- Yoga
include_all_types: true # include all observed activity types by default
exclude_types: [] # optional explicit exclusions while still allowing new sport types
group_other_types: false # when false, keep raw source activity names as-is
other_bucket: OtherSports # fallback bucket for unknown activity categories
group_aliases: {} # optional explicit group overrides, e.g. {SkiErg: WinterSports}
type_aliases: {} # optional explicit remaps; keep empty for exact source naming
units:
distance: "mi" # "mi" or "km"
elevation: "ft" # "ft" or "m"
heatmaps:
week_start: "sunday" # "sunday" or "monday"