travofoz/cdp-ninja — reverse-engineered prompt
Reverse engineered prompt
Build me a lightweight local Python tool that exposes my existing Chrome or Chromium debugging session through a simple HTTP API, so I can use curl or an AI coding agent to inspect pages, grab screenshots, read console logs, interact with the DOM, and poke at network and runtime data without pulling in a huge browser automation stack.
I want it to be easy to start, ideally one command that can launch the browser with remote debugging enabled and bring up the bridge on a local port. It should also support using my already running browser if I have one. Please include a small CLI with useful options for port, host, CORS, logging, domain enablement, health checks, and an optional shell mode for advanced testing.
This is meant for debugging and security testing in an isolated environment, so do not add safety rails that block malformed input or raw browser access. If it fits, add support for remote use over SSH tunnels and a way to install helper debugging agents too. Look up current docs online if you need to.
Want more depth? Deep Reverse