this post was submitted on 27 Apr 2026
198 points (94.6% liked)

Selfhosted

58862 readers
1198 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hey all, sharing what I've been working on. NutriTrace is a self-hosted nutrition and wellness tracker that runs entirely on your own server in a single Docker container.

I built it because every commercial nutrition app has the same shape. You hand them years of food data, body measurements, and biometrics, and your data is held hostage when they pivot or paywall. I wanted to track macros and pull in my Fitbit data without participating in that.

Daily food diary with multi-ingredient meals, recipes, body stats, water tracking, day-level notes. Personal food database, barcode scanner, imports from Open Food Facts and USDA, plus optional Mealie integration. Statistics with trend charts, full backup, exports as CSV / JSON / full ZIP.

Optional wellness device sync from Fitbit, Withings, Garmin, and Android Health Connect. Sleep / readiness / stress scores computed from your data.

Optional AI assistant where you bring your own Claude / OpenAI / Gemini key. It queries your real data via tool use so it can answer things like "what was my average protein this month" without making numbers up. There's a voice food logger too. Both fully optional, off by default.

Tech: Svelte 4 + Express + better-sqlite3, multi-stage Dockerfile, AGPL-3.0. Native Android app is in active development; PWA installs to home screen on any modern browser today.

Repo and docker-compose example: https://github.com/TraceApps/nutritrace

Happy to answer questions.

you are viewing a single comment's thread
view the rest of the comments
[–] ProfessorScience@lemmy.world 4 points 2 days ago (5 children)

Is the docker image public? I'm getting an "unauthorized" error when attempting to pull it. I'm not getting that error for other ghcr.io images. But I'm not docker expert, so I may be doing something wrong.

[–] TraceApps@lemmy.world 5 points 2 days ago (2 children)

Is the docker image public? I’m getting an “unauthorized” error when attempting to pull it. I’m not getting that error for other ghcr.io images. But I’m not docker expert, so I may be doing something wrong.

Should be fixed now, package was set to private by default on first push. Just flipped it. docker pull ghcr.io/traceapps/nutritrace:latest works without auth now. Thanks for flagging it.

[–] ProfessorScience@lemmy.world 4 points 2 days ago (1 children)

Looks good, so I've got it up and running now. Thanks!

[–] hoover900@ani.social 1 points 2 days ago (1 children)

What all did you do to get it working? I'm stuck with this issue.

[–] ProfessorScience@lemmy.world 1 points 2 days ago

All I had to do was run the pull command again.

[–] ProfessorScience@lemmy.world 1 points 2 days ago

I'm seeing "Could not reach server — retry" on the diary page and when going to enter foods. The diagnostics log has

[14:25:38.821] [ERROR] [diary] loadEntry error: _fetch@http://my.server:3000/assets/index-Dl7TTIk7.js:175:24686

[14:25:41.686] [WARN] [settings] direct push failed for startPage: Server responded 401
[14:25:41.689] [WARN] [settings] direct push failed for weightUnit: Server responded 401
[14:25:41.695] [WARN] [settings] direct push failed for heightUnit: Server responded 401
[14:25:41.699] [WARN] [settings] direct push failed for statsGoalLine: Server responded 401
[14:25:41.701] [WARN] [settings] direct push failed for lengthUnit: Server responded 401
[14:25:41.702] [WARN] [settings] direct push failed for distUnit: Server responded 401
[14:25:41.704] [WARN] [settings] direct push failed for statsYZero: Server responded 401
[14:25:41.705] [WARN] [settings] direct push failed for tempUnit: Server responded 401
[14:25:41.705] [WARN] [settings] direct push failed for usdaEnabled: Server responded 401
[14:25:41.706] [WARN] [settings] direct push failed for statsAvgLine: Server responded 401
[14:25:41.708] [WARN] [settings] direct push failed for offSearchCountry: Server responded 401
[14:25:41.708] [WARN] [settings] direct push failed for offUploadCountry: Server responded 401
[14:25:41.709] [WARN] [settings] direct push failed for offSearchLanguage: Server responded 401
[14:25:41.710] [WARN] [settings] direct push failed for statsTrendLine: Server responded 401
[14:25:41.710] [WARN] [settings] direct push failed for statsChartType: Server responded 401
load more comments (2 replies)