This is a tool for working with my tourenbuch
.
Tourenbuch
is a digital & printed log book of my personal outdoor sports activities.
Each activity consists of gpx tracks, map, stats, plotted elevation graphs and an
overall summary.
This CLI helps me to interact with it. Until i release more information about my (private) Tourenbuch, it's probabaly not useful for anyone.
See the example of an activity page below:
tourenbuchctl new mtb <directory.name> -d <dd.mm.YYYY> -t "<activity.title>"
tourenbuchctl new mtb transalp-2013/<directory.name> -d <dd.mm.YYYY> -t '<activity.title>' -m -c "<participants>" -y <descent.difficulty> -r <rating.in.stars>
Activity stats like distance or climbed elevation get queried from strava and parsed in the Tourenbuch.
Go-swagger is incompatible with 3.x api defintion of strava...
And strava declared their current 3.x api incompatible with swaggerv3. I played
around with different 2.x
releases, which in fact generated a different codebase.
I struggled with swagger-codegen-cli-v3:3.0.58
on the ActivitiesApiUpdateActivityByIdOpts
,
switching to 2.4.43
solved the problem, though generated a wrong model_lat_long.go
, which i
had to patch.
Refer to the Makefile for the current swagger build.