Back to projects
🃏

PlaneswalkerHub Tracker

MTG Commander game tracker and stats bot for Discord

JavaScript Discord.js v14 Supabase MeiliSearch Docker

Overview

PlaneswalkerHub Tracker is the Discord bot powering the competitive side of planeswalkerhub.com — a community hub for Magic: The Gathering Commander players. It brings structured game logging and analytics directly into Discord, where MTG groups already hang out.

Players register completed Commander games with up to 5 participants, choosing their commanders via MeiliSearch-powered autocomplete. The bot tracks win rates, average positions, commander performance, and head-to-head matchups — all scoped per Discord server so each community has its own private leaderboard.

Use Cases

📊

Track your meta

See which commanders dominate your local playgroup and who has the best win rate.

⚔️

Head-to-head

Compare two players' performance directly against each other across all recorded games.

📜

Game history

Browse past games with pagination — filter by player or guest to review specific histories.

🏆

Competitive leagues

Maintain an ongoing record across seasons; position-based ranking supports pods of 3 to 5.

Commands

Architecture

Tech Stack

JavaScript (ESM)
Discord.js v14
Supabase (Postgres)
MeiliSearch
Docker
GitHub Actions CI