Web app · AI · Family project

The pantry that knows itself

An app that sees what's in my home from a single photo, warns me what's about to expire, and works out how long my family could last if the shops close.

A dark pantry where a fine network of blue light lines maps every item, with a small figure standing before it

You buy an emergency kit once and then forget about it. Cans expire, water runs out, and nobody remembers what's tucked away at the back of the cupboard.

So I built an app that keeps track of my household stock. It warns me before anything has to be thrown out and gives an honest answer to the question you'd rather not ask: if things go wrong, how long would I last with my family?


What's actually in the cupboard?

It started with an emergency kit. You put it together, you feel prepared, and a year later you have no idea what's still good. Expiry dates tick by, you buy double what you already own, and the overview you once had has evaporated.

A list on paper or in a notes app didn't solve it: that's already outdated the day you make it. I wanted something that keeps itself up to date and warns me in time. And that shows how long we could last on it when it really matters.

What you can't keep track of, you buy twice or throw out past its date.


Photographing instead of typing

The biggest hurdle in inventory management is the data entry. Typing everything in by hand is something nobody keeps up. So I removed that hurdle: you photograph a product's label, or a whole shelf at once, and the AI reads out what it is. Name, quantity and expiry date, from one or two photos. It even recognises jars without a label.

What the app does
  • Add things with a photo. Photograph a label or a whole shelf. The AI reads out the name, the quantity and the expiry date, and pre-fills the form so all you have to do is check it.
  • Guard expiry dates. Colours warn you what's nearly out of date. When in doubt, the app advises whether it really has to go or is still fine, based on the Dutch Nutrition Centre's guidelines.
  • The crisis check. The app tests your stock against the government's 72-hour standard and works out, per person, how far you'd get on both food and water.
  • Keep itself up to date. Every two weeks an email lands automatically: what's run out, what's about to expire, and whether you're still in the green on the emergency check.

Under the hood, artificial intelligence does the heavy lifting of recognising and estimating. But I deliberately don't let it do the maths. How many days you can last is decided in fixed, verifiable code, not by an AI that might give a slightly different answer each time.

The AI is allowed to estimate. The maths is left to the calculator.

That way you get exactly the same result on your phone and your laptop, and advice about your safety never depends on the mood of a language model.

The inventory app on a phone: items per location with expiry dates in colour codes

The app on mobile: your stock by location in the house, expiry dates in colour, and quick adding through the camera.


From junk drawer to overview

The app runs and I use it at home. This is what it solves.

72 h emergency standard the app tests automatically
4 ways to add an item, most of them with AI
Biweekly automatic status email in your inbox
Realtime synced across phone and laptop at once

The strongest part is the crisis check. It tells you where the weak spot is, for example: "enough food for ten days, but water for only two." A paper list won't show you that.


What worked, and what really didn't

What didn't work first time says more than the polished side. Over a year of updates, by far most of the work went into repairs to the same two things. The camera on the phone, and an AI that was a little too eager.

What mostly didn't work
  • The camera on mobile. By far the most repairs. The camera froze when reopened, kept loading endlessly in some phone browsers, or accidentally took two photos at once. Every time a slightly different quirk of a different device.
  • Barcode scanning. It's in there, but it doesn't work smoothly enough to rely on. Photographing a label turned out to be far more reliable in practice.
  • An AI that did too much. Early on, after a scan the app immediately filled in every field, overwriting what I'd just typed myself.
  • Vanishing changes. Deleting something sometimes seemed to do nothing, until you refreshed the page. A small problem, a big one in daily use.
What did work
  • Photographing instead of typing. Photographing a shelf row by row, and the AI recognises even jars without a label. This became the heart of the app.
  • The human decides, the AI suggests. After a scan you see a list with checkboxes: you decide per field what gets applied. If the AI is unsure, that item turns orange.
  • Taking the maths out of the AI's hands. The crisis check only lets the AI estimate; the calculation itself lives in fixed code. Same stock, same answer, on every device.

The common thread: AI is good at recognising and estimating. When it comes to a calculation or a decision you need to rely on, a human or fixed code belongs at the wheel.


Want to build something like this?

You don't need to be a programmer to start. Paste the prompt below into a strong AI model (Claude, ChatGPT or Gemini) and let it give you a tailored approach, including what you'd be better off not building.

I want to build an app that keeps track of my household stock and emergency kit. The goal: to see at a glance what I have at home, be warned in time before anything expires, and get an honest answer to how long my family would last in a crisis (based on the official 72-hour standard).

Interview me first: ask up to ten questions about how I currently track my stock, which device I use most (phone or laptop), how many people are in my family, and how much technical experience I have.

Then give me concrete advice:
1. The building blocks I need: a database, a fast way to enter items, and where AI should and should not be involved.
2. Why data entry is the biggest hurdle and how to lower it. A tip from experience: photographing a label or a whole shelf works better than scanning barcodes.
3. One important design rule: let AI estimate and recognise, but keep every calculation that a recommendation rests on in fixed, verifiable code, so the same input always gives the same answer.
4. The pitfalls. Be honest about what often goes wrong on mobile (the camera) and what I'd be better off not building in my situation.

Be critical and practical. No hype, no lists of tools without a reason.

What it's based on

The emergency check follows the 72-hour standard as recommended by the Dutch government; the expiry advice leans on the "best before" and "use by" guidelines of the Dutch Nutrition Centre. The tools and concepts behind this project are described with source and context on my central source list.

Attribution

→ Dutch government - assembling an emergency kit (72-hour standard)

→ Nutrition Centre - the difference between "best before" and "use by"

→ View the full source list

The image at the top of this page is AI-generated, in the same visual language as the other project pages.


More from this system

Same way of working, different applications.

See other work Get in touch