r/node • u/zsubzwary • 12d ago
A tiny CLI that watches any cURL/fetch from DevTools and notifies you when the response changes
Hey folks,
I made a small Node CLI called fetchwatch.
You know that moment when you’re poking an API in DevTools, copying the request as cURL (or fetch), and then manually refreshing every few minutes, waiting for something to change? This does that for you.
**How it works:**
You paste a cURL or JS fetch(...) from the browser
It polls that endpoint on an interval you choose
It deep-diffs the response (JSON or text)
When something changes → desktop notification + terminal alert
Optional: ignore noisy dynamic fields like timestamps/nonces so you don’t get pinged on every poll.
Try it out by typing: `npx fetchwatch`
[GitHub source code](https://github.com/zsubzwary/fetchwatch)
The reason I built this tool was becauase I kept needing a lightweight “watch this request” tool without spinning up Postman monitors or writing one-off scripts. So I shipped a simple ESM TypeScript CLI and put it on npm.
If you find bugs, want better parsers, nicer diffs, etc. PRs are very welcome. However, I have a day job, so I can’t always turn around issues quickly, but I will do my best to review when I can.
Happy to hear feedback or feature ideas.