Brick - Sneaker Resale Opportunity Finder
A sophisticated Node.js application designed to automate the discovery of profitable sneaker resale opportunities by monitoring Nike's inventory and comparing prices with GOAT's marketplace. The system is tailored for the Malaysian market, analyzing price differences while accounting for currency conversion, fees, and promotional discounts.
Key Features
- Multi-Source Data Collection: Automated scraping of Nike Malaysia, integration with GOAT's API, and support for both regular and event-specific sneaker monitoring.
- Intelligent Price Analysis: Real-time price comparison, automatic currency conversion (MYR to USD), fee calculation (commission, seller, cashout), and promotional discount handling.
- Advanced Proxy Management: Rotating proxy system for both Nike and GOAT, automatic rotation on failures, TLS 1.3 support, and fallback to direct connection.
- Robust Notification System: Discord webhook integration with categorized notifications (regular, high-quality, highest offer), formatted tables for size, profit, stock, and sales history.
- Data Management: MongoDB for persistent storage, separate collections for sneakers, events, inventory, and logs, with automatic deduplication and updates.
Technical Implementation
- Backend: Node.js
- Database: MongoDB (Mongoose ODM)
- Web Scraping & Automation: Axios, Cheerio, Playwright/Puppeteer
- Proxy Management: Rotating proxies, TLS 1.3, fallback logic
- Notifications: Discord webhooks
- Logging: Winston
- Configuration: Dotenv for environment variables
- Architecture: Modular, service-based, with utility modules and robust error handling
Impact
- Automated discovery of profitable resale opportunities
- Real-time monitoring of price changes and inventory
- Reduced manual effort in price comparison
- Data-driven decision making for inventory management
- Efficient handling of promotional periods
Future Developments
- Enhanced analytics and trend analysis
- Expanded platform and region support
- Automated purchasing and inventory management
- Machine learning for opportunity prediction
- Web dashboard and customizable notifications