Skip to content

Dealer Tracker

Repo: savvydealer-adam/dealer-tracker · Path: C:/Users/adam/dealer-tracker · Owner: Adam Status: Live · % Done: 70 · Last commit: 2026-01-28 Deployed: Cloud Run (configured via cloudbuild.yaml)

What it is

Competitor inventory tracker with price monitoring and sale/new-unit alerts. Earlier Node.js implementation of the inventory-watching idea.

Why it exists

Dealers want to know when competitors drop a price, sell a hot unit, or stock something new — in near-real-time, not monthly.

How it works

Node.js + SQLite, cron-based scraper. - config.json defines dealers, markets, competitor groupings, alert thresholds, scan schedule - Per-dealer scraper modules in scraper/ (DealerOn, etc.) — add a dealer by adding an entry - scripts/daily-scan.js runs the scan logic - SQLite at data/inventory.db + daily CSV snapshots in data/snapshots/ - Static dashboard in dashboard/index.html - server.js serves dashboard + API

What's done

  • Config-driven dealer + market model
  • Daily scan + snapshots
  • Price-change + sold/new-arrival alerts
  • Dashboard view
  • Dockerfile + Cloud Build config

What's next

  • Last commit Jan 2026 — confirm if superseded by Python savvydealer-inventory-tracker or still in use
  • Consolidation decision: keep Node.js version, or migrate to Python tracker
  • If keeping: expand dealer roster + harden Cloudflare handling

Where the code lives

  • server.js — Express server + dashboard
  • scripts/daily-scan.js — scan orchestration
  • scraper/ — per-dealer scraper modules
  • config.json — dealers + markets + alerts
  • dashboard/index.html — UI
  • cloudbuild.yaml / Dockerfile — deploy

Integrations

  • Overlaps with savvydealer-inventory-tracker (Python) — same problem space
  • Feeds same downstream use case as competitive-dashboard

Don't rebuild this — extend it

Before adding features here, decide with Adam whether this or savvydealer-inventory-tracker (Python) is the long-term tracker — stale since Jan 2026.