208

Many of my friends use calorie trackers like Lose it! or MyFitnessPal. And I've heard many complaints about them locking basic functionality behind a subscription. The straw that broke the camel's back was not allowing barcode scanning without a sub. I've been looking for a meaty, pun intended, side project to pick up and decided to try to do some good while saving some people money!

  • Built using Tauri in order to use Angular for the GUI and get mobile platform support.

  • Data is stored on-device using SQLite.

  • Initially I'm only targeting Android, I'd love to target iOS too but I don't own any Apple devices to dev+test on.

  • I'd say it's a "late alpha" as of right now. It has most but not all functionality, but has only been tested by me so there are likely small bugs that need to be found.

  • My wife really likes manatees, hence the name.

  • I've commissioned an artist for a logo so that should be coming by February.

Would love to hear people's thoughts! Currently you'd have to build the app yourself, though I do have an item on my to-do list to generate signed APKs via a github action. Mostly I'm just looking to start spreading the word now and hopefully get some good feature requests or bug reports. If you've read this far, thanks for your time!

top 36 comments
sorted by: hot top controversial new old
[-] jet@hackertalks.com 7 points 1 day ago

Just looking at the github here are my immediate ideas:

  • Be able to favorite specific meal combinations (i.e. you eat the same breakfast all the time) for recording
  • The meal display uses kcals as the subline, it would be useful if this could be set to protein, or carbs for people trying to hit different non calorie targets.
  • Ability to set alerts/reminders if falling behind a target (like 60g of protein every 4 hours, etc)
  • allow for food diary photos, i.e. take a snapshot now and fill it in later, or just so a buddy can see what you ate.
  • Since so much data is already being tracked, allow for weighins, ketones, gluecose measurements to be tracked as well, or integrate with the android health-connect api
  • allow for api access to user data, for those tinkerers / automators
[-] tiredofsametab@fedia.io 25 points 1 day ago

Please think about localization and various labeling standards and such. I live in Japan and bought a subscription to Chronometer when MyFitnessPal decided to enshitify. I was submitting labels with barcodes and information in their appropriate boxes (protein, carbs, etc.) but they rejected it because the image (required picture) had non-English text. Apparently there is (or at least was) a manual review process and they rejected everything not in English. Further, it took either weeks or months (I forget now) for the first response to my submitted data to come so I kept putting all this time into something utterly useless. They lost me as a customer as well.

[-] otterpop@lemmy.world 3 points 1 day ago

That's really sad to hear. I also switched to Chronometer but live in the US so didn't run into that issue. Have you found a counter that supports Japanese as well as English?

[-] tiredofsametab@fedia.io 2 points 1 day ago

I just gave up.

[-] mmhmm@lemmy.ml 7 points 1 day ago

I used Fitbook on fdroid for a bit. The best feature was support for weighing food to get calories.

My biggest frustration with apps today is the lack of support for home cooking. I cook most all food but it is a pain get nutritional information unless it comes from a box.

Ive been trying to find a tool that will let me dump in all ingredients by volume/weight so I know the caloric value of a meal. CooksIllustrated uses this https://api.edamam.com/ but I can't find an easy way to bring dishes from magazines or cookbooks to it

[-] FizzyOrange@programming.dev 5 points 1 day ago

There's one called Energize on F-Droid already that's decent.

The problem is the food database will never be as good as the commercial versions. MFP is trash but MyNetDiary is very good and doesn't have obtrusive ads. It nags you to upgrade to premium occasionally but it's not too bad.

Unless you solve the database problem magically I don't think there's much point...

[-] RubberElectrons@lemmy.world 24 points 1 day ago

I'm down, using a cracked fitness pal to count calories right now. How will you build the food database? Can we crowdsource? Just ideas for now, get the basic app running and I'd love to help further.

Any thoughts on getting this into f-droid?

[-] hessnake@lemmy.world 25 points 1 day ago* (last edited 1 day ago)

The food database is initially loaded with info from the USDA! That covers generic stuff like eggs or milk. Anything new is either added manually or sourced from the Open Food Facts database which is already crowdsourced.

I'm prioritizing Google Play but after that's settled I'm open to f-droid as well. Most of the people I know that'll benefit from this app the most wouldn't know how to even install f-droid.

[-] otterpop@lemmy.world 14 points 1 day ago

Throwing the APK out in GitHub with some instructions for Obtainium could be a good thing to do here as well!

[-] RubberElectrons@lemmy.world 6 points 1 day ago

Fair enough, whatever's easier or most effective for you. Thanks for doing this!

[-] Kichae@lemmy.ca 9 points 1 day ago

There are multiple publicly accessible food databases out there. Waistline uses Open Food Facts and the USDA food database, for instance.

[-] Apathy@lemmy.world 3 points 1 day ago

Best of luck to you! Waiting with anticipation

[-] AlecSadler@sh.itjust.works 10 points 1 day ago

As a career full-stack dev with over 8 years Angular experience and a former user of MFP and MacroFactor I'm totally interested in helping out.

Will pull stuff down and take a look soon!

