How One Developer Built a Self-Validating Game Companion Site to Prevent Stale Data
Developer Lootr Tools creator built an unofficial Dungeon Lootr companion site with a content pipeline designed to catch bad data before it reaches readers. All game facts are stored in typed data modules and validated at import time using Zod schemas, enforcing rules like lowercase slugs, date formats, and decimal-range drop rates. A cross-reference validator checks the entire dataset for issues such as duplicate IDs, broken entity links, and unsourced drop-rate claims, turning content errors into local build failures. Each entity carries a manually set verification date rather than a generated timestamp, so pages honestly reflect when data was last reviewed rather than falsely appearing current. Sources are treated as structured relationships in the dataset, allowing the UI to distinguish between official, community-verified, conflicting, and unverified information.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in