https://github.com/inv2004/strava_nim
automatic training diary from strava
https://github.com/inv2004/strava_nim
Last synced: 16 days ago
JSON representation
automatic training diary from strava
- Host: GitHub
- URL: https://github.com/inv2004/strava_nim
- Owner: inv2004
- License: apache-2.0
- Created: 2020-02-05T21:54:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-17T10:17:52.000Z (almost 2 years ago)
- Last Synced: 2025-10-30T03:49:06.007Z (8 months ago)
- Language: Nim
- Size: 1.55 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Replaced with https://github.com/inv2004/intervals_nim
### Automatic training diary from strava
The draft version is able to:
- [x] Starts http server to redirect into google and strava auth's
- [x] Request google email and spreadsheet access
- [x] Requests strava activities access
- [x] Stores tokens locally
- [x] Refresh token after expiration
- [x] Find current date plan from spreadsheet
- [x] Download watts stream from strava
- [x] Find best intervals for the mentioned plan
- [x] Store result into spreadsheet
- [x] Process for all stored users
### Build
For muls static
```shell
nimble.exe static
```
### First run
```shell
> .\strava_nim.exe --reg
[01:54:03] - INFO: Browser to the http://localhost:8090 for registration
```
testdb.db contains jsons with tokens
### Normal run
```shell
> .\strava_nim.exe
```
### Tests
```shell
> nimble.exe test
```