49bedfc5ea2084c612ed4dc65ebfe4c4c40ea91c
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Card Collection
Dashboard for my trading card collection: https://krburchel.github.io/card-collection/
- Rare Candy sync:
.github/workflows/sync.ymlrunsscripts/sync_rarecandy.pyevery 30 minutes (GitHub may delay scheduled runs) and commitsdata/rarecandy.json+data/history.jsonwhen the collection changes. Run it on demand from the Actions tab ("Run workflow"). It also saves per-card price change points (data/prices.json, starting 2026-10-13, since Rare Candy's own price-history endpoint is broken) and, once a day, the full card list of every owned set (data/sets/<setId>.json) for the missing-cards view. Anything Rare Candy tracks (Pokémon, Lorcana, MTG, …) shows up automatically under its brand. - Backups: owned cards' pictures are saved as WebP in
images/cards/(the page falls back to Rare Candy's image host if one is missing). If the collection suddenly drops by more than half, the sync refuses to save and fails (GitHub emails you); if the drop is real, run the workflow with force checked. - Manual cards:
data/manual.jsonholds cards Rare Candy can't track (e.g. baseball). Use the same fields asrarecandy.json:id(unique,m:prefix),brand,set,name,number,rarity,price,qty, optionalimg/imgLarge/url/setRelease/setTotal.
Languages
HTML
81.9%
Python
16.5%
JavaScript
1.6%