Skip to main content

build-site

Generate a static website for your decks.

Usage

./ritual build-site [decks...] [options]

Arguments

ArgumentDescriptionRequired
[decks...]Optional list of deck names or URLs to buildNo

If no decks are specified, builds all imported decks found in the decks/ directory.

Options

OptionDescription
-v, --verboseShow list of cards being fetched from Scryfall

Examples

Build site for all decks:

./ritual build-site

Build site for specific decks:

./ritual build-site "Atraxa Superfriends" "Mono Red Aggro"

Build with verbose output:

./ritual build-site --verbose

Build directly from a URL:

./ritual build-site https://archidekt.com/decks/12345

Output

Generates a static website in the dist/ directory containing:

  • Index page with deck listing
  • Individual deck pages with card images
  • Responsive design for desktop and mobile
  • Dark mode support

Serving the Site

After building, use the serve command to preview locally:

./ritual serve