Skip to content

Repository files navigation

MarginWatch

B2B Supplier Portal Automator by KhyFee.

Playwright logs into supplier portals with cookie session reuse, diffs prices, and alerts when increases exceed 5%. Deterministic automation — no AI.

Developed privately before this public release — commit history reflects open packaging, not a simulated multi-month timeline.

Quick start

npm install
npx playwright install chromium
npm run demo
# inspect .marginwatch/outbox/*.eml and .marginwatch/store/

Architecture

Architecture

Commands

  • marginwatch doctor — env / data dir diagnostics
  • marginwatch run — scrape configured portal
  • marginwatch demo — portal + baseline + price bump + alert

Stack

Node.js · Playwright · Supabase Postgres schema · Docker · Next.js status dashboard · Express dummy portal

Limitations

Scrapers break when supplier UI changes. v0.1 demos use the included dummy portal only — do not point CI at third-party sites.

License

MIT © KhyFee

About

B2B Supplier Portal Automator — Playwright session reuse, price deltas, email alerts

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages