← Back to projects

Case study · Side project · 2026

Blinkádex

A collector companion for the Blinkit × Pokémon bag campaign. Snap a bag on WhatsApp, confirm the match, and track all 15 designs on the web. It started because I was collecting the bags myself, and I took it from two spec documents and a Claude Design prototype to a working production app in one morning, building with Claude Code.

Deployed 24 Sep 2026 Personal side project, never launched publicly Retired 31 Oct 2026, as promised Product, design direction & build Built with Claude Code
blinkadex.com
Blinkádex landing page on desktop: yellow hero reading Collect all 15 bags, with Start on WhatsApp and Browse the collection buttons
Collector dashboard on mobile showing 9 of 15 bags collected
15 / 30Collectible bags and the Pokémon printed on them, one on each side
2h 37mFrom first commit (09:25) to a deployed site with its legal page (12:02), 24 Sep 2026
37Automated tests, 120 assertions, covering login, webhooks, recognition and inventory
18Distinct screens and states, each built for mobile, tablet and desktop

The idea

A Pokédex for paper bags

In 2026, Blinkit ran a campaign that put Pokémon on its kraft-paper delivery bags: 15 bag designs, each carrying two Pokémon, 30 in total. I was collecting them. A few bags were missing from my set, and I wanted to know whether any of my friends had them. You can't choose which bag your groceries arrive in, so the only way to finish a set is to trade, and there was no easy way to see who had what.

That one question, "do any of my friends have #12?", grew into a whole product: a catalogue of every bag, a way to log the ones you have, and eventually a way to match missing bags with friends' spares.

Blinkádex is that missing piece. It works like a Pokédex for the bags. You send a photo of a bag on WhatsApp, the app recognises the design, you confirm it, and your collection updates. The website shows your progress, what you still need, your duplicates, and later, which friends have the bags you're missing.

WhatsApp was the deliberate front door. The audience already has the bag in one hand and WhatsApp open in the other. Nobody has to install an app, make an account or remember a password: login is a six-digit code sent to the same WhatsApp number.

My role
Product owner and designer of record. I wrote the functional spec and the UI/UX brief, directed the design in Claude Design, made the architecture and hosting decisions, and confirmed the real bag data.
Built with
Claude Code as the engineering partner, working from my specs and design, with me reviewing and steering every decision.
Audience
Me and friends collecting the bags. Designed so any Blinkit customer in India could use it on their phone.
Status
Release 1 was deployed to production at blinkadex.com and worked, but I never launched, published or marketed it. It was a fun side project. The site and its data were scheduled for deletion on 31 October 2026, as the legal page promised.

The core loop

Photo, confirm, collect, connect

Every part of the product supports one short loop. The spec's guiding rule: the inventory changes only after a human confirms, never on the model's say-so.

  1. Snap it

    Send a photo of the bag to the Blinkádex WhatsApp number, or upload one on the web.

  2. Confirm it

    The app suggests a match with a confidence score. You confirm it, choose from the likely options, or retake the photo.

  3. Collect it

    The bag joins your collection. Progress, missing bags and duplicates update on WhatsApp and the web at the same moment.

  4. Connect

    Release 2 and 3: invite friends you know, see mutual matches and arrange swaps for your duplicates.

Starting artefacts

What I handed to the build

Before any code, I wrote two implementation-ready documents (both dated 24 September 2026) and a hi-fi prototype in Claude Design. These were the source of truth throughout the build, and the build was checked against them.

Functional specification · 20 sections

What the system must do

Scope and releases, roles, user journeys, catalogue and inventory rules, the WhatsApp bot, image recognition, authentication, friends and privacy, swaps, admin, data model, API contracts, edge cases and acceptance criteria.

  • Inventory metrics defined precisely: duplicates are the sum of max(quantity − 1, 0)
  • Recognition thresholds: 90%+ shows one match, 65–89% shows up to three, below 65% asks for another photo
  • OTP rules: 5-minute expiry, 5 attempts, 60-second resend, hashed and never logged
UI/UX design brief · 15 sections

