←back to thread

1901 points l2silver | 1 comments | | HN request time: 0.203s | source

Maybe you've created your own AR program for wearables that shows the definition of a word when you highlight it IRL, or you've built a personal calendar app for your family to display on a monitor in the kitchen. Whatever it is, I'd love to hear it.
1. tiew9Vii ◴[] No.35739075[source]
I'll share a project I've been working on that has greatly improved my meal planning. I created a tool to tell me what and how much to eat from a list of ingredients.

Unlike most existing apps that only track what you eat, my app helps you figure out how much to eat to hit your target macros. Initially, I had created some Python scripts that worked well, but I found them inconvenient to use as I needed to be near a computer, edit the script and manually add ingredients to a dictionary. To make it more user-friendly/faster, I re-wrote it as a web app in Rust for the backend and integrated a free food database.

Now, I can quickly and easily add a list of ingredients I have at home from my phone and hit calculate.

Currently, I'm the only user, and the tool is designed entirely for my needs. However, I think it could be useful for others looking to plan their meals and eat healthier, which is why I host publically. If I were to build it for general public use, I would need to relax the constraints to allow flexibility on how close it can match your targets. I would also want to add more food sources, maybe the USDA database, but since I'm not in the US, a lot of the foods won't be relevant to me. Maybe if I get the time i'll work on it but for now it works perfectly for me.

You can check it out at https://www.macrosolver.com/. Let me know what you think!