8 ms·
Endurain: Self-hosted Strava like service
- nicoco 3y agoI like the idea but the README is lacking screenshots. Also, I think it would make sense to base this on XMPP or ActivityPub, for federation and interop with other services.
- deleted 3y ago[deleted]
- cedilla 3y agoFor anyone else wondering: Strava is a tool helping cyclists, runners etc with tracking and routes (or so)
- ReleaseCandidat 3y agoThe actual purpose of Strava is to compare your time with that of others. Or at least to show off your activities. Especially the free version is (nowadays, 10 years ago when I really used it that wasn't a problém) lacking features to be a useful training (tracking/logging) tool on it's own.
- pflenker 3y agoThat might be true for many, but it is surely not true for everyone. The progression analysis across multiple activities, or the heart rate analysis of each individual activity, are immensely useful tools on their own.
- ReleaseCandidat 3y agoThis has been true 10 years ago, nowadays the free version is just about useless for training tracking purposes.
- iamacyborg 3y agoI suspect most folks are getting that data from their watch provider now rather than from Strava.
- lmm 3y agoWhy would you do that and get locked into that provider's ecosystem? Everyone I know ignores their watch provider's system as soon as they figure out how to make it sync to Strava.
- jraph 3y agoAnd Strava is actually a social network. It's not only your own runs. You see your friends running and which runs they made. It must be a privacy (and security? You're specifically telling people "hey, I'm not home right now and I'm not back before N minutes" [edit: apparently not quite true, see comments below]) nightmare. And it's prone to the network effect, because now, people expect and want to see what their friends are up to and motivate each others. During a job interview, I was once asked "oh, but you don't actually run too much, right?" (I had this in my resume). Which was somewhat right, I only occasionally run. I asked why they assumed this. "You are not on Strava!" Ah, yes, but for different reasons xD. I have played with the ForRunners app on F-Droid in the past to track my runs locally. I liked it, but I'm not disciplined enough for this stuff, and don't even have a smartphone usable for this anymore. So now, I just run without knowing anything and that's fine.
- Cockbrand 3y agoThere's no realtime tracking, the activities are uploaded to Strava after finishing them. It can become a potential security issue if you upload activities from far away from home.
- constantly 3y agoIt does have a real time tracking feature. I don’t use it, I use the built in Garmin. But you can enable this and anyone following you can see your activity in real time. I find the bigger security issue is recording close to home, so people can theoretically see where you live and know what sort of expensive sports equipment you might have. https://road.cc/content/news/248798-cyclist-who-had-five-bikes-stolen-says-thieves-are-looking-quick-times-strava https://road.cc/content/news/248798-cyclist-who-had-five-bik...
- speedgoose 3y agoPeople publishing an online catalog of fancy sport equipment for thieves isn’t good indeed. I find military people running around infrastructures in secret military bases a bigger strava security issue.
- deleted 3y ago[deleted]
- v3ss0n 3y ago[flagged]
- rizky05 3y ago[dead]
- deleted 3y ago[deleted]
- pflenker 3y agoOne thing is missing and can’t be done with a web app, and that is automatic tracking of activities recorded by smart watches. The work around here seems to be auto-importing them to Strava and connecting Strava to Endurain.
- Xylakant 3y agoOne path forward could be integration into RunGap which integrates with tons of services.
- tcmb 3y agoWait, the smartwatches don't upload activities directly to Strava, do they? They connect to their manufacturer's cloud service (Garmin Connect etc), and Strava has API integrations with them, doesn't it? So what's missing are the integrations from Endurain to the big manufacturers' platforms (if they are missing, haven't checked the code).
- navanchauhan 3y agoNot sure about others, but for Apple Watches: Apple Watch -> Health App <- Strava Strava can directly import workouts from the health app if you don’t like using their app to record your workouts
- heavenlyblue 3y agoI don't think that's how Strava on Apple Watch works
- dwrowe 3y agoIt works like this if you're simply using the Apple Workouts app on your watch, instead of the Strava app. If you use the Strava app, it'll upload directly, as well as, write to your Health data. If you use Apple Workouts, it'll detect the workout for Import (if you don't automatically import), and read that from Health.
- 3y ago
- Lio 3y agoGreat name. I take it it’s a play on the word endurance and the name of the great Spanish cycling champion Miguel Induráin. https://en.m.wikipedia.org/wiki/Miguel_Indur%C3%A1in https://en.m.wikipedia.org/wiki/Miguel_Indur%C3%A1in
- comprev 3y agoOr if you live in Ireland - "endure the rain" - because we have no other choice /s
- Lio 3y agoReminds me of childhood holidays in county Wexford. We’d always be told it’d been constant sunshine the week before… as we stared out the window at the driving rain. Wexford’s ace though so we never really minded. ;)
- constantly 3y agoWorks for Seattle too :)
- toyg 3y agoBest of the best at a time when almost everyone was doping like mad. Worked with EPO pioneer Dr. Conconi. He was never caught but chances are he wasn't clean.
- 4ndrewl 3y agoIstr he was also some sort of physiological freak - huge lung capacity combined with a ridiculously low resting heart rate. Won all his tours by hammering out huge TT leads that were unassailable in the the mountain stages.
- mft_ 3y agoI don't want start a doping argument on HN, and I don't dispute what you've written, but a very low heart rate can be a result of EPO usage. There's an interesting account in (IIRC) Pantani's biography of riders having to sleep with heart rate monitors. An alarm would trigger if their HR dropped into a dangerous territory, whereupon they'd wake up and have to jump on a bike (which would already be set up on a trainer) in their room to bring their HR back up again.
- folli 3y agoAlso, check out https://github.com/r-follador/cubetrek https://github.com/r-follador/cubetrek Not yet ready for self-hosting as there's a tangle of dependencies, but working on it... The managed version is available on https://cubetrek.com https://cubetrek.com
- notnmeyer 3y agothis looks very cool!
- folli 3y agoThanks!!
- mft_ 3y agoHa, funny - I was playing with a slightly similar idea (3d plotting of Strava segments) a while back too. Congratulations of getting (far) beyond the ratty-Python-script-PoC stage :)
- deleted 3y ago[deleted]
- tarasglek 3y agoThat is the coolest thing I've seen for hike visualization. Uploaded one: https://cubetrek.com/view/199784 https://cubetrek.com/view/199784
- janwillemb 3y ago> I'm not a developer by profession (my dev concepts are from university ten years ago) so this work had a lot of help from ChatGPT and the main purpose was to learn new technologies and new concepts, so please be gentle. If you have recommendations for any topic please let me know. Well done, then, to have created such a seemingly complete system. I don't know if you are the original developer, but aren't you afraid to have made mistakes that will bite you later? Such as security stuff or other errors that will be hard to correct.
- denysvitali 3y ago[flagged]
- flipgimble 3y agoNot the op or the author but any and all developers will make mistakes. Experience just moves the threshold of obvious mistakes into less obvious ones. What’s impressive is that the author built a system and presumably opened it to community feedback which could potentially lead to better result than an experience developer working in solitude and worry over security for years. I appreciate the honest disclaimer at the top as well. On teams I work on I usually socialize the ideas that it’s not mistakes that matter, but the speed of discovery and fixing that is important. Then it’s important to establish self-enforcing systems that make sure they never happen again. That is linters, unit tests, type systems, CI/CD etc. I jokingly call this humility-based development.
- boplicity 3y agoI've been an amateur programmer for a long, long time. I've never had the time to really get fluent in coding. (I'm the type of coder who can lose an hour to stupid typos and similar bugs that should be easy to spot.) I use ChatGPT to help with projects, generate code, point out problems with my code, etc. It usually gets more "edge cases" figured out than I would without it, especially for implementing common functions. I also ask it to plug security holes in my code, and again, it does better than I would without it. Just yesterday, it gave me seven different strategies for dealing with bots filling out forms. I implemented a couple in just a few minutes, and the bot problem immediately stopped. Will mistakes happen? Of course -- but AI tools can help prevent them, especially when combined with one's own critical thinking. (I often correct the AI, ask for assistance in terms of preventing specific types of problems, or use prompts based on my own pre-existing knowledge, which then gets better answers than I would get otherwise.)
- arcza 3y agoAgree with others. Need screenshots in the readme.
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- _8j50 3y agoI have no idea what strava is, perhaps a sentence describing what it is without mentioning the competition and forcing people to google strava would be nice at the top of the readme and/or title?
- InCityDreams 3y agoA lot of my fun on hn is learning new stuff. I often have to searchx various things - just because I didn't know about them previously. It's the same on reddit, even on topics i (supposedly) know about and follow. Nb - if you're into sports and fitness tracking, take a look at http://intervals.icu http://intervals.icu - great for fitness, but also a geeks dream. And a Ux with A1++ customer service to die for!
- BytesAndGears 3y agoAnother giant recommendation from me on intervals.icu ! I have hundreds of workouts to pick from in there across swim/bike/run, and used the site to plan out all of my training for an Ironman 70.3 (and also for some upcoming races next year). It is phenomenal for planning out your training if you want to do any sort of endurance sports racing. The developer is awesome, and provides almost all features for free. He even added a swimming feature that I needed with like a 1-2 day turnaround, which was incredible. The “premium” version is only $3/mo which I gladly pay just to support the service. It’s not open source but honestly that’s fine, the developer has built a very feature-complete platform. But it would be really cool to have the source…
- _8j50 3y agoMy whole point was to help readers learn new stuff. Until just now I didn't google it because I thought it was random noise that isn't interesting to me, my assumption was that it was some random new front end js stuff. I won't google the competition of every post on hn to find out what it is about. Why are you/others supporting bad marketing/presentation? Instead of "like strava" 20 times all over, at least once say "a running, cycling and hiking app like strava". To me, this project just tells me to just go ahead and use strava, they are merely a fan clone.
- poisonborz 3y agoGrats for the idea and the execution, but if I understand it correctly this is better described as a selfhosted frontend for Strava data? So not selfhosted Strava service, but a UI that still needs the cloud service and account. This should be clarified upfront.
- ruune 3y agoI haven't tried it, but I understand the Strava integration as optional. You can source your data from Strava and then use it on its own. Might've misunderstood the readme though
- otteromkram 3y agoYou can move Dockerfiles into the backend/frontend folder to keep them contained. Or, make a docker folder and specify context with dot-separated prefixes[0]. Update compose file accordingly. [0] https://docs.docker.com/build/building/context/#filename-and-location https://docs.docker.com/build/building/context/#filename-and...
- divyenduz 3y agoOh nice, also check out https://github.com/divyenduz/trackfootball.app https://github.com/divyenduz/trackfootball.app It is like Strava for Football (gets data using Strava OAuth). Open source, but docs aren't simply there yet for host-ability! Also, don't want to hijack your post, but some people might be interested in a football variant! Will defn try Endurain soon
- deleted 3y ago[deleted]
- ImPleadThe5th 3y agoThis is more like an alternative frontend with backup right? Because you still have to give your data to Strava before it gets to this tool?
- simmschi 3y agoLooks like it. Which is a problem, because the Strava API Agreement (https://www.strava.com/legal/api https://www.strava.com/legal/api) specifically prohibits you from replicating features that Strava has.
- williamscales 3y agoDoes this integrate with the Fediverse? The social network aspect of Strava is the primary reason I use it. Garmin Connect has better analysis tools (than Strava to be clear, not Endurain, I've not tried it)
- justinwp 3y agoYeah, I want a FOSS activity pub version of Strava.
- rcMgD2BwE72F 3y agoHow could it be used with mobile tools like Gadgetbridge[0]? This app allows to bypass the proprietary apps for smartwatches and avoid having to upload your health and location data to commercial services. But it does not support Garmin's main sport watches but only gadgets[1]. So one has to connect the watch via USB to transfer tracks and access them on a computer (no mobile support). [0] https://f-droid.org/en/packages/nodomain.freeyourgadget.gadgetbridge https://f-droid.org/en/packages/nodomain.freeyourgadget.gadg... [1] https://gadgetbridge.org/gadgets/ https://gadgetbridge.org/gadgets/
- mac-attack 3y agoThanks for sharing. I was not aware of this
- vocram 3y agoI think the killer application of Strava is segments. Even without caring about being the quickest of all users (aka getting KOMs), I find it valuable to be able to compare my progress on a specific piece of road over time. Paired with your heart rate and perceived effort it allows you to gauge how fit you currently are - or how far you are from your peak form.
- nightski 3y agoIt's a cool feature no doubt, but they really lean on that hard to make you want to pay $80/year.
- Aurornis 3y ago$80/year isn’t much in the context of most sports that people use Strava for. I can see how casual, frugal runners might be put off by $80/year, but casual users aren’t the target audience for competitive apps. I’m amazed at how many people will buy $10,000 bikes and wear $600 of specialized gear and then scoff at paying $80 for a service that tracks exactly what they want.
- dfc 3y agoI cancelled my subscription before the price hike. I agree it's not a lot of money but it also was not a lot of value. I think the criteria should be about how much value something provides. As a runner, that was not interested in any of the social functionality, I didn't really get anything out of strava that was not already in Garmin. What are the "tracks exactly what you want" feature(s) in strava for you?
- notnmeyer 3y agoi think you’re looking at it wrong if all you consider are the bare numbers. someone may find enough _value_ in an expensive bike and expensive gear and not enough value in strava’s paid features. value is subjective, right? in the mtb community at least it’s not uncommon for someone with a $6k bike to be driving a $3k car and wearing street clothes. i find it very easy to imagine people stretching financially for expensive bikes and then cutting costs by cancelling strava.
- lopkeny12ko 3y agoIf you want this to be more compelling to potential users, you need a live demo, or at very minimum, some screenshots. Especially as this is primarily just a frontend into an existing service.
- deleted 3y ago[deleted]
- charles_f 3y agoShameless plug for a very scrapy alternative I made to Strava, except that you don't need Strava at all - https://github.com/cfe84/gpx-tools/blob/main/README.md https://github.com/cfe84/gpx-tools/blob/main/README.md It's a cli command that you run on a folder with gpx traces, with segments you define yourself in a json file, then it allows you to list performance by segments. I use it with OsmAnd to record activities, foldersync to synchronize through syncthing, then run on the target folder. You can look at the logic to calculate segments. I don't pretend that it's great, but that could be a nice addition to your server.
- deleted 3y ago[deleted]
- mac-attack 3y agoThanks for sharing. Starred it for a rainy day
- ck2 3y agoIt's a shame Runalyze is no longer open-source but the old version is still there https://github.com/Runalyze/Runalyze https://github.com/Runalyze/Runalyze
- mikabasketball 3y agoA good alternative I use is https://www.goldencheetah.org/ https://www.goldencheetah.org/, open source, and you don't need Strava/Garmin/etc...
- c0nsumer 3y agoOutside of the basics of analysis, Golden Cheetah is nothing like Strava. Strava is a social network, map-based ride reviewer, heatmap tool, and basic ride analysis tool. GC is a not-great map viewer and VERY deep ride data dive tool for training. A venn diagram for the two would only overlap by about 15%.
- mattlondon 3y agoPersonally I find the "social" aspect of Strava off-putting. Running for me has always been a solitary pursuit. Making it "social" and letting you know that BigDave69 ran that segment faster than you or whatever totally jars with the whole ethos for me.
- c0nsumer 3y agoThat's actually my least favorite part as well. I like being able to see what friends did and use that info for routing, but I have to be careful. If I start flipping through the feed on a day (or week) when I'm not riding I'll start to feel like I'm not living up to some expectation. Mentally that's very, very unhealthy.
- deleted 3y ago[deleted]
- zsteinkamp 3y ago[dead]
- ozfive 3y agoWhy not just submit your project to Hacker News yourself in it's own thread? Whenever I come across these sorts of posts I think exactly what you say in your first sentence.
- zsteinkamp 3y agoI'll look into it. Never created a thread (and maybe this is my fourth comment :).
- rashidae 3y agoCongrats! Loved the initiative. There’s a lot of potential in the compounding effect of recording usable biometric data.
- wingworks 3y agoAny screenshots of the UI?
- mbesto 3y agoI've been slowly moving towards https://intervals.icu/ https://intervals.icu/ which is kinda "open source" since its donation based. Way better than Strava.
- throwuxiytayq 3y ago> which is kinda "open source" since its donation based what does that even mean
- biscuitech 3y agoDoesn't mean anything, honestly. Strava is also donation based if you think hard enough.
- mbesto 3y agoI should have clarified... I wrote my comment too quickly. The code isn't open source afaik, however the service is completely free and donation based.
- Karellen 3y agoI couldn't find a link to the source code on the site though? Where should I be looking?
- francoispon 3y agobut that's different, strava is more like a social platform, intervals.icu is more about a training and progress platform. I enjoy strava just because the people on there (my friends and family) motivate me, not because I like to get bigger power/hr numbers
- null4bl3 3y agoI have noticed this tendency in development, where creators write some open alternative to a service, but nowhere in their README have any description of what the alternative they are providing actually does. So if you don't know the product or service it is an alternative to, you are just out of luck. I wonder if it is intentional, or just devs being to deep into deving