$ cat README.md

Planar Standard Hub

Community web platform for a Magic: The Gathering format: events, decks, results, and a season leaderboard.

#nextjs#typescript#supabase#postgresql#vitest
Planar Standard home page showing the next weekly tournament

Overview

Planar Standard is a community-run Magic: The Gathering format. I’m the main developer of its hub: a full-stack site that aggregates tournament data and stats, publishes news and rules, and tracks a season-long leaderboard.

Season leaderboard

How it’s built

  • pnpm monorepo of pure TypeScript packages. Types-only contracts, pure-function core logic, and source adapters. Dependencies only point one way, enforced in CI with dependency-cruiser.
  • Pluggable adapters for tournament sources. Each event platform gets a parser behind a shared contract, so adding a new source doesn’t touch the core.
  • Logged-out first. Everything is readable without an account. Signing in through Supabase Auth, with email verification sent through Resend, unlocks optional engagement.
  • Next.js + Supabase/PostgreSQL. Scheduled jobs run on GitHub Actions, and Vitest covers the core packages.