Skip to content

Repository files navigation

PageSift turns webpages into structured JSON. Paste a public URL, choose the fields you need, and let an OpenAI-compatible model extract the values.

PageSift website

Run it yourself

git clone https://github.com/Iltwats/pagesift.git
cd pagesift
npm install
npx playwright install
cp .env.example .env.local

Add your OpenRouter key to .env.local:

AI_API_KEY=your_openrouter_api_key
AI_BASE_URL=https://openrouter.ai/api/v1
AI_MODEL=google/gemini-3.1-flash-lite

Start PageSift:

npm run dev

Open http://localhost:3000.

The same project can be deployed to Vercel; production uses a serverless Chromium binary automatically.

API

The same extractor is available at POST /api/extract:

{
  "url": "https://example.com/product",
  "fields": ["title", "price", "description"]
}

About

A tool that fetches web pages and extracts user-defined fields.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages