Sets the description of all of your activities within five days (or until your last one with a description) to a generated llama3.1 quote. Sometimes some beautiful things come out 😄

Follow the first section of this tutorial.
Download Ollama.
Run ollama run llama3.1
Run ollama serve
Uncomment this code:
url = client.authorization_url(client_id=MY_STRAVA_CLIENT_ID, redirect_uri='http://127.0.0.1:5000/authorization',
scope=['read_all', 'profile:read_all', 'activity:read_all', 'profile:write',
'activity:write'])
print(url)
CODE = 'xxxxxxxxxxxxxxxxxxxxxxxxx'
access_token = client.exchange_code_for_token(client_id=xxxxx,
client_secret="xxxxxxxxxxxxxxx", code=CODE)
with open('./access_token.pickle', 'wb') as f:
pickle.dump(access_token, f)
Then run the program once, open the url and authorize. After that, put in your id and secret and the code is in the tutorial.
Comment out the code and you're good. I use crontab to run the program every hour.
Independently developed by Jackson Hickey. Licensed under the GNU General Public License v3.0.