Diet Tracker

Version 1.7.1 released on 14-Feb-08. It is a bug release


Diet Tracker is a set of Perl codes to help you keep track of your diet progress. It uses a MySQL database to store and display your daily weight variations and calorie intake as you progress in your diet.

This software was inspired by Jeremy Zawodny's Excel spreadsheet that does a lot of the same thing. Srijith wanted an online version that was simple and intended for a single user. Not finding any, he wrote the first version of Diet Tracker. Kyle Farnung helped add new functionalities into the 1.5 release of the code.


tick  Online, accessible 24h/day
tick  Tracks calorie intake per day
tick  Graphs to track weight and intake history
tick  Moving average calculation to even out jitters
tick  Automatic BMI calculation
tick  Autocomplete feature for food items entered earlier
tick  Ajax based inline edit of entered values (weight, intake etc.)
tick  Clean interface


There is nothing much to see other than the front page, the details of calorie intake and the weight variation. Please find below screenshots of these three views. Click on the images to get a bigger image.

There are three views of Diet Tracker

Main Screen
This gives a crisp summary of your current status with graphs and forms to enter new values
Diet Tracker Main page - thumbnail  Autosuggest in acton - thumbnail  Quick summary of today's intake - thumbnail
Calorie intake history
History and graph of calories consumed per day. The details are expandable/collapsible.
Calories page with inline edit - thumbnail
Weight history
History and graph of weight variation.
Weights page with inline edit - thumbnail   Weights page with delete option - thumbnail


Diet Tracker v 1.7.1

Copyright © 2006-2008 Srijith K. Nair, Kyle Farnung
Release date: 14-Feb-2007 (version 1.7.1)
License - GNU General Public License (GPL)


You will need the following Perl modules


In addition, you will need a web server that can execute Perl files as well as a MySQL database to hold the data.


Note - The MySQL initialisation schema provided uses the table prefix of 'dt_'. If you want a different prefix, you will have to manually edit the mysql.txt file and make the changes. Then edit the option 'dbprefix' in to reflect your preferred value.

Upgrading from 1.7 to 1.7.1

Either Or

Upgrading from 1.5 to 1.7

Upgrading from 1.0 to 1.5

Follow the Installation instructions above.


None yet, though limitations do exist.


Changelog Logo