How it should look and feel

Design vision, tokens, navigation, a page-by-page spec for every route with its required states, the component library, responsive and accessibility rules, and the WhatsApp conversation designs.

  • "A personal digital collection device, not a corporate inventory dashboard"
  • Card states for collected, missing, duplicate and swap-available bags
  • Celebrations last 1–2 seconds, can be skipped and respect reduced motion
Claude Design prototype · 2 passes

The hi-fi source of truth

An interactive prototype covering every R1 screen. The build connected to it live instead of working from a one-off export, and committed snapshots of each pass to the repo. When the design changed, the diff became a short list of edits instead of a rebuild. Pass 1 drove the first build. Pass 2 added the tablet and desktop layouts.

Brand mark

Bag meets device

The approved icon set the visual language: a kraft-paper bag beside a red handheld catalogue device on Collector Yellow. Every surface in the app draws from it, from the red "device" progress card to the bag tiles.

Collector Yellow#FFDF45 · hero

Collector Red#E94141 · device

Kraft Brown#B87B42 · paper

Collector Green#16834A · success

Ink#252525 · text

Cream#FFF8E8 · surface

Type: Fredoka for display, Nunito Sans for body. 8px spacing grid, 16px mobile gutter, 44px minimum touch target. This page uses the same tokens.

Release plan

Three releases, one built

The spec split the product into three releases so the core loop could ship on its own. Release 1 reached production. The Friends and Swaps tabs already sit in the app's navigation, holding their place for the releases that fill them.

ReleaseScopeStatus
R1 CoreCatalogue, WhatsApp onboarding and bot, recognition and confirmation, inventory, OTP login, dashboard, manual correctionIn production
R2 SocialInvitations, permissions, friends, collection comparison. Safety copy already written: "Only invite people you know."Designed
R3 ExchangeSwap proposals, mutual confirmation of physical hand-over, achievements for swapsDesigned

Out of scope by design: payments, shipping, public inventories and any open marketplace. Swaps are between friends who have both accepted the connection.

The product, screen by screen

Every screen in Release 1

Public pages were captured from the production site on 31 October 2026, its last day. Collector screens show a demo collector, nine bags into Season 1. Select any screen to see the full page.

Architecture

Ruby on the back, React on the front

I wanted a Ruby backend but a more capable frontend than server-rendered HTML, so we chose Rails with Inertia.js. Rails keeps the routing, controllers and data, and React renders each page, without a separate API to maintain.

Entry points

Web (mobile-first)React 19 + TypeScript pages, Tailwind with the brand tokens, built by Vite
WhatsApp Cloud APISigned webhook, deduplicated by message ID. Commands: Hi, YES/NO, my collection, missing, duplicates, help

Rails 8.1 + Inertia

OtpServiceHashed 6-digit codes, 5 min / 5 tries / 60 s resend, rate limits on phone and IP
InventoryCommitterThe single path for every inventory change: a transaction, row lock and appended event. Idempotent, so a double tap or a repeated WhatsApp "YES" adds a bag once.
CollectionSummaryOne definition of progress, duplicates and missing, shared by the bot and the web so they never disagree
RecognitionBackground job behind a recognizer interface with the spec's 90 / 65 thresholds. A stand-in recognizer until a vision model is trained on real photos.
CatalogueSyncLoads Season 1 from a YAML file on every deploy. The catalogue, not the model, decides what a bag is.

AWS, ap-south-1

EC2 t4g (arm64)Deployed with Kamal 2. kamal-proxy handles HTTPS with Let's Encrypt.
RDS PostgreSQLIts own small instance, separate from the other project in the account
S3 · ECR · Route 53Private photo storage with 30-day expiry, the container registry, and DNS for blinkadex.com
Secrets ManagerDatabase password injected at deploy time and never committed
Live in R1Built behind an interface, with a stand-in until the external service is approved

Data model

Campaigns own collectibles. Each bag links to two characters through a join table. user_inventories has a unique constraint per user and bag, and check constraints keep quantities from going negative or above what's owned. inventory_events is an append-only audit trail. Image submissions, OTP requests and WhatsApp messages are stored for idempotency and audit.

