A lightweight CLI that analyzes webpage resources using Hyperbrowser's API.
- Get your API key from hyperbrowser.ai
- Create a
.envfile:HYPERBROWSER_API_KEY=your_api_key_here - Install dependencies:
npm install
# Basic analysis (fast)
npx tsx index.ts --url https://example.com
# Advanced AI analysis
npx tsx index.ts --url https://github.com --mode advanced- Basic Mode: Counts images, links, scripts, and stylesheets from content
- Advanced Mode: AI-powered page structure analysis with performance insights