<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-i-built-an-mtg-deck-analyzer-with-tanstack-start-and-inngest-70kcirdv7" -->

---
title: How I Built an MTG Deck Analyzer with TanStack Start and...
description: A developer built a Magic: The Gathering Commander deck analyzer as a way to showcase Inngest's durable functions and Realtime streaming. The app takes a...
canonical: https://daily.dev/posts/how-i-built-an-mtg-deck-analyzer-with-tanstack-start-and-inngest-70kcirdv7
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How I Built an MTG Deck Analyzer with TanStack Start and Inngest | daily.dev
og:description: A developer built a Magic: The Gathering Commander deck analyzer as a way to showcase Inngest's durable functions and Realtime streaming. The app takes a...
og:url: https://daily.dev/posts/how-i-built-an-mtg-deck-analyzer-with-tanstack-start-and-inngest-70kcirdv7
og:image: https://api.daily.dev/og/posts/70KCIRdv7.png
og:image:alt: How I Built an MTG Deck Analyzer with TanStack Start and Inngest
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How I Built an MTG Deck Analyzer with TanStack Start and Inngest

**[Inngest Blog](https://daily.dev/sources/inngest)** · 6 min read · 0 upvotes · 0 comments

## Summary

A developer built a Magic: The Gathering Commander deck analyzer as a way to showcase Inngest's durable functions and Realtime streaming. The app takes a Moxfield decklist and fans out parallel steps (Scryfall enrichment, EDHREC salt lookups, four bracket signal checks, a composition report, and a Claude-generated roast) using Promise.all over step.run, with each step publishing results to a typed Zod-validated channel so the UI streams results live rather than waiting for the whole job to finish. The stack is TanStack Start, Inngest, Scryfall, EDHREC, Commander Spellbook, Claude, Tailwind, Biome, Vitest, and Cloudflare Workers.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.inngest.com/blog/how-i-built-an-mtg-deck-analyzer-with-tanstack-start-and-inngest>

## Questions this post answers

### How do you stream live progress updates from a backend function to a React frontend without managing WebSockets manually?

Use a typed pub/sub channel where the backend publishes to named topics as each step completes and the frontend subscribes to the same channel definition. With Inngest Realtime, a channel is declared once with Zod schemas per topic, the function calls inngest.realtime.publish inside each step, and the client's subscribe() call narrows each incoming message to its topic's typed payload automatically, with no polling or manual socket handling required.

_daily.dev surfaces patterns like this for developers wiring up live UI updates from backend workflows._

### How do you run 99 parallel API calls per deck without writing custom retry and concurrency logic?

Wrap each call in its own step.run inside a Promise.all fan-out; each step gets a stable ID, runs independently in parallel, retries failures in isolation, and memoizes results across replays. In practice, a 99-card Commander deck produces 99 independent steps with zero extra plumbing, and Scryfall rate-limit errors on one batch get retried automatically while the rest of the fan-out keeps progressing.

_Developers designing resilient fan-out jobs can find similar durable-execution patterns on daily.dev._

## Similar posts on daily.dev

- [How to Build a Full-Stack SaaS App with TanStack Start, Elysia, and Neon](https://daily.dev/posts/how-to-build-a-full-stack-saas-app-with-tanstack-start-elysia-and-neon-g8qmizthw) · freeCodeCamp · 71 upvotes · 5 comments
- [A gentle introduction to TanStack Query](https://daily.dev/posts/a-gentle-introduction-to-tanstack-query-e5yjmxkk9) · Neciu Dan · 79 upvotes · 5 comments

---

Tags: [#inngest](https://daily.dev/tags/inngest), [#tanstack](https://daily.dev/tags/tanstack), [#typescript](https://daily.dev/tags/typescript)

[View this post on daily.dev](https://daily.dev/posts/how-i-built-an-mtg-deck-analyzer-with-tanstack-start-and-inngest-70kcirdv7)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How I Built an MTG Deck Analyzer with TanStack Start and Inngest","url":"https://daily.dev/posts/how-i-built-an-mtg-deck-analyzer-with-tanstack-start-and-inngest-70kcirdv7","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-i-built-an-mtg-deck-analyzer-with-tanstack-start-and-inngest-70kcirdv7"},"datePublished":"2026-09-13T19:57:48.346Z","dateModified":"2026-10-15T02:24:53.304Z","description":"A developer built a Magic: The Gathering Commander deck analyzer as a way to showcase Inngest's durable functions and Realtime streaming. The app takes a...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/0efc6dd18555a1649a5a68b960a3db2c?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/0efc6dd18555a1649a5a68b960a3db2c?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Inngest Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Inngest Blog","logo":"https://media.daily.dev/image/upload/s--ieZKUa5y--/c_limit,w_256/f_auto,q_auto/v1789329423/logos/inngest?_a=BAMAMicg0","url":"https://daily.dev/sources/inngest"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-i-built-an-mtg-deck-analyzer-with-tanstack-start-and-inngest-70kcirdv7","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"inngest,tanstack,typescript","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Inngest Blog","item":"https://daily.dev/sources/inngest"},{"@type":"ListItem","position":3,"name":"How I Built an MTG Deck Analyzer with TanStack Start and Inngest"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/how-i-built-an-mtg-deck-analyzer-with-tanstack-start-and-inngest-70kcirdv7#faq","mainEntity":[{"@type":"Question","name":"How do you stream live progress updates from a backend function to a React frontend without managing WebSockets manually?","acceptedAnswer":{"@type":"Answer","text":"Use a typed pub/sub channel where the backend publishes to named topics as each step completes and the frontend subscribes to the same channel definition. With Inngest Realtime, a channel is declared once with Zod schemas per topic, the function calls inngest.realtime.publish inside each step, and the client's subscribe() call narrows each incoming message to its topic's typed payload automatically, with no polling or manual socket handling required. daily.dev surfaces patterns like this for developers wiring up live UI updates from backend workflows."}},{"@type":"Question","name":"How do you run 99 parallel API calls per deck without writing custom retry and concurrency logic?","acceptedAnswer":{"@type":"Answer","text":"Wrap each call in its own step.run inside a Promise.all fan-out; each step gets a stable ID, runs independently in parallel, retries failures in isolation, and memoizes results across replays. In practice, a 99-card Commander deck produces 99 independent steps with zero extra plumbing, and Scryfall rate-limit errors on one batch get retried automatically while the rest of the fan-out keeps progressing. Developers designing resilient fan-out jobs can find similar durable-execution patterns on daily.dev."}}]}
```

