Skip to content
TriedPrompts

More in Groceries & food delivery.

Build a grocery list app sorted by store aisle with Claude

A Hacker News commenter used Claude to build a grocery list app that sorts by store aisle, for about $0.30 instead of $5 a month.

Result: WorkedTool: ClaudeLevel: AdvancedSetup: Needs API

Copy the prompt

Outcome

A Hacker News commenter didn't want to pay $5 a month for a grocery list app, so they used Claude to reverse-engineer their grocery store's API and build their own. The app automatically pulls in the aisle for each item and sorts the list by the way the commenter usually walks through the store. The commenter put the cost at about $0.30 of Claude usage, one time, and noted that it would be hard to scale but works fine for one user.

What to copy

Copy this core ask: A personal grocery list that sorts itself in the order you walk your store.

What to change for your situation

Replace these placeholders with your details: [NAME AND LOCATION], [AISLES IN ORDER], [PHONE OR TABLET], [STORE], [AISLE ORDER]. Typical inputs to personalize: Store, Aisle data, Walking order, Device.

Evidence: Described by posterThe person describes what happened in words, without screenshots or video.

WorkedEvidence: Described by posterPosted Last checked

Level: Advanced. You need: A tool that takes actions for you or writes code, connected accounts, or some setup on your computer.

How to use this

  1. Tap Copy prompt.
  2. Open Claude.
  3. Paste it into the message box.
  4. Replace anything in [CAPITAL LETTERS IN BRACKETS] with your own details.
  5. Send it, then read the answer before acting on it.
New to this? What's a prompt?

A prompt is the message you send to the AI tool. Copy the one on this page, put your own details where it asks, and read the answer before you act on it.

Prompt

Recreated prompt

The source didn't share its exact prompt, so we wrote one from what it describes. The result shown is the source's, not ours.

What the prompt labels mean

The person didn't share their exact words, so we wrote this from what they described. We haven't tested it, and they didn't use this exact version.

Help me build a simple grocery list web app for my phone. When I add an item, look up its aisle at my store [STORE] using [THE STORE'S PUBLIC PRODUCT SEARCH OR API] and sort the list in the order I walk the store: [AISLE ORDER]. Keep it for one user, explain how to run it, and stop if the store's terms don't allow this kind of use.

Try this in:

This prompt has blanks to fill in, like [STORE]. We'll copy it instead of filling it in, so you can edit it before you send.

The source used Claude. These are general chat tools, so results may differ.

Opens in a new tab. We don't see what you send.

These links are only a shortcut. We're not affiliated with OpenAI, Google, Anthropic or xAI, and your results may not match the source.

Optional stronger version

Our rewrite with extra checks. The poster didn't test it.

Before you start, ask me 1–3 short questions about the details below and wait for my answers. Once I've answered, confirm the plan in one line and run the whole task start to finish.

Goal: A personal grocery list that sorts itself in the order you walk your store.

Questions to ask me first:
- Which store do you shop at, and does it show aisle numbers online?
- What device will you use the list on?
- How comfortable are you running a small app?

Inputs (fill in or confirm):
- Store: [NAME AND LOCATION]
- Aisle data: [WEBSITE, APP OR API]
- Walking order: [AISLES IN ORDER]
- Device: [PHONE OR TABLET]

Rules:
- Check the store's terms before using its data, and use only public or permitted access.
- Keep it for personal use, with no accounts or payments.
- Fall back to manual aisle entry if lookup fails.
- Explain setup in plain steps.

Checkpoint: Show me how you'll get aisle data before writing the app.

If you get stuck: If the store's data can't be used, build manual aisle tagging instead.

Verify before you finish: Add 10 test items and confirm each is sorted in walking order.

Output: A working one-user list app with setup steps.

Done when: My list sorts itself by aisle and I walk the store once.

AI tool

Claude

Source

Posted
by noelsusman (Hacker News)
Last checked
Method:
How we verify

https://news.ycombinator.com/item?id=47025006

Context: Hacker News comment; date from the comment's timestamp. The store isn't named; check a store's terms before using its data.

Tell us how it went A reader message. It is not published on this page, and it is not a test of the prompt.

More in Groceries & food delivery

More in ShoppingRandom case in Shopping