Oddbean new post about | logout
 Motivated to revisit a Strava alternative for nostr. I think it can be achieved with DVMs and file storage. 

Haven't thought too deeply about this, but let's say everything starts with a GPX file. You upload this note and it has your metadata for the activity (like a Strava post) and a location where the gpx file can be retrieved. 

Then you have a number of DVMs that can perform analysis on this file. Anything from really basic things (like elevation and HR analysis) to complex features that stava has (matched runs, segments, etc)

I think using something like a geohash would enable segments and matched runs quite easily. You can start to see similar activities in your area. 

Pair it with something like npub.pro and you have your own Strava like blog.

#running #strava 
 Python has a number of great libraries for analyzing GPX / geojson files. I think these could be the DVMs operating on the gpx files. 
 Would love tosee this. ZombieTrackerGPS is what I use (FOSS)

A huge drawback is lots of data is lost. Just a GPX file misses steps and indoor workouts etc. 
 Yes totally. I think gpx is an easy spot to start, but pulling in more watch data than gpx would be sweet. 

I also think the ability to share segments would be awesome. I'm thinking there could be a few new note kinds to facilitate something like this. E.g. Routes, Segments, Activities 
 I haven't got the time to get into it u fortunately. Would forward all zaps to whoever builds this though. 
 I started building something like this when I first heard about nostr 
https://github.com/ebrakke/nostr-ava