← All projects

PaffyTaffy

Halo Infinite head-to-head records: type your gamertag and see how you stack up against me, playing against or with.

Web platform · Live at paffytaffy.com

React 19Vite 7Tailwind CSS 4Radix UIPythonDuckDBExpress 5MCP
Visit paffytaffy.com
The paffytaffy.com home page: Paffytaffy's Spartan against a mystery challenger, a gamertag search, and featured head-to-head records
The home page: Paffytaffy against a mystery challenger.

Why I built it

Paffytaffy is my gamertag in Halo Infinite. Play enough Arena matches and the same names keep turning up, on my team and across from me, and sooner or later the question comes up: who's actually better?

PaffyTaffy answers it from the matches we actually played together. Both sides are measured on the same matches, so the comparison is fair.

How it works

  • Type your gamertag. If we've shared at least three Arena matches, you get our record, with its own link to share.
  • Against: the matches where we were on opposite teams, with wins, losses and a verdict.
  • With: the matches where we were teammates, with the team's record and our stats side by side.
  • Stat for stat: K/D, accuracy, headshot percentage, and damage and assists per match, plus each player's ranked Arena rank when it's known, and the matches behind it all.
  • A leaderboard shows who beats me, ranked by how far ahead they are, and who I beat.

The same numbers work in ChatGPT. A plugin with two read-only tools answers how you do against Paffytaffy, and who's on the leaderboard.

How it's built

  • A Python tool on my Mac signs in to Xbox with my account and pulls my Arena match history from Halo Infinite's API, through the SPNKr library. Each batch is saved as raw JSON that never changes, so everything after it can be rebuilt.
  • Separate passes fill in gamertags, map and mode names, medals and armor, because those lookups are strictly rate-limited.
  • DuckDB flattens it all into one row per player per match, with teammates and opponents worked out ahead of time.
  • An export turns that into static JSON (a search index, plus a head-to-head file and a match list for each player) and publishes it to a public data repo on GitHub Pages.
  • The site is React 19, Vite 7, Tailwind CSS 4 and Radix UI, built as static files and hosted on Replit. It reads the data from GitHub Pages, so new matches show up without a new deploy.
  • The ChatGPT plugin is an MCP server in TypeScript and Express 5, also on Replit, reading the same data. It's stateless and read-only, and it answers with gamertags only.
  • My Xbox sign-in never leaves my Mac.

Where it stands

Live at paffytaffy.com. I run the sync on my Mac to bring in new matches.

The ChatGPT plugin works in my own ChatGPT. Next: getting it listed in ChatGPT's plugin directory.

Want something like this for your business?

Tell me what's slowing you down.

Start a project