A desktop app to count calories and macros inspired by https://calmacro.com
Follow the readme build instructions unless you use a Debian based Linux distribution in which case: click demo
Note for build instructions: do cd electron-project not cd minimacro
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
I have decided to cease development of this project and re-make it but as a website not an electron app and without using AI and add comments in my code and links to documentation because using Claude to do like half the project made it no fun and I don't understand the code and it doesn't support BSDs whereas a website version would. It still works it just doesn't have all the features I planned on but all the most important base features are here.
Added quantity so you can input the stats of an item once but you can add multiple of that item. Added serving size and serving unit fields for food and also each time you add a food it saves to the database and when entering the food name it shows a list of those foods and if you select them it automatically fills their information for you. Also added Price and Store fields which will also be saved, this is in preparation for a future feature where you can have saved recipes and meals and a shopping list and inventory management system for your kitchen so you know what dishes you can make and make it easy to add dishes you frequently make the same way to your eaten food for the day. You can also add purchase data and use by date to remind you to use certain ingredients/foods and perhaps implement an LLM that can see what foods you have in stock and their use by dates AND your calorie and macro targets and since it has the foods macros and calories it can write you the whole recipe in the exact way to aim for your targets and you just follow the recipe.
Not shown in image:
- View charts page where you can track weight, bodyfat percentage and grip strength (lbs) and it makes graphs of them over time and you can even add backdated data points as well as edit data points and delete them.
I am happy with the progress but this time I used Claude 4 Sonnet and it literally did everything in just a few prompts and well it was very impressive but very boring so from now on I want to use less/no AI when coding and just want to get this project complete and do something else instead and not use electron next time.
Uses SQLite instead of local storage and updated the tracking page, not done yet just some updates to tracking page left and a charts page to visualise saved tracked data. Very happy with progress
Slight changes in HTML/CSS and removed all JS and trying to setup SQLite but I am struggling
Initialised the project and set up some basic HTML, CSS and JS to have the setup page when the user first opens the program to input their current stats and their current calorie and macro targets.