How I built a Claude Code plugin that autonomously turns any web app into a Python CLI
⚠️ Experimental - not officially supported and may break without notice. Use at your own risk. Always respect the Terms of Service of any site you target. The author bears no responsibility for mis...

Source: DEV Community
⚠️ Experimental - not officially supported and may break without notice. Use at your own risk. Always respect the Terms of Service of any site you target. The author bears no responsibility for misuse. Most web apps have a perfectly good API. It's just hidden behind the frontend and undocumented. CLI-Anything-Web makes it usable - fully automatically. What it does Give it a URL. The Claude Code plugin navigates the app autonomously using Playwright, records all HTTP traffic, and generates a complete pip-installable Python CLI. No human interaction. No reading minified JS. The pipeline Capture - A Playwright browser session navigates the target app autonomously, recording all HTTP calls. It also detects the framework (Next.js, React SPA, SSR) and any anti-bot protection (Cloudflare, WAF) that will affect how the CLI needs to make requests later. Analyze - The traffic is classified by protocol: REST, GraphQL, Google's batchexecute, or raw SSR HTML. Each maps to a different CLI architectu