Self-hosted nutrition + wellness tracker. Latest release rolls up two weeks of work.

New features (rc.21 → rc.26):

  • Recipe yields — declare “this makes N servings” and per-serving math flows through the diary
  • Intermittent fasting tracker — custom presets, history, recurring schedule that auto-starts at a chosen time on chosen days
  • Adaptive TDEE — learns your true daily expenditure from a rolling 35-day window of weight + diary instead of a static estimate
  • Android biometric sign-in — fingerprint / face unlock in server-connected mode
  • Per-serving Open Food Facts import — when a barcode-scanned product has serving data, prefill nutrition per-serving instead of per-100g
  • Health Connect → web — Android-synced Health Connect data now reaches the server and renders on the web Wellness page
  • Sharing rework — per-category sharing form, source filter on Meals/Recipes, zxcvbn-backed password-strength policy

Bug fixes: cross-pollinated food images on diary entries, duplicate foods on rapid barcode scans, scheduler crash, Mealie Test button.

Repo: https://github.com/TraceApps/nutritrace Release: https://github.com/TraceApps/nutritrace/releases/tag/v1.0.0-rc.26

Single docker compose, SQLite, signed APK on the release page.

  • ion@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 day ago

    New features look great. I’m currently hosting this and integrated with Mealie. I cook a lot, so I’ve got my recipes along with the aggregated nutrition data on Mealie. A bit of work up front but I can now just add my morning omelette and the per-serving data seems to be coming into Nutritrace accurately. Looking forward to checking out the new features.

    Ran into some issues when testing the integration, but the actual integration works fine. Could be a bug? Could be that I’m not that smart. I’ll check to see if there’s already something documented.

    • TraceApps@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      Let me know your issues and post server/browser console/app logs, and ill do my best to assist. You can also create an issue if you feel that this is a bug in the repo. Outside of this i do want to mention, im working on a suite of “Trace” apps. One of which is a Recipe app. I love Mealie, but wanted a bit more for myself, and have created something that i think will be special. It also allows for direct api integration to and from NutriTrace. Will hopefully have a beta that will be publicly available in the next month or so if interested.

  • NewDawnOwl@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 days ago

    damn. Good features. I was hoping to move onto this as part of the portfolio pieces/improve habits self hosted DB thing I’m working on, but for now I guess I can learn some of the things I don’t know how to do yet (like shipping to other people!) from your team.

    How are you planning on reacting to the android freedoms getting compromised? I’m literally working on the android app for mine now, and it bums me out that they’re going to put more invasions of privacy for deploying apps to your own phone.

    Also, are you planning to make money from this somehow? If yes, how?

    • TraceApps@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 days ago

      Yes! Settings → Backup → Nutrition Import. Built-in adapters for MyFitnessPal, Cronometer, LoseIt, and a generic CSV shape. Export your diary from MFP (it’s a CSV in their account settings), upload it, preview, commit. Skip / Merge / Replace per-date semantics, so you can re-import safely without overwriting.

        • TraceApps@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          Nice work, exactly the kind of bridge that makes leaving MFP a lot less painful for self-hosters. Would you be OK with me linking the gist from the NutriTrace README (under Foods & Meals) and from inside the Bulk Food Import modal? Happy to credit it as your script with a link back to the gist.

          Either way, thanks for putting it together.

          • Nomad64@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 day ago

            Yeah, feel free to link to it or integrate it into NutriTrace directly. MFP doesn’t allow users to export a lot of their data and what they do allow is pretty minimal (ex: food diary doesn’t export the food diary, simply a diary of each meal).

            I don’t plan on supporting it, so it might break whenever MFP decides to update their API. But I am just glad if it helps even one person.

      • Nomad64@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 days ago

        Nice! I will have to look into this when I have time in the coming weeks. Looks like a cool project!

  • irmadlad@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 days ago

    Personal food database with photos, barcodes, categories, and custom labels

    Where do you source your barcodes from? The reason I am asking is that I would like to give Grocy/Barcode Buddy a better barcode pool to draw from. As it is now, it’s kind of hit and miss. Most brand names are fine, but off brands or store brands are kind of iffy.