e9939ef9dc
Add GitAtlas deploy assets, DATA_FILE support for isolated server data, and port documentation for sourcing.simosen.cn. Co-authored-by: Cursor <cursoragent@cursor.com>
979 B
979 B
Product Sourcing Capture MVP Implementation Plan
Goal: build a local browser-capture system for visible Xiaohongshu/Taobao/1688 product data.
Architecture: Node/Express local API stores captures in a JSON-backed repository, a React/Vite dashboard displays and manages items, and a Manifest V3 browser extension extracts visible page data and posts it to localhost. The extractor is DOM-heuristic based and only reads content already visible in the user's browser.
Tasks:
- Create project scaffold with Vite, Express, Vitest, and extension folders.
- Write tests for platform detection, price parsing, DOM extraction, scoring, and storage.
- Implement shared extractor and scoring utilities.
- Implement local API and JSON persistence.
- Implement React dashboard for item library, filters, detail review, export, and extension install guidance.
- Implement browser extension popup/content script/background.
- Run tests, build, start server, and verify the app page.