How piagsand/eurocards works
This is a browser-based Euro 2024 Topps card-collection manager. Collectors add and track missing, owned, and duplicate cards, then import/export collection data or print/export it as PDF. The README documents the user-facing capabilities, but the browser implementation was not excerpted, so links among its components are based on that documentation; the separate Word-document API is evidenced by its source excerpt.
Main entry points: scripts.js Collection management · index.html Collection interface · generateDocs.py Word document handler · jspdf.js PDF export
Components 12
Collection app
- Collection interface
index.html - Collection management
assets/js/scripts.js - Missing cards
assets/js/scripts.js - Owned cards
assets/js/scripts.js - Duplicate cards
assets/js/scripts.js - Card data
api/cards.json
Data and output
- Collection JSON
- PDF export
assets/libs/jsPDF-1.3.2/jspdf.js - Print output
index.html
Document API
- Word document handler
api/generateDocs.py - Word document
Other components
- Collector
Connections 9
- Collector → Collection interface: uses
README.md - Collection interface → Collection management: submits cards
README.md - Collection management → Missing cards: tracks
README.md - Collection management → Owned cards: tracks
README.md - Collection management → Duplicate cards: tracks
README.md - Collection management → Collection JSON: imports and exports
README.md - Collection interface → PDF export: exports PDF
README.md - Collection interface → Print output: prints collection
README.md - Word document handler → Word document: generates
api/generateDocs.py