Spaces:
Sleeping
Sleeping
Commit History
-
standardize data collection: new schema, rewrite scrapers, lifecycle tracking
Schema: added color, material, category, external_id, original_price, currency, on_sale, in_stock, sizes, first/last_seen_at, updated_at. Score is now nullable (NULL = unscored). Auto-migration from v1. Scrapers: all 4 rewritten for full field capture: - Boozt: 5 images, color, stock, sizes, sale pricing - Miinto: UUID external_id, category, sizes, sale detection - NA-KD: switched to CURRENT_PAGE extraction, fixed brand/price (was 0) - Wakakuu: fixed price extraction (was 0), color, stock, sizes Store: new sync() method — idempotent upsert + marks missing products as out-of-stock. Running twice produces same result. Frontend: sale badges, sold-out overlay, color display, original price with strikethrough.0fba372 -
deduplicate color variants + multi-image support
Products: group by (brand, name, store) using ROW_NUMBER window, pick highest-scoring variant. Reduces ~1766 duplicates to unique models. Multi-image: scrapers now collect all image URLs (Boozt media array, NA-KD image list, Miinto photos, Wakakuu imageUrls). Full stack: schema image_urls column, Product model, API, TypeScript types. UI: Discover card has tap-to-navigate image zones with dot indicators. Browse cards cycle images on hover with zone-based navigation.bf6e8ac
-
Refactor into configurable package structure
- Extract taste/ package with clean module boundaries: taste/config.py (YAML config + user profiles) taste/engine.py (merged v1+v2 FashionSigLIP engine) taste/store.py (ProductStore class, db_path from config) taste/models.py (shared Product dataclass) taste/scrapers/ (registry + per-store scraper classes) taste/pipeline.py (scan orchestrator) taste/output.py (HTML generation with dynamic store filters) - All store URLs, API keys, categories now in config.yaml - User preferences (liked images, disliked brands) in profiles - CLI entry point: taste scan/stats/profile - No more hardcoded paths or user-specific data in sourcef02ea7f