Local, read-only ESPN/Yahoo fantasy-football matchup dashboard. It reuses an authenticated isolated Chrome profile through CDP; it never asks for, saves, or sends your passwords/cookies to the frontend.
npm installcp fantasy-manager.config.example.json fantasy-manager.config.json- Fill in the three leagues. ESPN IDs are the
leagueIdin its league URL. Yahoo IDs are the number after/f1/in the URL. For ESPN, open your team page; theteamIdURL parameter is the value formyTeamId.
In terminal one: npm run browser. Log into ESPN and Yahoo manually in that Chrome window, and open each league's current matchup page.
In terminal two: npm run probe to print detected fantasy tabs, likely IDs, headings, and small roster-table samples.
Then run npm run dev and visit http://127.0.0.1:5173.
The page refreshes every 60 seconds; Refresh now forces a server fetch immediately.
ESPN first requests its league endpoint inside the authenticated Chrome page, using its existing session. Yahoo V0.1 extracts matchup tables from the authenticated Yahoo page. Neither adapter attempts login or persists credentials. A failure is isolated to its card.
Yahoo markup varies: use the regular head-to-head matchup page (not a league overview). npm run probe is intentionally concise diagnostic output to repair selectors if Yahoo changes its UI. ESPN player NFL team IDs are not translated to abbreviations yet, and projected scores/game clocks appear only when the sites expose unambiguous values.