這是來自 PathUnfold.com 的課程專案 - 一個 AI 驱動的學習社群。
Ultra-minimal iPhone 17 Pro Max Silver stock checker for Calgary stores.
- Install dependencies:
npm install
# or
pnpm install
# or
bun install- Configure in
config.js:
- Update Discord webhook URL
- Modify models if needed
- Adjust check interval (default: 2 minutes)
Start the monitor:
npm startRun with auto-reload (development):
npm run devRun in background:
nohup npm start > monitor.log 2>&1 &- Checks iPhone 17 Pro Max Silver (512GB & 1TB) stock in Calgary
- Discord notifications ONLY when stock is found
- Silent status updates every 30 checks
- Logs all checks to
stock-log.jsonl - 5-minute cooldown between notifications for same model
Kill the background process:
pkill -f "node server.js"