ScreenshotRace

Race your screenshots across multiple providers. Keep the best one.

TypeScript AWS Lambda AI Quality MIT License

Multi-Provider Racing

4 providers race in parallel: Puppeteer, Browserless, URLBox, and ZenRows. The best result wins.

🤖

AI Quality Scoring

Claude evaluates each screenshot for errors, paywalls, and validity. Composite scoring picks the winner.

🔒

Paywall Bypass

Detects login walls and paywalls automatically. Attempts up to 4 remediation strategies including cookie injection and header spoofing.

🚀

Streaming Preview

Puppeteer returns a fast preview within seconds while the full provider race completes in the background.

📦

Batch Processing

Submit hundreds of URLs in a single request. SQS queue with DLQ handles retry logic and failure isolation.

📊

Vendor Analytics

Scores are persisted per provider per day. Track which providers perform best for your use case over time.

Try It

Enter your API endpoint and key, then paste a URL to see it in action.

Provider Comparison

Provider Type Speed Paywall Bypass Cost
Puppeteer Lambda-native 2-4s Via AI remediation Free (Lambda cost)
Browserless External API 3-6s Limited Per-screenshot
URLBox External API 4-8s Limited Per-screenshot
ZenRows External API 5-10s Built-in proxy rotation Per-screenshot

Deploy Your Own

# Clone the repo
git clone https://github.com/avinoamMO/ScreenshotRace.git
cd ScreenshotRace
npm install

# Set your API keys
export ANTHROPIC_API_KEY="sk-ant-..."
export BROWSERLESS_API_KEY="..."

# Deploy to AWS
npx serverless deploy --stage prod

Full documentation on GitHub.