# SGS Monitor ## Purpose Automated monitoring dashboard for **sgsquhao.com** (Classic ASP game account rental for 三国杀 / Sanguosha). It scrapes open endpoints on a schedule, shows active rentals and account catalog data, and supports on-demand credential extraction via the site’s `sure.asp` flow. Full technical detail lives in the project’s main README (sgsRev / deployment repo), not here. ## Where it is hosted - **URL:** [https://sgs-monitor.netlify.app/](https://sgs-monitor.netlify.app/) - **Platform:** Netlify (Next.js app + scheduled background scrape, ~6-hour cycle) ## Passkey (access token) - The dashboard shows **“Enter access token”** — that value must match the **`AUTH_TOKEN`** environment variable configured in the Netlify site (**Site settings → Environment variables**). - APIs use the same token: `?token=` on `/api/data`, `/api/scrape`, and `/api/extract`. - **Do not commit the real token** to git. Store it in a password manager or Netlify only; paste it here locally if you keep private notes outside the repo. --- **Folder reference:** `knowledge/sgs-monitor/` (this file: `knowledge/sgs-monitor/sgs-monitor.md`)