Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By inaridiyApache-2.0In 1 marketplace
Converts any web page or local HTML file into clean Markdown for agents and RAG, and crawls docs sites into Markdown and llms.txt. Pages needing a browser or bot bypass go through the hosted API, which is rate-limited without a key.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Half as many lost pages · 98% of code blocks kept · Half the tokens for agents · Pure TypeScript
Reader mode extracts the main content of a page, like Mozilla Readability, and loses the page about half as often as the extractors we compared it with. Agent mode adds only the links an AI agent needs to explore the site, for about half the tokens of converting the whole page. Both are measured against other converters below.
Try it live · Docs · Benchmarks · CLI · Hosted API
npm i webforai
import { htmlToMarkdown, presetExtractors } from "webforai";
const url = "https://vite.dev/guide/env-and-mode";
const html = await (await fetch(url)).text();
const markdown = htmlToMarkdown(html, { url }); // Reader mode: the main content
const forAgents = htmlToMarkdown(html, { url, extractors: presetExtractors("agent") }); // Agent mode: + the links
forAgents for that page, abridged# Env Variables and Modes
Vite exposes certain constants under the special `import.meta.env` object. These constants are
defined as global variables during dev and statically replaced at build time to make tree-shaking
effective.
```js
if (import.meta.env.DEV) {
// code inside here will be tree-shaken in production builds
console.log('Dev mode')
}
```
## Built-in Constants
- **`import.meta.env.MODE`**: {string} the [mode](#modes) the app is running in.
- **`import.meta.env.BASE_URL`**: {string} the base url the app is being served from. …
…
## Links
### Pagination
- [Previous page Deploying a Static Site](https://vite.dev/guide/static-deploy)
- [Next page Server-Side Rendering (SSR)](https://vite.dev/guide/ssr)
### Section navigation
- [Getting Started](https://vite.dev/guide/)
- [Features](https://vite.dev/guide/features)
- [Building for Production](https://vite.dev/guide/build)
- …
## Links: for reading, summarising,
RAG and embeddings.## Links section — related, pagination, section and site navigation,
breadcrumbs — so an agent can decide which page to open next.<noscript>, and the parts Next.js or GitBook stream after the page's shell.htmlToMarkdownWithMetadata or as YAML
front matter with frontmatter: true.Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub inaridiy/webforai --plugin webforaiPlugins from other owners that cover similar ground