This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I made ChatGPT to generate me Garmin Connect indoor rowing workout plan

Hello everyone, I am a software engineer/hacker, semi-pro runner, avid amateur rower. Did masters in ML, but got out of the game. I spent some time (well an hour) today, playing with ChatGPT-3.5 to figure whether it can make workout plans for rowing which make sense.

Yes it can. Really well. With a right prompt it gives also machine readable output. Next step was obvious: integrate this with Garmin Connect to have structurized workouts on your watch.

The demo at [0] shows "get me a 2h steady state working out plan with some intervals", but much more are possible:

- I want to watch NF for 30 minutes, can you get me an easy workout, - Make me a pyramid interval schedule, - Make 3h steady state plan.

It's made with love, 4 beers and 4 hours. I don't know JS much, so the TamperMonkey code is not great. Also Garmin Connect uses some React/Angular mambo-jumbo and weirdly intercepts textarea events (cannot write to them with jQuery). But it works. Easy. My life is nicer now.

Cheers, A.

Note: I'm not affiliated with Garmin Connect or OpenAI, this work is purely reverse engineering.

Note2: You need OpenAI API token and Tampermonkey extension for your browser.

[0]: https://www.youtube.com/watch?v=kXsNu6jKhF0

[1]: https://gist.github.com/alfanick/3ecac79f9590bae6819e410c33878774