Transform any website into a structured API using AI-powered visual analysis.
cd backend
pip install -r requirements.txt
playwright install chromium
export GEMINI_API_KEY="your-key"python scripts/test_loop.py "https://news.ycombinator.com" "Extract top post titles and scores"- Analyze: Send URL + prompt → Gemini analyzes screenshot + HTML → Generates scraper recipe (JSON)
- Execute: Playwright runs the recipe → Returns structured data
- API: Store recipe → Expose endpoint → Execute on demand
backend/
app/
models.py # Recipe schemas
analyzer.py # Gemini analyzer
executor.py # Playwright executor
scripts/
test_loop.py # Test CLI
frontend/ # (coming soon)