Privacy by default

Collections are private. Photos sit in a private bucket and expire after 30 days. Login never reveals whether a number has an account. The Release 2 design shares only the fields a collector explicitly allows, never phone numbers, notes or photos.

Catalogue as data

The real Blinkit × Pokémon pairings live in one commented YAML file, with each bag marked as confirmed on a physical bag, inferred from a collector's photo, or a guess. The file stores names and types only, never the copyrighted descriptions printed on the bags.

Tested on the flows that matter

37 tests cover the OTP service, inventory committer, collection summary and catalogue sync, plus end-to-end flows: a repeated WhatsApp "Start", a re-delivered webhook, a bad webhook signature, and confirming the same photo twice. These caught real bugs before the first deploy.

Season 1 catalogue

Fifteen bags, verified by hand

Blinkit hasn't published which Pokémon share each bag, so the catalogue was assembled from real bags I had in hand and from photos shared by other collectors. Each confirmation became its own small commit, and the last one completed all 30 Pokémon. One wrong guess, Moltres, turned out not to be on any bag and was removed.

BagPokémon pairVerified
#01Pikachu & EeveeOn a real bag
#02Venusaur & LaprasOn a real bag
#03Blastoise & OnixOn a real bag
#04Raichu & FlareonOn a real bag
#05Meowth & PsyduckOn a real bag
#06Vaporeon & JolteonInferred from photo
#07Gengar & MachampInferred from photo
#08Jigglypuff & LickitungOn a real bag
#09Magikarp & DittoOn a real bag
#10Growlithe & RapidashOn a real bag
#11Articuno & MewtwoOn a real bag
#12Bulbasaur & SquirtleOn a real bag
#13Bellsprout & AlakazamOn a real bag
#14Charizard & DragonitePair unconfirmed
#15Snorlax & ArcanineOn a real bag

12 confirmed on physical bags, 2 inferred from a collector's photo, 1 pairing still unconfirmed when the site closed. Bag numbers are Blinkádex's own; Blinkit's numbering isn't public.

Build log · 24 September 2026, IST

Spec to production in one morning

Every step below is a commit on the main branch. The planning, spec review and AWS provisioning happened in the same working session.

  1. ScaffoldRails 8.1 with Inertia, React, TypeScript, Tailwind and Vite
  2. Release 1 coreCatalogue, inventory, OTP login, recognition flow, WhatsApp bot and every v1 screen, with tests
  3. Account menuThe avatar no longer logs you out instantly
  4. Deploy pipelineKamal to EC2 arm64 with ECR, RDS and S3
  5. Infrastructure wired inEC2 host, RDS endpoint, database password from Secrets Manager
  6. Served on blinkadex.comHTTPS on the apex and www domains
  7. Design pass 2Tablet and desktop layouts pulled from Claude Design and applied as a diff
  8. PolishRoom for the floating Add button, sticky CTA aligned to the content column
  9. Real catalogueBlinkit × Pokémon data moved to a YAML file, synced on every deploy
  10. Nine catalogue commitsPairings confirmed on real bags one by one. Moltres removed. Snorlax & Arcanine completed all 30.
  11. Legal good practiceNew tagline, trademark notice, Legal & privacy page
  12. Closing date setPublic commitment: the site and all data deleted on 31 October 2026

Working with AI

Where I steered, and where Claude pushed back

I keep a building log for each session. The most useful entries are the disagreements, so here they are from both sides.

What I decided and pushed back on

  • Asked for a Ruby backend with a stronger frontend, which moved us from the default Rails + Hotwire to Rails + Inertia + React. I asked what Inertia really is before committing to it.
  • Chose a live connection to the design tool over a one-off zip export, because the design would keep changing, and asked exactly how updates would flow in.
  • Told the build to follow design pass 1, because pass 2 wasn't finished yet.
  • Named the AWS account to use, and at first proposed sharing an existing database to save cost.
  • Asked whether a subdomain of my personal site would build its search authority better than a separate domain.
  • Confirmed every catalogue pairing myself against real bags, and set the public closing date.

