Extract content from websites using Cheerio. Includes parsing, link discovery, and rate limiting.
Requirements, wiring steps, and what this pattern adds to your project.
Pick how you want to pull this pattern in. Then wire env vars and routes the same way.
Download → Next.js app
Use Download → Next.js app in the preview toolbar. You get a zip scaffold (Pro downloads rewrite preview `/view/.../api/*` paths to `/api/*` automatically).
Extract the zip and install dependencies
Unzip the archive, then run `pnpm install` (or npm / yarn) in the project folder.
Customize the agent and tool files
Adapt prompts, tools, and stop conditions in the generated project for your product.
Run the app and open the pattern route
Run `pnpm dev`, open the setup/checklist page if present, then navigate to the generated pattern route and verify responses.
app/page.tsxapp/layout.tsxREADME.mdnpm packages
7
Registry components
lib/scraper.tsCore scraping engine: implements fetchWithRetry with exponential backoff, uses cheerio to parse HTML and extract title, meta description, main content, links, and images. Handles rate limiting, error codes, and URL normalization.
lib/actions.tsServer action entry point: validates URLs with Zod schema, integrates rate limiting, and calls the scraper.
Extract content from websites using Cheerio. Includes parsing, link discovery, and rate limiting.
Requirements, wiring steps, and what this pattern adds to your project.
Pick how you want to pull this pattern in. Then wire env vars and routes the same way.
Download → Next.js app
Use Download → Next.js app in the preview toolbar. You get a zip scaffold (Pro downloads rewrite preview `/view/.../api/*` paths to `/api/*` automatically).
Extract the zip and install dependencies
Unzip the archive, then run `pnpm install` (or npm / yarn) in the project folder.
Customize the agent and tool files
Adapt prompts, tools, and stop conditions in the generated project for your product.
Run the app and open the pattern route
Run `pnpm dev`, open the setup/checklist page if present, then navigate to the generated pattern route and verify responses.
app/page.tsxapp/layout.tsxREADME.mdnpm packages
7
Registry components
lib/scraper.tsCore scraping engine: implements fetchWithRetry with exponential backoff, uses cheerio to parse HTML and extract title, meta description, main content, links, and images. Handles rate limiting, error codes, and URL normalization.
lib/actions.tsServer action entry point: validates URLs with Zod schema, integrates rate limiting, and calls the scraper.
Loading preview…
Early-bird pricing — limited time

Open on desktop for the interactive preview.
Extract content from websites using Cheerio. Includes parsing, link discovery, and rate limiting.
Loading preview…
Early-bird pricing — limited time

Open on desktop for the interactive preview.
Extract content from websites using Cheerio. Includes parsing, link discovery, and rate limiting.