Inspiration

I'm a New York attorney. Clients want to thank their lawyer, firms want to thank their staff, and colleagues want to go in together when someone makes partner. Every one of those ends the same way: someone scrolls Amazon for an hour, then chases six people on Venmo. Gift guides are static and generic, "chip in" means one person fronting the money, and gift registries lock you into one store. I wanted something that knows the world it's shopping for, shows real products from the first second, and makes the chipping-in part effortless. Then I realized every niche has the same problem: nurses, teachers, golfers, new parents, couples. So it became a platform.

What it does

Shopping (any store):

  • The store opens on a grid of real, in-stock gifts for its niche, pulled live from thousands of retailers through Channel3 and CJ Affiliate brands.
  • Describe the person in one sentence ("a litigator who loves coffee, $75"), or answer the questions that appear between the products: occasion, who it's for, budget, your relationship, what they love. Each answer re-ranks the grid. The AI's picks move to the front with a one-line reason written for that person.
  • Group gift: start a pool on any product and share one link. The goal includes an editable estimate for shipping and sales tax (10% by default), so the organizer isn't left short at checkout. Each person chips in through PayPal Checkout, and the money goes straight to the organizer's PayPal account. A live progress bar and a "who's in" list update with each payment.
  • Links that sell themselves: a shared group gift shows the gift's photo and "$40 of $193 raised" right in WhatsApp, iMessage or Slack, and registries and stores get their own previews too.

Gift registry from every store (new):

  • Make a free registry at gift.directory/registry, no account needed. Add gifts by telling the AI what you want ("a KitchenAid stand mixer, 2 cozy throw blankets under $80 and a burr coffee grinder"), by searching hundreds of stores, or by pasting any product link.
  • Guests open one link, buy from whichever store sells it, and tap "I bought this" so nothing is doubled. The owner sees who bought what; other guests don't.
  • Big items get "Go in together": a PayPal group gift for that item, paid straight to the couple. Once it's fully funded, the item shows as bought.
  • Share by Email, Text or WhatsApp in one tap. The owner also gets a ready-made thank-you list of who gave what, to copy into their notes. Guests can ask for one reminder email a week before the date (sent with Cloudflare Email Service); the address is deleted as soon as it goes out.

Running a store:

  • Type who your store is for. The AI drafts the whole store (name, web address, tagline, occasions, search guidance, color), and you can edit anything with a live preview.
  • AI store assistant (new): owners say what they want in plain English ("add a shelf of stocking stuffers for nurses under $25 and hide anything with skulls"). The assistant shows a plan with the actual products it found, and nothing changes until the owner clicks Apply.
  • Sell your own products: connect a Shopify store or an Etsy shop (Etsy Open API v3), paste product links or upload a CSV. They sit on a "From our shop" shelf and the AI can recommend them. Shops re-sync daily.
  • Publish with a $19/month PayPal Subscription. The store is live at yourname.gift.directory while the subscription is active.

576 gift guides (gift.directory/gifts): professions, holidays, hobbies, outdoors and preparedness, fan pages for NFL, MLB, NBA, NHL, WNBA, MLS and college teams and major soccer clubs, fandoms, dog breeds, birthdays and anniversaries. Each page shows one product of each kind (no page of five coffee makers), with AI reasons and an FAQ, and links into a store where a group can chip in with PayPal.

How we built it

  • Cloudflare Workers + D1, no framework. One worker serves the platform, every store, the guides and the registries, and decides which store a request is for from its hostname.
  • PayPal Orders v2: each contribution is its own order with payee set to the organizer (or the registry's owner), captured when the contributor returns. The capture response is what moves the tally, in a single status-guarded transaction, so a refresh, a second tab or a replay can never count money twice.
  • PayPal Subscriptions v1: a catalog product and a $19/month plan, with one subscription per store linked by custom_id. The store's status follows PayPal's own (ACTIVE → live; SUSPENDED/CANCELLED → offline).
  • Log in with PayPal for store owners: the dashboard belongs to the PayPal account that pays for the store.
  • Channel3 product search, CJ Affiliate (GraphQL product search with tracked links) and the Etsy Open API for live prices, stock and retailer links.
  • AI (Qwen3-235B on Nebius Token Factory) for drafting stores, planning searches, picking gifts, the store assistant and the registry helper. The model may only pick products the searches actually returned, by ID or position. Anything it invents is dropped, and every price and link comes from the retailer data, never from the model.
  • Link previews are written into each shared page's <head> on the server with Cloudflare's HTMLRewriter, from the live pool, registry or store.
  • 495 automated tests run against real SQLite built from the production migrations.

Challenges we ran into

  • Paying someone who isn't us. I tested sending contributions directly to another account's PayPal (payee). When the organizer's email had no PayPal account, the capture came back PENDING / UNILATERAL: the contributor had paid, but the money was waiting to be claimed. I changed the tally to count it and show the organizer a "claim your money" notice.
  • AI shelves full of the same thing. Asked for "stocking stuffers", one search returned four ornaments. Now the assistant searches 4–6 different product kinds, the model ranks them, and code takes the best of each kind in turn.
  • Words that mean two things. "Bow case" found double-bass cases, "deer call" found a hair spray, and the EMT page's "stethoscope" turned out to be a mechanic's tool for engines. Every guide slot now has words the product title must contain, plus per-page exclusions, and an empty slot beats a wrong one.
  • Keeping the AI honest about products. Models happily invent a "Montblanc pen, $89". The pick step only accepts products from the search results, and the tests prove an invented one is dropped.

Accomplishments we're proud of

  • A real end-to-end flow on the PayPal sandbox: AI-picked gift → group gift → contributions paid to the organizer → live tally, plus a paid store subscription that brought a second store (Nurse Gifts) online.
  • A registry that isn't tied to one store, with PayPal group gifts built in.
  • Store owners get an assistant that does the tedious curation, but never changes anything without their OK.

What we learned

PayPal's payee field plus the capture response gives you a "pay a friend" group gift with no platform custody of funds, and the same pattern turns a registry's big items into group gifts. Product-first, question-second makes for a much better shopping experience than a questionnaire. And an AI that proposes while a person approves is the right shape for anything that changes a live store.

What's next

  • Revenue share: affiliate commissions split with store owners via PayPal Payouts.
  • Custom domains for stores (Cloudflare for SaaS).
  • Deadlines that refund a group gift automatically if it isn't filled.

Built With

  • channel3
  • cj-affiliate
  • cloudflare-d1
  • cloudflare-workers
  • etsy
  • javascript
  • nebius
  • paypal
  • paypal-subscriptions
  • qwen
Share this project:

Updates

Submission history