
Logging a simple coffee should not take ten taps.
That was my complaint back in December 2025. As part of the usual New Year ritual, I was ready to get serious about my health again and had started planning to lose weight. Losing weight is part gym and part diet, and to track the diet properly most of us end up using a nutrition app.
The biggest problem with most of these apps is that they are clunky, full of distracting features and usually quite highly priced. Worst of all, even if you pay, you often get upsold on personal coaching.
A few years ago, or even a few months ago, I would simply have had to put up with it. Thanks to AI and vibe coding, I decided that even I could build my own app.
And I did. My very first attempt at vibe coding produced a working prototype I called TrackMacros (full build story: Fitness Apps Annoyed Me So I Built My Own). With no coding background, I used Google AI Studio to build it and got it onto my phone through GitHub and Vercel. It worked, but there were lessons along the way: meals landing on the wrong day, unavailable models and an attempt where adding features made the app worse. Saved meals and combined entries were useful, but the interface still felt more like a science project than something I would proudly share with colleagues and friends.
Now, as another New Year approaches, I decided it was time to work on it again. This time I wanted to build something I would enjoy using and could share with others.
One Saturday night
Saturday night started with a fairly small intention: maybe let’s improve the design. But the more I worked on it, the more the question changed. What would it take to build something another person could use without an explanation of API keys and my particular setup?
By the time I took the screenshot to share it, the clock said 6:59. Sunday morning.
After almost nine hours of discussions, building and testing, I had a fresh app and a new name: MealGlimpse.
What is MealGlimpse?
It’s a nutrition tracking app which:
- Logs a meal from a photo or a typed description, and shows me the estimate to confirm before saving anything
- Reads the nutrition label on a packet
- Saves meals I eat often, so they log in one tap
- Knows 227 foods without asking the AI, including 125 Indian dishes
- Tracks calories, protein, carbs, fats and added sugar against daily goals
Claude Fable 5.2 handled the coding. I spent the night discussing what the app should do, choosing between designs and testing what came back. Some of the most useful changes came from ordinary things: typing how I describe food, opening a form on my iPhone and trying to log my coffee.
The first job was deciding what to build
My first message was: “Don’t make changes yet. Just review and give a plan.”
TrackMacros had already taught me what happens when a working prototype becomes an endless conversation about one more feature.
We worked through the scope first: easy meal entry, confirmation before saving, daily goals, trends and quick access to regular meals. Someone should also be able to try it without bringing their own AI setup.
The early designs felt too plain. I asked for alternatives and compared colours, layouts, and light and dark versions side by side. I settled on the warmer coral direction, with a calorie ring, readable macro bars and a clearly labelled Log meal button.
Seeing the choices helped. I could say which layout felt right and what looked bland, even when I could not have described the finished design in advance.
The scope gave us somewhere to start. Testing would still uncover details we had missed.
Everything passed. Then I picked up my phone.
The form opened, the keyboard came up, and the page zoomed in by itself and cut off the right edge.
Claude couldn’t have caught it. Its test browser has no on-screen keyboard. The cause was a quirk where iPhones zoom the page when a text box uses small type.
We went through screenshots and fixes until it behaved properly.
The rule I took from it: a test passing is not the same as a thing working. Ten seconds with the real phone beats every automated test.
A meal had to work the way I actually eat
One test was simply typing “2 boiled eggs whole”.
The app had a food library, yet that entry was being sent to the AI. The matching was too literal about the words I had used. The food could exist in the list and still be missed by a perfectly ordinary description.
That mattered for both the experience and the running cost. A built-in lookup is only useful if the person using it can find the food without learning the exact wording in the database.
Then there was my coffee. It is a premix plus a separate sachet, so logging it means dealing with more than one item. I wanted to scan the labels, combine the values and save the result under one name for next time. The old tracker had already taught me the value of combined entries and saved meals, but the new flow still had to get this ordinary case right.
The confirmation step is important to me. A meal photo gives an estimate. A label has printed values, but I still need to check the serving and what I actually consumed. I wanted the app to make that review easy.

