Download badge and boss sprite images locally during export

The seed export command now downloads badge images and boss sprites
from remote URLs and stores them in frontend/public/, rewriting the
JSON URLs to local paths. Sprites are namespaced by game version
(e.g. /boss-sprites/red/brock.png) so each generation can have
its own sprite style.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-08 22:13:30 +01:00
parent d2144e47bf
commit 8bd4ad1ecf
126 changed files with 3948 additions and 194 deletions

View File

@@ -1,10 +1,11 @@
---
# nuzlocke-tracker-sgp4
title: Fetch and store badge images locally
status: todo
status: in-progress
type: task
priority: normal
created_at: 2026-02-08T20:57:15Z
updated_at: 2026-02-08T20:57:15Z
updated_at: 2026-02-08T20:57:41Z
---
Badge images are currently loaded via remote URLs, which can lead to missing images if the remote source is unavailable. Download all badge images and store them locally as part of the seed script's export function.