{% extends "base.html" %} {% from 'partials/_buttons.html' import button %} {% block content %}

Setup / Tagging

Prepare or refresh the card database and apply tags. You can run this anytime.

Current Status
Status:
Checking…
Download Pre-tagged Database from GitHub (Optional)

Download pre-tagged card database and similarity cache from GitHub (updated weekly). Note: A fresh local tagging run will be most up-to-date with the latest card data.

{{ button('Download from GitHub', variant='priamry', onclick='downloadFromGitHub()', attrs='id="btn-download-github"') }}
{% if image_cache_enabled %}
Download Card Images (Optional)

Download card images from Scryfall CDN for faster loading and offline use. Note: Requires ~3-6 GB disk space and 1-2 hours download time (~30k cards).

Status:
Checking…
{{ button('Download Card Images', variant='priamry', onclick='downloadCardImages()', attrs='id="btn-download-images"') }}
{% endif %}
{{ button('Run Setup/Tagging', variant='primary', type='submit', attrs='id="btn-start-setup"') }}
{{ button('Open Progress Page', variant='primary', type='submit') }}
Theme Catalog Status
Status:
Checking…
{{ button('Refresh Themes Only', variant='priamry', onclick='refreshThemes()', attrs='id="btn-refresh-themes"') }}
{% if similarity_enabled %}
Similarity Cache Status
Status:
Checking…
{{ button('Build Similarity Cache', variant='priamry', onclick='buildSimilarityCache()', attrs='id="btn-build-similarity"') }} (~15-20 min local, instant if cached on GitHub)
{% endif %}
{% endblock %}