All builds

Cooking app / 2026 / In progress

Brimfox.

A household cooking app that ties every recipe to what is really in the pantry

The hard part
Keeping the pantry true when a meal is finished, so the cook chooses what was used and nothing is saved halfway.
Works today
The app saves a finished meal and its pantry changes together, and tests check that a warning never counts as a usable swap.
Role
Software engineering
Built with
Flutter · Dart · Laravel · PHP · Sanctum · PostgreSQL · Redis · Python / FastAPI / Pydantic (optional helper) · Python 3.11 · FastAPI · Pydantic 2 · Uvicorn · pytest · Laravel HTTP client · Docker

01What I built

The problem.

A recipe on its own does not know what is in your kitchen, who else shares it, or how the meal turned out last time. And a pantry tracker is only useful while it is right. If an app takes ingredients off just because a recipe listed them, the pantry is soon wrong and nobody trusts it.

What I built.

Brimfox is a cooking app for households. The Flutter app on the phone runs the cooking steps. It shows recipes beside a personal or shared pantry, which is the list of food at home. It suggests swaps that really work and keeps notes on what worked. A Laravel server, built in separate parts, gives the app an A technical wordAPIA set of web addresses that one program uses to ask another program for data, or to ask it to do something. to call. It keeps the records and checks which household each person may act for.

Brimfox showing a recipe match. It lists the ingredients you have, the ones you are missing, and a short explanation.
Brimfox running in a web browser during development, in June 2026. It explains why a recipe fits what is in your pantry.

The app

Flutter, Dart

Recipes and pantry
Shows recipes against what is really in the pantry, with swaps that truly cover a missing ingredient.
Finishing a meal
The cook picks which pantry items to keep and which to remove. Keep is the default.
Fonts and text styles
One font family, built into the app, with the same text styles on every screen.

The server

Laravel, Sanctum, PostgreSQL, Redis

Household access
Before anything is saved, the server checks which household the person belongs to. It looks up pantry items only in that household or in the person’s own pantry.
Meal completion
Saves the pantry changes and the cook session together. The cooking memory and family feedback are saved in the same step, so either all of it is saved or none of it is.The storyReporting a saved meal when sharing fails
Sharing
Sends the post and the public review afterwards, so a failed share never undoes a saved meal.The storyReporting a saved meal when sharing fails
Recipe explanations
Builds each explanation from the recipe. A provider writes the text, and the server checks it and keeps a saved copy. If something goes wrong, there is a fallback answer to use instead.The storyWhat Brimfox still needs before it calls its Python service

The Python service

Python 3.11, FastAPI, Pydantic 2, Uvicorn, Docker

Brimfox AI Core
Recipe ordering
Gives each recipe choice points for matching the search words and phrases. It adds points for ingredients on hand and for swaps that cover a gap, then sorts.
Explanation checker
Turns down a fixed list of unsafe phrases. It also measures how many keywords an explanation shares with its source material.The storyWhat a keyword check can and can’t say about an explanation
Pass key check
Checks the pass key in a way that takes the same time whether it is right or wrong. So the timing gives nothing away. On the live setup, it refuses protected calls when no key is set.
Request models
Pydantic, a Python tool for checking data, checks the outer shape of each request and the limit of 1 to 20 results. The values inside stay loose.

The Laravel client

Laravel HTTP client

Brimfox AI Core
Requests
Sends the request as structured text, with a pass key and a trace ID. Connecting and the whole request each have their own time limit.The storyWhat Brimfox still needs before it calls its Python service
Retries
Tries again after a failed connection or a server error, up to a set limit. It does not retry every failed answer.
Results and failures
Returns the status and how long the call took. Or it raises a clear error that tells running out of time apart from other failures.
Request logging
When switched on, it records the address called, the trace ID, the delay and the status. It also records the names of the data fields, never their values.

02The journey

What broke, and what changed.

Broke, then fixedA decisionA milestone

  1. 01 of 07DecidedBrimfox

    Save the meal first, share it second

    The questionBrimfox · The appFinishing a mealThe cook picks which pantry items to keep and which to remove. Keep is the default.See it in the map above changes several things. It updates the Brimfox · The appRecipes and pantryShows recipes against what is really in the pantry, with swaps that truly cover a missing ingredient.See it in the map above and saves the cooking record and family feedback. It can also send a post and ask for a Brimfox · The serverSharingSends the post and the public review afterwards, so a failed share never undoes a saved meal.See it in the map above. If all of these had to work together, one failed share would lose the meal.

    What I choseThe meal and its pantry changes are saved in one A technical worddatabase transactionA group of database changes saved together, so either all of them are saved or none are., so either all of it is saved or none of it is. Sharing comes after, as a separate step. So the app can say the meal was saved even when sharing failed.

03Today

Where it stands.

One gap is retries. The server can spot a repeated request by a key the app sends with it. But the Flutter app makes a new key for each try. So if the app sends the same finished meal again, as a retry, it could be saved twice. I have not yet tested what happens when something fails between saving the meal, posting it and asking for a review. The Python Brimfox · Brimfox AI Core · The Python serviceRecipe orderingGives each recipe choice points for matching the search words and phrases. It adds points for ingredients on hand and for swaps that cover a gap, then sorts.See it in the map above service is built, but the app does not call it yet. The planning screens are still a prototype.