Calorific

GPL-3.0
Platform
Web Linux Docker Self-hosted
Licence
GPL-3.0 Open source
Calorific

Calorific

Website: github.com/xdpirate/calorific

Calorific is a self-hosted calorie tracker for people who already have a rough idea of what they are eating. Rather than maintaining a food database, it asks for a description and a calorie figure; you can set a daily goal and the page shows how far under or over you are. The project describes itself as aimed at people who “more or less know what they’re doing and don’t need to micromanage their macro-nutrients.” It is a PHP application backed by MySQL, so it fits an existing AMP stack, and the repository includes a Docker Compose setup that publishes it on port 1338.

The app is deliberately small. The main screen is a log form above today’s, yesterday’s and recent entries, with saved meals and ingredients available from dropdowns so a repeated breakfast takes a couple of clicks. Saved ingredients store calories per 100 g or ml and are added by amount, while saved meals have a fixed calorie total. Entries are timestamped, and a daily calorie goal adds a coloured difference to each day’s total. There is no account system: the README warns that “there are currently zero security measures implemented in regards to open access” and recommends running it on a local network behind a VPN, authenticating reverse proxy or .htaccess.

Key Features

  • Simple meal log: Record a description and a calorie count, timestamped now or at a time you choose.
  • Saved meals: Store a meal with its calorie total and add one or more portions to the current day.
  • Saved ingredients: Keep calories per 100 g/ml and add an entry by gram or millilitre amount.
  • Build from lists: Compose a log entry from saved meals and ingredients, or turn an ingredient list into a saved meal.
  • Daily goal: Set a calorie target and see the under/over difference beside each day’s total; within 10% is marked in green.
  • Daily and recent views: Today, yesterday and recent entries are shown with per-day totals; older history can be shown in full.
  • Docker deployment: A Compose file runs the app and a MySQL container, with the interface on port 1338 by default.
  • Optional updater: A built-in update button runs git pull from the UI, off by default and intended only for trusted, non-Docker installs.

Licence

Calorific is free and open-source software under the GNU General Public License v3.0. You can run it, study it, change it and redistribute it; if you distribute a modified version, it must also be GPL-3.0. There is no paid tier or hosted edition. The README includes a medical disclaimer: the tool is not professional nutritional advice.

Explore More Categories

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.