Live data from Hacker News

Show HN: Workout Tracker – self-hosted, single binary web application

github.com

41–50 of 102 posts

Re: Show HN: Workout Tracker – self-hosted, single binary web application

#41
post #9

This is a great looking project. The combo of single binary Go-lang and the ability to package assets like css, js and html makes this a killed multi platform distributable one click run. It might be an interesting experiment to have the UI be installable as PWA and thereby not need the electron stack to achieve the common functionality offered by these apps.

This would a great candidate for https://wails.io/ . I've been building a lot of utility desktop apps and the static binary is around 9mb (uses the system webview).

I'm also eyeing wails for a couple of personal desktop apps that I want to build soon. I built toy app first towards the end of last year to try it out and I was impressed. It felt like a nice middle ground between Electron and Tauri for desktop apps using a web front-end. Looking forward to the release of v3!

Re: Show HN: Workout Tracker – self-hosted, single binary web application

#42
post #8

Earlier quoted context omitted.

Hole in the market? Maybe a NAS-type system for self host? Something a bit stronger than a raspberry

They tried this with a device called Helm Personal Server. No, not the Kubernetes manager.

Not surprised it failed, $250-400 + $100/year and the only thing it could do was host email, calendar and file sharing?

Re: Show HN: Workout Tracker – self-hosted, single binary web application

#43
post #8
post #6

I love the minor movement toward self-hosted web apps. I wish they were easy enough to setup as installing an app on Android or iPhone.

Hole in the market? Maybe a NAS-type system for self host? Something a bit stronger than a raspberry

There's Umbrel which sells a device like that, or YunoHost + your own device

Umbrel is just plug-and-play with an app store, haven't personally tried it but looks very cool.

Re: Show HN: Workout Tracker – self-hosted, single binary web application

#44
post #6

I love the minor movement toward self-hosted web apps. I wish they were easy enough to setup as installing an app on Android or iPhone.

I think a good question to ask is, what is gained here by being a web app? Couldn't this just be an Android or iPhone (or even desktop!) app?

Re: Show HN: Workout Tracker – self-hosted, single binary web application

#45
post #6

I love the minor movement toward self-hosted web apps. I wish they were easy enough to setup as installing an app on Android or iPhone.

I think a good question to ask is, what is gained here by being a web app? Couldn't this just be an Android or iPhone (or even desktop!) app?

I can access it from any of my devices (laptops, desktop, phone), and my family can use it too.

Re: Show HN: Workout Tracker – self-hosted, single binary web application

#46
post #30
post #25

By "Workout" do mean only exercise that can be tracked via GPS (walking, running, cycling)? It doesn't seem to track any indoor activities like weight lifting.

Yeah. I was also gleefully looking cause lifting trackers are universally garbage. Diet trackers (Calorie Counters) are also almost universally a pain in the ass, but at least they’re tolerable. There is not a single combined lifestyle experience that is any “good” IMO.

I've only been using it since I saw it recommended a few weeks ago, but for Hacker's Diet[RIP, 0]-style diet tracking MacroFactor has been unbeatable. Nothing dumb or meaninglessly social, just weight+nutrition tracking. In recognition that humans are imperfect and that both sides of CI/CO are more complicated than is apparent, they have built the system around a "best effort" vibe; systematic bias gets filtered out through feedback (if you regularly underestimate the calories you actually eat, the system will feed back by lowering your limits).

[0] https://www.fourmilab.ch/hackdiet/

Re: Show HN: Workout Tracker – self-hosted, single binary web application

#48
post #6

I love the minor movement toward self-hosted web apps. I wish they were easy enough to setup as installing an app on Android or iPhone.

I think a good question to ask is, what is gained here by being a web app? Couldn't this just be an Android or iPhone (or even desktop!) app?

Web app = Always on. No interruption from power outages or wifi problems. Higher bandwidth and more anonymous (if it's going to make requests).

Virtual android device in the cloud might be a great model for it since Android has good built-in security and process isolation.

Re: Show HN: Workout Tracker – self-hosted, single binary web application

#49
post #6

I love the minor movement toward self-hosted web apps. I wish they were easy enough to setup as installing an app on Android or iPhone.

That was the promise of Sandstorm. "Easy to install" is important but sandboxing and data protection _even of the data you give the app itself_ is just as important. I really hope it or something like it succeeds someday.

Edit: this app would probably make for a great Sandstorm app.

Re: Show HN: Workout Tracker – self-hosted, single binary web application

#50
post #30

Earlier quoted context omitted.

Yeah. I was also gleefully looking cause lifting trackers are universally garbage. Diet trackers (Calorie Counters) are also almost universally a pain in the ass, but at least they’re tolerable. There is not a single combined lifestyle experience that is any “good” IMO.

I've only been using it since I saw it recommended a few weeks ago, but for Hacker's Diet[RIP, 0]-style diet tracking MacroFactor has been unbeatable. Nothing dumb or meaninglessly social, just weight+nutrition tracking. In recognition that humans are imperfect and that both sides of CI/CO are more complicated than is apparent, they have built the system around a "best effort" vibe; systematic bias gets filtered out…

CI/CO is what I used to lose weight (back to normal BMI as of today, actually).

I won’t lie and say it was “easy”. I had to make real changes, and some were not easy for me (cheese. Peanuts…). But after I bought a scale and weighed my portions, it was readily apparent what was wrong for me.

The other things most “experts” (who are trying to sell you their brand of dieting) will sell you about CICO not being “everything” is that some food are awkward. Like celery, which has 5 calories uncooked, 30 cooked.

Ultimately, as long as you are weighing your portions, those oddities should generally not be “breaking” a CICO diet.

I appreciate this other suggestion, for the app. I will check it out.

Post reply on HN