A self-hosted personal nutrition tracker called NutriTrace has been published on GitHub under the TraceApps organisation, offering users a way to log meals, track goals and review their diet without handing their data to a cloud service. According to the project's repository page, the software runs as a single Docker container on the user's own hardware, ships with a progressive web app for browsers and a native Android app, and collects no telemetry. Cloud sync is available only if a user chooses to switch it on.
For privacy-minded users who already run home servers, the project offers an alternative to commercial food diaries that store health data on remote servers. It also arrives at a time when many people are looking for ways to keep personal data within their own networks.
What NutriTrace does
The project describes itself as a tool that needs no accounts on external services and no subscriptions. Everything it stores stays on the machine that hosts it, and nothing leaves the user's network unless that user connects a third-party integration.
The feature list in the repository is broad. Users can log meals into configurable meal slots, build a personal database of foods and recipes, and set nutritional goals using modes that range from fixed targets to an adaptive energy-expenditure estimate. The project also includes a label-scanning feature that uses optical character recognition and a tracker for intermittent fasting.
Integrations are optional. The repository lists connections to Fitbit, Withings, Garmin and Android Health Connect, along with lookups against the Open Food Facts and USDA food databases. Users can also import data from several other nutrition apps, including MyFitnessPal, Lose It, Cronometer and Waistline.
Built-in AI and automation
NutriTrace includes an assistant called Trace AI, which can read a user's diary and goals and then log a food, propose an entry from a photo for the user to confirm, or add an activity. The repository says the assistant has 16 tools in total. A separate Model Context Protocol interface lets external AI agents, such as Claude Desktop, Cursor and Codex, read diary data and, when explicitly enabled, write entries.
That interface is switched off by default. According to the project documentation, users must set an environment variable to turn it on, and write and delete actions require further opt-in flags and scopes. For users who are cautious about automated tools touching health records, this layered design is likely to matter.
Self-hosting and deployment
Installation is designed around Docker. The repository publishes the image to the GitHub Container Registry, with a mirror on Docker Hub. After the container starts, users open a local address in a browser and complete a first-run setup wizard that creates an admin account. Users who skip user management run the app in single-user mode.
The project's documentation covers more advanced setups, including SMTP email, Docker secrets, reverse-proxy examples and single sign-on through several identity providers. The app's data storage is limited to two volumes: one for uploaded food and meal photos and one for server-side backups. The database schema updates automatically when the container starts.
The repository also describes its logging behaviour in detail. Request logs omit query strings and do not record uploaded images by default. Body tracing is disabled unless a user turns it on, and the documentation warns that such logs can contain private diary and health information.
The iPhone question and the project's funding
The most visible gap is on Apple devices. The repository states that the Trace family of apps does not yet have an iPhone version, because building and testing one requires a Mac and an Apple Developer account. The project is maintained by one person, and the stated goal is to raise funds for the hardware and developer accounts needed for both major app stores. The repository puts that total at about $1,300 and links to a breakdown on its support page.
The developer stresses that self-hosting will remain free and that no feature sits behind a paywall or donation. Other ways to help, according to the page, include starring the repository, filing detailed bug reports and contributing translations through the Weblate platform. Stars, the page notes, are one way that self-hosted projects are discovered.
The project credits two earlier open-source trackers as inspirations: Waistline, an Android nutrition diary built by David Healey, and SparkyFitness, a self-hosted fitness and nutrition tracker by CodeWithCJ. NutriTrace also sits within a wider family of TraceApps tools, including CookTrace for recipes, LiftTrace for weightlifting and NoteTrace for notes and tasks.
Limits and cautions
The repository is clear that NutriTrace is not medical or nutrition-professional software. It does not offer medical advice or personalised diet plans, and its calorie, macro and wellness outputs are meant for self-tracking only. The disclaimer says people with conditions such as diabetes, eating disorders, food allergies, pregnancy or kidney and liver disease should consult a qualified professional before changing their diet.
The disclaimer also warns that Trace AI answers may be wrong or incomplete, and that community-curated data from Open Food Facts may contain errors. Those caveats apply to any app that relies on user-contributed or automatically generated information.
Because the code is licensed under AGPL-3.0, anyone can inspect how the software handles personal data. That openness is one of the project's main selling points, though it also means the app's quality depends on the willingness of volunteers and users to test, report problems and translate it.
What comes next
NutriTrace is still a small project maintained by a single developer, and its iOS plans depend on donations. Its Android app and browser version are the main ways people use it today. Readers interested in trying the software can find installation guides, environment variable references and the changelog in the GitHub repository.
The coming months will show whether a niche self-hosted tracker can build a wider user base and attract the contributors it needs. For now, the project offers a clear example of a food diary built around local storage and user control.
Related: NoteDiscovery Adds HTTP MCP Server for AI Clients · Open Source Newsletter App MailCheap Lets You Self-Host for Free
Comments (0)