/strava_nim

automatic training diary from strava

Primary LanguageNimApache License 2.0Apache-2.0

Automatic training diary from strava

The draft version is able to:

  • Starts http server to redirect into google and strava auth's
  • Request google email and spreadsheet access
  • Requests strava activities access
  • Stores tokens locally
  • Refresh token after expiration
  • Find current date plan from spreadsheet
  • Download watts stream from strava
  • Find best intervals for the mentioned plan
  • Store result into spreadsheet
  • Process for all stored users

Build

For muls static

nimble.exe static

First run

> .\strava_nim.exe --reg
[01:54:03] - INFO: Browser to the http://localhost:8090 for registration

testdb.db contains jsons with tokens

Normal run

> .\strava_nim.exe

Tests

> nimble.exe test