What Claude caught or corrected

  • The design said OTP codes last 10 minutes with 3 tries, but the spec said 5 minutes and 5 tries. Claude flagged the conflict instead of quietly picking one. We followed the spec.
  • The account ID I gave matched a local CLI profile for a different project. Claude confirmed with me before touching it.
  • Sharing the other project's database looked cheap, but that project is Terraform-managed: a hand-added firewall rule would count as drift and could be deleted on the next apply. Claude recommended a separate small instance, and I agreed.
  • On domains: subdomains pass little authority, and "domain authority" is a third-party score, not a Google metric. The real lever is a write-up like this one on my own site.
  • Rails generators ran faster than one per second and produced invalid migration timestamps. Claude re-stamped them with real times before any had run.
  • Tests caught a JSON library upgrade that crashed every page after the first visit, a misnamed controller method that silently broke the WhatsApp webhook, returning users blocked from login, and bot replies sent out of order.
  • When the AWS user lacked permissions, Claude stopped and reported it instead of reaching for another project's credentials.

Why it stayed a side project

Built to work, never launched

Blinkádex reached production and worked end to end, but I chose not to publish it. Two things decided that.

Timing. The campaign launched well before I started ordering from Blinkit, so my bags arrived late. By the time Blinkádex was built, only about five or six days of the campaign were left. That was too little time to market a collector app properly.

Legal exposure. The product's whole value depends on two names it doesn't own, Blinkit and Pokémon. Even with disclaimers, an unofficial app built around those trademarks carried more legal risk than a weekend project was worth taking on in public.

So it stayed what it started as: something I built because I liked the idea, and a chance to take a product from spec to production quickly and properly.

Responsible by design anyway

Blinkádex was never affiliated with Blinkit or The Pokémon Company, and every page said so. Both spec documents opened with a rights note. The site uses Pokémon names only to identify which bag you have, and copies none of the official artwork or descriptions: the bag artwork is an original illustration.

Because a collection tracker only matters while the campaign runs, I gave it a public expiry. The Legal page committed that on 31 October 2026 the site and all data, including phone numbers, photos and collections, would be permanently deleted. That means the database without a final snapshot, the photo bucket, the server, the container registry, the secrets and the DNS records.

Honest status of Release 1

The site was deployed on blinkadex.com but never shared publicly. The collector app and WhatsApp bot were fully built and tested end to end, but two external pieces stayed behind interfaces: WhatsApp Business API approval for sending real messages and codes, and a vision model trained on real bag photos. Until those arrived, a log-only WhatsApp client and a stand-in recognizer took their place. Each sits behind a single seam in the code, so the real services plug in without touching the flows around them.

Takeaways

What I'd carry into the next build

  • Write the spec before the prompt. Two precise documents meant the AI built to acceptance criteria, not to vibes. When the design and spec disagreed, there was a written rule to settle it.
  • Keep the design live and snapshot it. A committed copy of each design pass makes every design change a diff instead of a rebuild.
  • Let a human settle security rules. When two sources disagree, surface it. Don't let whichever file was read last win.
  • Shared cloud accounts hide constraints. Check whether infrastructure is managed as code before touching it. A quick manual fix can turn into silent drift.
  • Test the flows people actually repeat. Returning users, double-tapped confirms and re-delivered webhooks are where the real bugs were.
  • Check the names and the calendar before you build. A product built on someone else's trademarks, tied to a campaign with days left to run, can be well built and still not be launchable. Next time I'd weigh both on day one.
  • Give temporary products an exit. A public closing date made the privacy promise concrete and kept the scope honest.

If it ran another season

  • WhatsApp Business approval, so the bot and login codes go out for real
  • A vision model trained on collectors' photos and calibrated against the 90 / 65 thresholds
  • Release 2 friends and comparison, then Release 3 swaps with mutual hand-over confirmation
  • An admin console for reviewing low-confidence recognitions and managing the catalogue