{"id":27239813,"url":"https://github.com/sesh/fitlek","last_synced_at":"2025-04-10T19:14:02.198Z","repository":{"id":45980560,"uuid":"327788304","full_name":"sesh/fitlek","owner":"sesh","description":"Add a randomised workout to Garmin Connect","archived":false,"fork":false,"pushed_at":"2024-02-17T20:52:53.000Z","size":172,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-06T23:25:22.481Z","etag":null,"topics":["garmin-connect","running","workout"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-01-08T03:26:15.000Z","updated_at":"2025-03-30T17:27:31.000Z","dependencies_parsed_at":"2024-02-17T21:46:22.297Z","dependency_job_id":null,"html_url":"https://github.com/sesh/fitlek","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesh%2Ffitlek","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesh%2Ffitlek/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesh%2Ffitlek/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesh%2Ffitlek/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sesh","download_url":"https://codeload.github.com/sesh/fitlek/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248280387,"owners_count":21077412,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["garmin-connect","running","workout"],"created_at":"2025-04-10T19:14:01.541Z","updated_at":"2025-04-10T19:14:02.184Z","avatar_url":"https://github.com/sesh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"`fitlek` adds a randomised Fartlek workout to Garmin Connect for you.\n\nIt'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..\n\n---\n\nIf 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).\n\n---\n\n\n### Usage\n\nThe 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).\n\n```\n\u003e git clone https://github.com/sesh/fitlek.git\n\u003e cd fitlek\n\u003e python3 fitlek.py --duration=30:00 --target-pace=04:00 --username=\"your-garmin-connect-username\" --password=\"your-garmin-connect-password\"\n```\n\nRunning the above should result in a new workout that looks something like this:\n\n![workout](images/workout.png)\n\n\n### Acknowledgements\n\n- 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.\n- 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`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsesh%2Ffitlek","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsesh%2Ffitlek","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsesh%2Ffitlek/lists"}