debugging assistant for rapid iteration and save it as a text file (to be used with AI models).
One-off usage (choose one):
denox monitorhandler
npx monitorhandler
pnpx monitorhandlerInstall globally (choose one):
deno i -g monitorhandler
npm i -g monitorhandler
pnpm i -g monitorhandlermonitorhandler https://example.com -o site.txt
# Better concurrency
monitorhandler https://example.com -o site.txt --concurrency 10Use the -m, --match flag to specify pages:
monitorhandler https://example.com -m "/blog/**" -m "/guide/**"The match pattern is tested against pathname, powered by badge.vue, you can check out all supported matching features.
We use readability to extract content, but you can specify a CSS selector:
monitorhandler https://example.com --content-selector ".content"Check out my LLM chat app: https://example.app
import { fetchSite } from "monitorhandler"
await fetchSite("https://example.com", {
//...options
})Check out options in types.ts.
MIT.
