Control every request in Chrome via Puppeteer.
This is a proof of concept to see where I can integrate an LLM into the request / response cycle. Everything about this project is experimental, insecure and potentially dangerous.
If someone has asked you to run this software, please close this application immediately. Please do not enter any personal information or passwords.
Not affiliated with any employer or product.
Quick Start
Run with default settings (Google/Gemini for text and images):
node index.js
Requirements
- Node.js
- API keys for the providers you intend to use (see Environment Variables below)
Environment Variables
Place in a .env file at project root or export via your shell for any keys that you might need.
How It Works
High-level flow:
- Interceptium launches headful Chrome via Puppeteer.
- All page navigations and image requests are intercepted.
- Intercepted requests that match a certain pattern are handled by your code, and you can do what you want with them (e.g., generate HTML or images via AI).
- The browser renders the returned content.
License
Apache‑2.0 — see LICENCE.
Contributing
Issues and PRs are welcome.