Skip to content

eztstein441/convert_mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

monitorhandler

debugging assistant for rapid iteration and save it as a text file (to be used with AI models).

image

Install

One-off usage (choose one):

denox monitorhandler
npx monitorhandler
pnpx monitorhandler

Install globally (choose one):

deno i -g monitorhandler
npm i -g monitorhandler
pnpm i -g monitorhandler

Usage

monitorhandler https://example.com -o site.txt

# Better concurrency
monitorhandler https://example.com -o site.txt --concurrency 10

Match specific pages

Use 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.

Content selector

We use readability to extract content, but you can specify a CSS selector:

monitorhandler https://example.com --content-selector ".content"

Plug

Check out my LLM chat app: https://example.app

API

import { fetchSite } from "monitorhandler"

await fetchSite("https://example.com", {
  //...options
})

Check out options in types.ts.

License

MIT.

PR Merge: 2025-10-30 19:50:19

About

prop and function cleanup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors