Skip to main content

Nutrition tracking with tablet-friendly interface

Project description

nutrition-pad

Nutrition display for local network.

Philosophy

Track your macros, they say. Calories in calories out. It's easy... until you do it every day, while juggling other goals. nutrition-pad is designed to make logging and decision making easier. nutrition-pad is an opinionated approach for technologically familiar people who work from home and are willing to buy (cheap) hardware.

Recording what you eat and altering your eating behaviour based on information derived from these logs — such as macronutrient targets — is something that many people do — sometimes successfully. But each decision and each log comes with a little cost (and perhaps an internal goal-related reward). Most calorie tracking apps seem oddly unoptimised for expert habitual entry — there is friction in both recording and checking. We want to make the decision easier by smearing it out over the day where possible, separating recording from display.

The "trick" for making recording easier is using a lot of tablets — so mostly useful for a work-from-home setting, as well as creating your own menu of commonly used items. The trick for decision making is displaying this information in many places.

More tablets! The idea is that you have a dedicated tablet for each piece of functionality — or maybe a pair of things that you can toggle between. I also have tablets around my house for displaying numbers. If you work from home then it may make sense to have dedicated tablets (which can be cheaply obtained - nexus 10 tablets are very cheap) for food entry with a limited number of items. In my experience tools like myfitnesspal become very annoying to use over time.

The other motivation is to separate recording from calorie display. In theory you want to know calories when making a decision. But it is in practice advantageous to smear the food decision making out over the day.

Designed for the Nexus 10, as this is a cheap large-screened tablet. I also use Nexus 7s and 9s (since they are available).

More tablets, you say?

So what exactly do I mean by more tablets? Well... I at the moment use about 10 tablets. But thankfully tablets have now got very cheap. I have four tablets which display foods so I can click on them in one go, one tablet for setting the amounts of food, and then various other tablets around my house to display nutrition statistics and logs.

Features

  • Use multiple tablets so that you can remember food positions and don't have to use your phone
  • Separate display and entry to avoid decision fatigue with decision smearing

Usage

This needs a local network and a server that it can run. You can then run nutrition-pad --host 0.0.0.0 --port 5000 and connect to it from one or more tablets.

I personally have three tablets to give me a number of panes for recording food. And another tablet for display. Updates are shared.

Hacking / Testing

This is meant to work on old devices. I target the nexus 10 because these are cheap and readily available and have a large screen size. This assumes that emulate command can be run with android-emulate

LLM usage

This is good for LLM usage. An LLM can help you. See [[LLM use]]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nutrition_pad-4.9.1.tar.gz (68.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nutrition_pad-4.9.1-py3-none-any.whl (61.8 kB view details)

Uploaded Python 3

File details

Details for the file nutrition_pad-4.9.1.tar.gz.

File metadata

  • Download URL: nutrition_pad-4.9.1.tar.gz
  • Upload date:
  • Size: 68.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for nutrition_pad-4.9.1.tar.gz
Algorithm Hash digest
SHA256 4eeb3bf07ebd4e5e28468b26c9908160a6d68f0058664ffe68b080b78050e985
MD5 3e5f5fa18c955ce00954f21a7f1c5a82
BLAKE2b-256 75ef5fd3a450a4158b20765dd323dc807d3332551c4cc913ff335869b3dde3fb

See more details on using hashes here.

File details

Details for the file nutrition_pad-4.9.1-py3-none-any.whl.

File metadata

  • Download URL: nutrition_pad-4.9.1-py3-none-any.whl
  • Upload date:
  • Size: 61.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for nutrition_pad-4.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 995e10168254b9a301f6ecba148948bff2d1bdca9a6dc0a78acb058c47959076
MD5 406b8e7e9c19f0f17fb72346cd14f0bd
BLAKE2b-256 b793b040a706fa09aaf189d35868c46f0bc49ddc818d40c81fdf3dd47fc41210

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page