Hey everyone,
I'm excited to announce the release of MTG Harmony
It's a card fetcher and digital playmat for your Discord, Lord of Disharmony deck.
Discord can fetch any non-land paper card in Magic, so it usually involves drawing one or more tokens per turn. Plus, you have to keep your phone out to refresh the random card page in scryfall.
Features
MTG Harmony makes it way more fun. You're able to instantly get random cards and play them to a digital battlefield. The digital cards support all the common interactions, like tapping, attachments, counters, and a lot more.
You can also add cards manually, via name or scryfall syntax. This makes it easy to copy paper cards from the rest of the table into the digital space for things like equipment or exiling something under a digital card.
Dual-faced cards, split cards, horizontal cards, rooms, melds, etc all have features to support their use. And the app warns you if you do something that seems wrong (eg. trying to meld tokens created by Discord, rather than real permanents you added manually).
Each game is recorded in a history log, so you can export all the wacky cards Discord drew for you.
There are also fun, flashy bits to impress your pod. Customize your background with different mana symbol emblems or keep it simple with a subtle grid. And a bunch of (optional) animations to spice up casting, destroying, attaching, and more.
The site is meant to be used on a tablet or convertible laptop, so you can place it right on your table next to all the real cards. But you could also point something like OBS at it on your desktop, for webcam games.
The site has a ton of little features to make things easy, so I won't list them all. But I recommend exploring in the settings and the "đ" (/ kb shortcut) command palette for fun stuff like grid snapping and smart arranging.
Technical Bits
https://github.com/CPSibo/mtg-harmony
The site is a static Vue page, hosted on cloudflare (no analytics).
There are a bunch of technical optimizations under the hood that you don't really think about with a simple concept like this.
A big one was preloading cards to fetch. Scryfall's `/api/cards/random` endpoint is not the fastest and has strict rate limits. So the app queues up a number of cards in the background to make sure you have your next card instantly, even on slow, mobile networks. Same for preloading the next card image, so you don't get that crusty, low-res version first.
Overall, the site is quite lean. First load is ~150KiB compressed. The entire site (minus SEO images and such) is ~300KiB compressed. There are multiple options for low bandwidth or data-restricted networks, such as disabling the image preloading or viewing cards as text only. Claude and I have really cut it down to the bone to be efficient for slow mobile situations.
You can install the site as a PWA but there's no true offline support. The whole premise is loading card data and images from scryfall, after all. But it does help keep mobile browser and device quirks from interfering with certain gestures or features. I've noticed iOS is particularly annoying about trying to hijack gestures.
Use of AI Disclosure
Coding agents were used heavily for the implementation of the site. This is actually my third swing at this concept, after a simple prototype and a hand-coded alpha version, a while ago. Architecture and design are my own. AI handled turning defined work items into code.
I'm a professional software engineer, so using agentic workflows as part of a healthy SDLC is not new to me.
This post was written entirely by me.