https://github.com/sesh/fitlek
Add a randomised workout to Garmin Connect
https://github.com/sesh/fitlek
garmin-connect running workout
Last synced: 6 months ago
JSON representation
Add a randomised workout to Garmin Connect
- Host: GitHub
- URL: https://github.com/sesh/fitlek
- Owner: sesh
- Created: 2021-01-08T03:26:15.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-17T20:52:53.000Z (over 1 year ago)
- Last Synced: 2025-04-06T23:25:22.481Z (6 months ago)
- Topics: garmin-connect, running, workout
- Language: Python
- Homepage:
- Size: 168 KB
- Stars: 6
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
`fitlek` adds a randomised Fartlek workout to Garmin Connect for you.
It's called `FITlek` because the original intention was to create a `.fit` file that you could upload directly to your watch. That might still happen but going directly to Garmin is working for me right now..
---
If you just want to give this a go, check out [Run Randomly](https://runrandomly.com)! That's a hosted version of this script with support for downloading FIT files and syncing to [Intervals](https://intervals.icu).
---
### Usage
The easiest way to create a new workout for yourself if to clone the repo and run the script. There are no requirements other than a modern version of Python 3 (tested with 3.8).
```
> git clone https://github.com/sesh/fitlek.git
> cd fitlek
> python3 fitlek.py --duration=30:00 --target-pace=04:00 --username="your-garmin-connect-username" --password="your-garmin-connect-password"
```Running the above should result in a new workout that looks something like this:

### Acknowledgements
- The login to Garmin Connect is heavily copied from [petergardfjall/garminexport](https://github.com/petergardfjall/garminexport). There's lots of great work in that project, definitely worth checking out if you're interested in working with Garmin Connect.
- Some details about the Workouts format were taken from [mgifos/quick-plan](https://github.com/mgifos/quick-plan/). If I'm inspired to work on this project more I expect it to start looking more like `quick-plan`.