[-] hessnake@lemmy.world 6 points 1 day ago

I'd love to hear your thoughts! I've only got 2ish years of experience with Angular myself. I'm also using this project as an excuse to get familiar with signals so I'm better equipped to introduce them at work.

[-] AlecSadler@sh.itjust.works 2 points 1 day ago

Probably can't take a lengthy dive until tomorrow or Monday but would love to chat.

Signals are relatively new to Angular (but not Vue or React), but IMO are a nice addition if used correctly.

[-] grue@lemmy.world 10 points 1 day ago

My wife really likes manatees, hence the name.

You sure it's not because it's meant to be ~~insulting~~ "motivating?" I was audibly shocked when I read it, LOL.

[-] otterpop@lemmy.world 7 points 1 day ago
[-] grue@lemmy.world 8 points 1 day ago* (last edited 1 day ago)

He points out that "Manatee Gray" is a color found on many products across a range of categories on the Target website, some of them in women's regular and even petite sizes.

In this case, he says, there were two different teams of buyers responsible for the "missy" and plus-size product lines, and the teams didn't coordinate when they inputted the product information for the site. One team apparently used the color's official name, while the other eyeballed it.

"We apologize for any discomfort this might have caused and are working to update the name of the dress to reflect Dark Heather Gray," Thomas told FORBES.

They totally should've doubled-down and normalized all the sizes to "manatee gray," LOL.

[-] dragonfucker@lemmy.nz 6 points 1 day ago

This is cool! Will it support the Metric system?

[-] hessnake@lemmy.world 8 points 1 day ago

Due to how both Open Food Facts and USDA store data metric is actually the default!

[-] brisk@aussie.zone 10 points 1 day ago

Are you aware of Waistline, and are there any points of differentiation you're after?

[-] hessnake@lemmy.world 13 points 1 day ago

I actually shout out Waistline in the first paragraph of the README haha

On a technical level, the major differences between the two are Waistline uses Cordova and a key value DB while I use Tauri+Angular and SQLite.

On a non-technical level, I think Waistline's UX is a bit rough around the edges. For example, when adding something to a meal Waistline will add only 1 serving and then I have to go back in and edit that. Manatee Fitness will immediately bring you to the quantity form after selecting the food to make it more seamless.

I absolutely love Waistline and appreciate the project! I just wanted to take my own crack at it with a modern framework and see if I could improve my personal pain points.

[-] grue@lemmy.world 14 points 1 day ago

I feel like, even on the Github page (targeted at technically-minded folks), you should still lead with the non-technical differences instead of the technical ones. In other words, change that first paragraph in the README to include the info from your third paragraph here.

[-] brisk@aussie.zone 2 points 1 day ago

Neat! I look forward to giving it a crack.

[-] GabberPiet@lemmy.world 5 points 1 day ago* (last edited 1 day ago)

Waistline (Libre calorie counter and weight tracker) https://f-droid.org/packages/com.waist.line/

[-] scientuslatens@infosec.pub 3 points 1 day ago

I hadn’t heard of Tauri, but looks interesting. I’d like to pitch in, even if it’s just for code reviews. I have Apple stuff too to help with iOS builds

[-] andioop@programming.dev 6 points 1 day ago

Oh dang. I don't calorie track anymore, but back when I used MyFitnessPal I think they let me scan barcodes without a subscription… thanks for making this for those who need it!

[-] hperrin@lemmy.ca 2 points 1 day ago

This is awesome and I love it!

[-] FourPacketsOfPeanuts@lemmy.world 2 points 1 day ago* (last edited 1 day ago)

This is a great idea, I'll definitely give it a go. How do you want to receive feature requests/bug reports?

[-] hessnake@lemmy.world 3 points 1 day ago

GitHub issues work for me!

[-] MajorHavoc@programming.dev 2 points 1 day ago

Sweet. I'll check it out. Thanks!

This sounds amazing! I will also put here there's also chronometer that has a lot of the same functionality as fitnesspal but without the subscription, but you have to use an account.

[-] AngryishHumanoid@reddthat.com 2 points 1 day ago

I'd love a good calorie tracker. I'm on the pedantic side and ended up using a fancy spreadsheet because none got as granular as I wanted /shrug

[-] naeap@sopuli.xyz 6 points 1 day ago

What data do you record, if I may ask, that's not tracked with such apps?

[-] AngryishHumanoid@reddthat.com 2 points 1 day ago

For me it was wanting to put in calories for each food item eaten in a day, the estimated calories burned in a day, then any additional burned calories from exercise, and then display the total of calories still "allowed" for that day, if that makes sense. My spreadsheet also had a whole bunch of stuff taking averages of my daily numbers so I could enter a weight goal and trend my weight loss to see when I could expect to get there, etc. it was a ludicrous spreadsheet, I admit it.

[-] const_void@lemmy.ml 0 points 1 day ago

Fitbee is a good MFP alternative on iOS (not FOSS).

this post was submitted on 28 Dec 2024
208 points (98.1% liked)

Programming

17701 readers
113 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS