Info

Year

Updated: 2016 Created: 2007

Languages

PHP, Laravel Framework

Platform

Web Application

Back to Projects

Foodbag - Privacy oriented calorie tracking

In 2007 I developed a PHP web application that would make it easy to track my weight and food I was eating. I wanted a system that made it easy to enter food and activities without cluttering the interface or sharing my data with any third parties.

In 2017 after 10 years of on and off usage I redeveloped the program using the Laravel framework. I used the redevelopment to learn how to deploy web applications with ansible and terraform. The system has an automated CI build environment that allows me to publish code updates automatically from GitHub using Gitlab.com

Main features:

  • Extensive food database - Imported from various online resources and allows manual entries
  • Extensive activity database - Uses your weight and height information to calculate somewhat accurate estimate of calorie usage
  • Custom Quick Actions - Allows you to configure repeatable activities. Do the same route every morning? Add a button!
  • Integration with Withings - Automatically upload weight measurements to system
  • Integration with Custom Android app - Automatically uploads step activities as walks using Android Wear. See Step-tracker
  • Visualisations of progress - Interactive charts with chart.js
  • Private - All the data is mine and not shared with third parties (the Withings integration uses data in the cloud but that account is not linked to any other online profile)

Selecting an activity

Searching for food