Skip to content

austery/iphone-stock-checker

 
 

Repository files navigation

iPhone Stock Checker

這是來自 PathUnfold.com 的課程專案 - 一個 AI 驱動的學習社群。

Ultra-minimal iPhone 17 Pro Max Silver stock checker for Calgary stores.

Setup

  1. Install dependencies:
npm install
# or
pnpm install
# or
bun install
  1. Configure in config.js:
  • Update Discord webhook URL
  • Modify models if needed
  • Adjust check interval (default: 2 minutes)

Run

Start the monitor:

npm start

Run with auto-reload (development):

npm run dev

Run in background:

nohup npm start > monitor.log 2>&1 &

Features

  • 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

Stop

Kill the background process:

pkill -f "node server.js"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%