by WallWay
Plan your meals for the week, scale recipes to the number of eaters and turn them into a grocery list.
Cupboard
Plan the week's meals, scale recipes to the people who are eating, keep track of what is in the house, and walk into the shop with a list that is already sorted by shelf. Everything lives in plain Markdown notes in your vault: recipes, products, shops, weekly plans and shopping lists. No accounts, no servers, no network requests.

What it does
Plan the week. Drag recipes onto the days. Tick who is eating, and Cupboard works out the servings: a child can count as half an adult portion, guests count as a full one. A note per day holds what the calendar says, and grocery stops mark when a shop's goods arrive.
Cook from the note. Cook mode shows the ingredients scaled to tonight's servings, step by step, with checkboxes and timers. Each cooking session is a note, so it survives a restart and syncs to the phone.

Cook one step at a time. Tap Focus in cook mode and the whole window becomes a slide: first each group of ingredients to get ready, then each step of the method. Tick everything on a slide and the next one slides in by itself. A progress line shows how far you are, and the bottom bar says what comes next. Swipe or tap Back and Next on a phone or tablet; use the arrow keys and Esc on a computer. Timers work as in the list, and the screen stays on while focus mode is open, where the device allows it. Ticks go into the same session note, so closing focus mode shows them in the list.

Shop per trip. A shopping list is one trip to one or more shops. Pick the day and the meals it covers, check what is in the house, then shop. The list is sorted in the order you walk through the shop.


Count once for every trip. Going to the market on Wednesday and the supermarket on Friday is two lists, and one round past the cupboards. Check stock on the shopping lists screen counts for every open list at once, and each row says which list it lands on. A product goes to the list for the shop it usually comes from, the first one in its note. If a meal needs it before that shop's groceries are in the house, the next shop in the note takes it; if no shop is in time, it stays a warning.

Skip a shop without skipping its groceries. Where you go and whose standard groceries come along are two separate choices. No time for the market this week? Add its standard groceries to the supermarket trip. You check your stock in one round instead of once per list, and everything is on one list.

A product keeps its usual shelf wherever the shop has a shelf by that name. Whatever has no shelf at the shop you are in sits at the bottom under No shelf at …. Tap Shelf and pick one: it is on that shop's route from then on, and still where it was at its own shop.

Know what is in the house. Each product is a note: how it is bought, where it lives, how many to keep in stock. Counting is a tap. Tick a meal as eaten and the stock goes down by what the recipe used.

Keep recipes and products in step. The cleanup screen shows every recipe line that does not yet point at a product and helps you fix it in one place.