More practical builds. More honest lessons.
Subscribe to The Abhay Perspective for new articles on building with AI and making it useful.
Sharing it meant taking responsibility for the AI bill
My old setup used my own API key. That was manageable for a personal tool. Asking family and friends to obtain one before logging lunch would have made MealGlimpse much harder to share. Most of them have never heard of an API after all.
I was quite happy experimenting with the app. I was much less happy with the thought of others generating an unexpected bill.
How I limited the running cost
MealGlimpse has a shared AI service behind it, which could easily give me a cost overrun if more people used it. So we designed around the fear:
- Five free AI logs per phone per day
- Additional limits on requests from the same IP address
- Daily and monthly spending checks
For power users, I kept an option to enter their own key to use AI beyond the shared allowance, subject to their provider’s quotas and billing.
The bigger saving was not calling the AI at all. So we built some more features:
- Favourite meals that log in one tap, avoiding an AI call every time
- A built-in food list that covers many everyday foods and dishes
- A memory that lets the app remember what you’ve logged before and offer the same numbers back
After all, the cheapest AI call is the one you never make.
The model problem
The model choice needed attention too.
I had asked for the app to keep up with newer models, but the discovery logic expected names containing “Flash” or “Flash-Lite”. It missed Gemini 4 Hydrogen.
We also revisited the pricing assumptions and accounted for reasoning tokens, rather than just the visible answer. The meal request now uses a low reasoning setting.
It was a familiar lesson from TrackMacros: an AI assistant can give convincing instructions about a model without having the current details right. Availability, naming and pricing still needed checking.
The poori that came in over 900 calories
For the food library to be useful to me, it needed Indian meals alongside ingredients and packaged foods. We used several sources, including the Indian Nutrient Databank for prepared dishes.
Importing the data was quick. Checking whether it made sense in this app took more thought.
A single poori came back at 921 calories. A plate of pakoras came to over 4,500. The dataset counts the whole pan of frying oil as eaten. We left out 37 dishes, mostly deep-fried ones, rather than present those figures as ready-to-use values.
Serving sizes and sugar figures needed care too. A number from a dataset is only useful when the app preserves what that number actually means.
The current library has 227 foods, including 125 Indian dishes, available without an AI call. It is a starting library of common foods and dishes; recipes and portions still vary.
This was one part where Claude helped check its own work. It imported the data, then surfaced values worth investigating. Without that check, I’d have shipped confident nonsense and never known.
What’s in a name?
TrackMacros, the prototype’s name, was already being used by another app, so I needed something different.
Every name I liked seemed to be taken. So did Claude’s suggestions, round after round. I spent longer on the name than on any feature before settling on MealGlimpse.
Then, after spending most of the night building the app, I managed to spend time debating whether buying a separate domain was worthwhile. I bought it. MealGlimpse now has its own address.
Under the hood
Underneath the new interface is a React app hosted on Vercel, an on-device database for meal history and goals, and a Supabase service handling shared Gemini requests and usage counters. There is no sign-up, as it is still a personal project. The app also supports exporting and importing a backup.
Keeping the meal history on the device does not mean the AI works entirely on the phone. Photos and descriptions used for AI logging are sent for processing. The stored journal and the AI request are different parts of the system.
What I’d tell anyone trying this
The speed of getting working code back made the overnight build possible. But some mistakes looked perfectly plausible until we checked them. My work was deciding what should happen and questioning what came back.
Five things mattered:
- Decide the scope before anything is built.
- Ask for options, not opinions.
- Test on the real device.
- Read the price list yourself.
- Treat every dataset as guilty until checked.
None of that is new. It’s what good delivery has always needed. AI made implementation faster; I still had to define the scope, test the experience and decide what was ready to share.
As a student, I wanted to build software but could not become a programmer. Being able to spend a night doing this, with AI handling the code, still feels significant to me.
TrackMacros gave me a personal tool and an early lesson in building with AI. MealGlimpse is my next attempt at making something other people might find useful too. Whether they keep using it is the part I have to learn now.
Want to try it?
I am also looking for a small first group outside my friends and family to use it and tell me where logging a real meal becomes confusing or annoying. If you would like to be part of that, email hello@theabhayperspective.com or send me a DM on X.
Found this useful? I will continue sharing practical strategies for operationalising AI in future editions of The Abhay Perspective. Subscribe below and to my LinkedIn newsletter for future updates.
If you want to explore how any of this applies to your context, let’s talk. https://theabhayperspective.com/work-with-me/

Leave a Reply