I mean in total it's about 300k lines of code (across all the tools I built for myself). It's a poor metric, but it's not something you put together in a couple of hours.
Oh, and specifically the food logging part: no, you didn't do that in a couple of hours years ago. Taking pictures of food and having estimates grounded in your personal "recipe" library was a major research project until vLLMs came out.