Projects / nut

nut

nut is nutrition software to record what you eat and analyze your meals for nutrient composition. The database included is the latest USDA Nutrient Database for Standard Reference. This database contains values for vitamins, minerals, fats, calories, protein, carbohydrates, fiber, etc., and includes the essential polyunsaturated fats, Omega-3 and Omega-6. Nutrient levels are expressed as a percentage of the Daily Value, the familiar standard of food labeling in the United States, but also can be fully customized. Foods can be added from recipes or food labels, and nutrient intake can be graphed. The program is completely menu-driven and there are no commands to learn.

Tags Scientific/Engineering Medical Science
Licenses GPL
Operating Systems POSIX Linux Windows MS-DOS
Implementation C

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  12 Apr 2009 15:57
  • Rrelease-after

    Changes: This release adds a feature that can automatically choose food quantities when a meal is to have a particular amount of fat, protein, or carbohydrate. Currently, you can modify a food quantity from the meal list by typing the food number and a new quantity. For example, "2 100g" means change food #2 to 100 grams. This feature allows the user to type "protein", "carb", or "fat" instead of an explicit new quantity. For example, "2 carb" indicates that you want the second food's quantity changed so that the meal's Daily Value for non-fiber carb is satisfied.

    • Rrelease-mid
    •  08 Feb 2009 06:53
    • Rrelease-after

    Changes: This release modifies the default polyunsaturated fat reference values.

    • Rrelease-mid
    •  01 Jan 2009 01:11
    • Rrelease-after

    Changes: This release revises the default fatty acid reference values.

    • Rrelease-mid
    •  04 Nov 2008 22:18
    • Rrelease-after

      Changes: This release updates the Omega-3 defaults.

      • Rrelease-mid
      •  23 Sep 2008 17:43
      • Rrelease-after

      Changes: This release introduces the new USDA Nutrient Database SR21, and allows current nut installations to have their existing meal records reinterpreted with the new database.

      Rss Recent comments

      Rcomment-before 27 Sep 2005 20:31 Rcomment-trans 9a46958b1ae5c1a1192cc9b2c952eb66_tiny jozwiak Rcomment-after

      Re: merging databases

      > I would like to be able to collect meal.db

      > files from various installations and

      > merge them. Is there a convenient way

      > to do that?

      If you simply concatenated all the files, keeping the meals in order lifo, NUT wouldn't know the difference; however, there is no sort in the function that picks up meal.db so it wouldn't work if the order wasn't right. There is an additional requirement that the different food.db's have to be identical--if they are not, you have to erase food.db in order for the indexes to be remade. Also, the food names are just keys in meal.db, so that even if you added the same recipe on different installations, it would probably not map to the same food, and indeed, if the food was missing, the meal food would be silently dropped. I have thought about this but never found a solution I liked because all these impediments to making it work are actually what gives NUT its performance so the program can start up instantly even with several years' worth of meals. On my trips to the GF's house, I just wrote everything down on paper...

      Rcomment-before 27 Sep 2005 18:47 Rcomment-trans gymclean Rcomment-after

      merging databases
      Thanks, Jim, for the great software. I am finding myself wanting to record meals on installations other than my home machine (e.g. on my laptop while traveling, on my girlfriend's computer when I'm at her place, and so on.) I would like to be able to collect meal.db files from various installations and merge them. Is there a convenient way to do that?

      Rcomment-before 17 Sep 2005 17:38 Rcomment-trans 9a46958b1ae5c1a1192cc9b2c952eb66_tiny jozwiak Rcomment-after

      Re: Great program!
      Thank you so much for your kind words. You are using NUT the way I do in order to "debug" your diet and subjective sense of well-being.

      Jim

      > I just wanted to thank Jim for this

      > great piece of software. I have used nut

      > for a couple of years now.

      >

      > The easy way I can visualize the main

      > nutrients in foods in one screen, backed

      > with the USDA food database, has helped

      > me change the way I eat.

      >

      > Thank you.

      >

      Rcomment-before 17 Sep 2005 17:10 Rcomment-trans vasc Rcomment-after

      Great program!
      I just wanted to thank Jim for this great piece of software. I have used nut for a couple of years now.

      The easy way I can visualize the main nutrients in foods in one screen, backed with the USDA food database, has helped me change the way I eat.

      The sad truth is, we just do not know what we are eating and what we need. It took me some short term food deprivation and careful use of supplements before I could better understand the signals my body was giving me.

      Guided with this information and nut, I managed to lose 20 kg and have since stabilized my weight at the ideal level, while actually increasing my intake of essential nutrients.

      It also made me reconsider consuming several foods I had foolishly discarded as a kid to never try again. For example, it turns out I actually like ripe red tomatoes, rich in Vitamin A and C, and I had been stupidly avoiding them for some silly reason I cannot even remember anymore.

      I used to have very dry flaky skin, and something resembling body acne, which has subsided since I decreased sodium, and increased my Vitamin A and C intake. I am still in the process of improving my diet, but the positive results speak for themselves.

      Thank you.

      Rcomment-before 27 Jan 2005 07:33 Rcomment-trans 9a46958b1ae5c1a1192cc9b2c952eb66_tiny jozwiak Rcomment-after

      Re: Twilight Zone

      >

      > Sorry for the extensive comment, just

      > wanted to give an example.

      >

      I enjoyed your comments and welcome you to run NUT if you wish.

      Jim

      No-screenshot

      Project Spotlight

      XMLBeans

      Java to XML / XMLSchema data binding.

      No-screenshot

      Project Spotlight

      Rhope

      A dataflow programming language with transactions.