a Magic: The Gathering format reference
HTML JavaScript CSS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
api Slight redesign Jul 15, 2018
css Slight redesign Jul 15, 2018
img Aether Revolt Jan 20, 2017
js Slight redesign Jul 15, 2018
test Use local API when developing locally May 21, 2018
.gitignore Generate v5 from internal data Jun 15, 2018
.nojekyll Stop GitHub pages from killing node_modules Oct 1, 2017
.travis.yml Add Travis CI config file Oct 28, 2015
LICENSE Add license Feb 3, 2016
README.md Add api/internal.json note to README Jul 13, 2018
android-chrome-192x192.png Added favicon (#85) Jun 19, 2018
android-chrome-512x512.png Added favicon (#85) Jun 19, 2018
apple-touch-icon.png Added favicon (#85) Jun 19, 2018
browserconfig.xml Added favicon (#85) Jun 19, 2018
cloudbuild.yaml Generate v5 from internal data Jun 15, 2018
favicon-16x16.png Added favicon (#85) Jun 19, 2018
favicon-32x32.png Added favicon (#85) Jun 19, 2018
favicon.ico Added favicon (#85) Jun 19, 2018
icon-original.svg Added favicon (#85) Jun 19, 2018
index.html Fix a tense Jul 15, 2018
keybase.txt Enable HTTPS May 1, 2018
manifest.json Added favicon (#85) Jun 19, 2018
mstile-144x144.png Added favicon (#85) Jun 19, 2018
mstile-150x150.png Added favicon (#85) Jun 19, 2018
mstile-310x150.png Added favicon (#85) Jun 19, 2018
mstile-310x310.png Added favicon (#85) Jun 19, 2018
mstile-70x70.png Added favicon (#85) Jun 19, 2018
package-lock.json Slight redesign Jul 15, 2018
package.json Slight redesign Jul 15, 2018
safari-pinned-tab.svg Added favicon (#85) Jun 19, 2018

README.md

What's in Standard?

What's in Standard? is a simple reference page made to help new (or not new) Magic: The Gathering players easily check which sets are currently in Standard, see when the next rotation is going to happen, and understand how rotations work.

Development

Dependencies

Running it locally

git clone git@github.com:glacials/whatsinstandard
cd whatsinstandard
npm install
npm start

Then open localhost:8080 in your browser!

Updating Set Information

If you're looking to add, remove, or change a set, you'll want to change api/internal.json then run

npm install

to regenerate the API. This file is the source of truth for set information, as the website itself consumes the APIs generated from this file.

Tests

The API has a few tests. You can run them with

npm test

To autorun them whenever test files update, use

npm run autotest

Tech

What's in Standard? uses Vue.js, a lightweight JavaScript framework. It fetches the setlist from its own API and filters it based on release and drop dates.

API

We've got an API. It's super slim and the output is written by hand but it works like a charm.

/api/v5/sets.json

This is the only API call we have. It returns something like this:

{
  "deprecated": false,
  "sets": [
    {
      "name": "Battle for Zendikar",
      "block": "Battle for Zendikar",
      "code": "BFZ",
      "enter_date": "2015-10-02T00:00:00.000Z",
      "exit_date": "2017-09-29T00:00:00.000Z",
      "rough_exit_date": "Q4 2017"
    },
    ...,
  ]
{

The array is guaranteed to contain all sets currently in Standard, but also contains recently dropped sets and some future sets. For API details including how to filter them, see the API readme.

Attributions

Thanks to:

  • For SVG set icon images:
    • BaconCatBug
    • White Dragon
    • Goblin Hero
    • Skibulk
    • Baka-Neku
    • Qanadhar
    • Poopski
  • For gathering them: jninnes
  • For favicon: Nils Enevoldsen