Works on the phone. Every screen fits a narrow window, so the list you made on the desktop is the one you tick off in the shop. In the shop, tapping a row ticks it off and holding it opens the product; the tick boxes can move to the right edge for a one-handed thumb.
Your notes stay yours
Cupboard reads and writes ordinary Markdown. Nothing is stored anywhere else, and you can edit every note by hand.
-
Recipes are notes in a folder you choose; New recipe (in the recipe list or the command palette) starts one with the right headings. Ingredients are a bulleted list under an
## Ingredientsheading; a[[wikilink]]in a line points it at a product. Aservingsfield in the frontmatter says how many the recipe is written for. Any other frontmatter field can be shown on the recipe card and used as a filter.--- servings: 4 time: 35 type: [curry] --- # Chickpea curry ## Ingredients - 2 cans [[Chickpeas]] (400 g each), drained - 1 can [[Coconut milk]] (400 ml) - 2 [[Onions]], chopped - 300 g [[Rice]] ## Method 1. ... -
Products are notes too, one per thing you keep in the house. The frontmatter says how it is bought and where it lives; the body is yours.
minimum: 2 # keep at least this many unit: can size: 400 g shop: Supermarket storage: Cupboard shelf: Canned goods count: 1 counted: 2026-09-21Something you never run out of and never measure, such as salt, gets
amount: anyinstead of a size.A product can come from more than one shop. The order is your preference: the first shop is where it usually comes from, and that decides which shopping list it lands on. The next one only takes over when a meal needs the product before the first shop's groceries are in the house.
shop: - "[[Supermarket]]" - "[[Farmers market]]"shelfholds for every shop that has a shelf by that name. Where a shop keeps it somewhere else, that shop gets its own line:shelf: Bread shelves: Corner shop: Biscuits -
Shops are notes with
pantry: shopand a list of shelves in the order you walk past them. Add one with + Shop on the Shelves screen or the New shop command. -
Weekly plans are one note per week. The plan is a
meal-plancode block in the note, and the block renders as the planner itself, so the note and the planner tab are the same thing.
-
Shopping lists are one note per trip in
Cupboard/Shopping/. The choices go in the frontmatter; the body is the checklist, kept in step with the product notes. Tick a box in the note and the product counts as full again.shopsis where you go.staplesappears only when the standard groceries come from other shops than those:shops: - "[[Supermarket]]" staples: - "[[Supermarket]]" - "[[Farmers market]]"
Every note Cupboard writes carries a format number. A device running an older
build reads newer notes but never overwrites them, so two devices on
different versions cannot lose each other's work. While more than one shopping
list is open, the lists carry the newest number: they decide together which
list buys what, and an older build would decide differently. Update Cupboard on
every device before you plan two trips at once.
Getting started
- Install the plugin and enable it.
- Click the chef's hat in the ribbon, or run Cupboard: Open home. The setup walks you through the recipe folder, the meals you plan (dinner only, or breakfast, lunch and dinner), and who eats along.
- Put recipes in the recipe folder. Link ingredients to products with
[[wikilinks]], or run Create products from recipes to make a product note for every linked ingredient at once. - Open the meal planner and drag a recipe onto a day.

Commands
| Command | What it does |
|---|---|
| Open home | The overview with the week and every other screen |
| Open meal planner | This week's plan |
| Open shopping lists | Every open list |
| New shopping list | Start a trip |
| Check stock for all shopping lists | One counting round for every open list |
| Open all stock | Count anything, without a list |
| Open products | The base list of what you keep in the house |
| Open shop shelves | Sort products onto shelves, per shop |
| Open cleanup | Recipe lines that do not yet point at a product |
| New product | Add a product |
| New recipe | A recipe note with the headings Cupboard reads |
| New shop | A shop note with the usual shelves |
| Create products from recipes | A product note for every linked ingredient that has none |
| Cook this recipe | Cook mode for the open recipe note |
| Continue this cooking session | Pick up an open session note |
| Cook one step at a time (focus mode) | Focus mode for the cook view in front; give it a hotkey |
| Run setup | The first-run walkthrough, again |
Settings
Folders for recipes, plans, products, shops, shopping lists and cooking sessions; the day the week starts; how many days ahead a shopping list looks; the meals you plan; the household and each person's portion factor; which recipe fields to show on the cards; how long finished cooking sessions and shopping lists are kept; and which side of a shopping row the tick box sits on.
Development
npm install
npm run dev # watch build
npm run build # tests, type check, minified main.js
npm run test # the tests alone: rules and screens, a few seconds
npm run test:ui # only the screen tests, no Obsidian needed
npm run lint
npm run e2e # checks in a second, throwaway Obsidian in phone mode (macOS)
npm run e2e -- A I # only those sections
node scripts/screenshots.mjs # README screenshots from the demo vault (macOS)
Tests come in three layers. The rules (what is calculated and written) and the screens (what a screen shows, what a click does) both run in Node against a fake vault and a simulated page, on any machine and in CI. The end-to-end checks start a real Obsidian and are kept for what only that can prove: touch, layout around the system bars, and that the plugin loads.
The demo/ folder holds a small sample vault: a household of four, eleven
recipes, the products they use, two shops and a planned week. The screenshot
script copies it into a throwaway vault and drives Obsidian to take the
pictures, so no real vault is ever photographed.
License
MIT
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.