Seattle Grocery Deals

How it works

A new flyer goes from a store's website to this site, the app and your phone with nobody pressing a button. Here is the route one flyer takes.

The route, step by step

  1. A store posts its new flyer

    Where it runs: The store's own website

    Each store puts its weekly ad on its own site: a page, a set of images or a PDF. That is the only source. This site never uses flyer aggregators, and it links back to every flyer it reads.

  2. The watcher notices

    Where it runs: GitHub Actions, every 30 minutes

    A small script visits each store's flyer page and takes a fingerprint of it: the addresses of the flyer images or PDF, or the printed sale dates. A fingerprint that differs from the last one means a new flyer. A page that fails to load never counts as a change.

  3. Claude reads the flyer

    Where it runs: A Claude Code routine, in the cloud

    The watcher starts an AI agent and tells it which stores changed. It opens each flyer and reads every page, writing down each grocery item with the price exactly as printed. A price it can't read clearly is left out, never guessed. Snacks, drinks and ready-made meals are skipped.

    PCC Community Markets, Red Apple Markets, T&T Supermarket and Seafood City sit behind a bot check that a cloud reader can't pass. The site doesn't try to get around it. Those flyers are read from a regular desktop browser instead.

  4. The rows become data, and get checked

    Where it runs: Scripts in the site's code

    Scripts turn those rows into the week's data file. Each item is matched to a shared catalog, so chicken thighs at one store can be compared with chicken thighs at another, and with past weeks. A validator then checks the math: unit prices, percent off, dates.

    Anything odd gets flagged, like a price three times its last listing. The agent fixes what the flyer can settle, the update is saved to the site's public code, and whatever is left goes to the owner to check by hand.

  5. The site rebuilds itself

    Where it runs: GitHub Actions and GitHub Pages

    Every saved change starts a rebuild, and so does every hour. The build ranks the deals, picks the standouts by the rules on About, and writes every page as plain HTML. It also writes one feed file, week.json, with the same deals for anything that isn't a web page. There is no database: the data files are the record.

  6. New deals are in

    Where it runs: Firebase Cloud Messaging, then Apple

    Once the new pages are live, a last job works out which stores got a new flyer in that update and sends a notification to the people who picked those stores in the app. A marker per flyer makes sure nobody hears about the same one twice.

Where it comes out

Everything reads the same data, so the site, the app and an assistant always agree on a price.

  • This site

    Plain pages from GitHub Pages. Your list, your stores and your display settings are kept in your browser and nowhere else.

    See this week
  • The app

    For iPhone and iPad, in beta on TestFlight. It fetches the same feed when you open it, and matches your list and price watches on the phone.

    About the app
  • AI assistants

    A small Cloudflare Worker reads the same feed and answers questions from Claude or another assistant. It keeps nothing.

    Connect an assistant

What isn't here, on purpose

  • No servers of its own. Every step runs on a service that already exists, so there is nothing to keep awake at night.
  • No database. Each week is one file in the code, and every week is public.
  • No accounts. With no sign-in, there is nothing about you to store.

The one thing that flows back is anonymous usage. The site and the app send page views and taps to Amplitude, set up to be private, and "People are adding" on This week comes from how often each deal is added to a list. More on the privacy page.

The parts

Flyer watcher
Spots a new flyer
GitHub Actions
Flyer update
Reads the flyer and writes the data
Claude Code routine
Item catalog
Matches the same item across stores and weeks
A file in the code
Build
Checks, ranks, writes the pages and the feed
GitHub Actions
Website and feed
Serves the pages and week.json
GitHub Pages
Notifications
Tells people their store has new deals
Firebase and Apple
Assistant server
Answers AI assistants from the feed
Cloudflare Worker
App
The same deals on iPhone and iPad
SwiftUI
Usage
Page views and taps, anonymous
Amplitude

The code for all of it is public: see the source on GitHub.