Skip to content

Latest commit

 

History

History

resource-summary

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Resource Summary

A lightweight CLI that analyzes webpage resources using Hyperbrowser's API.

Setup

  1. Get your API key from hyperbrowser.ai
  2. Create a .env file:
    HYPERBROWSER_API_KEY=your_api_key_here
    
  3. Install dependencies:
    npm install

Usage

# Basic analysis (fast)
npx tsx index.ts --url https://example.com

# Advanced AI analysis
npx tsx index.ts --url https://github.com --mode advanced

Output

  • Basic Mode: Counts images, links, scripts, and stylesheets from content
  • Advanced Mode: AI-powered page structure analysis with performance insights