Show HN: I'm open sourcing my Chrome extension that uses AI to modify websites (github.com)

🤖 AI Summary
Magix is an open-source Chrome extension that lets you modify any website using natural language — think ChatGPT + Tampermonkey. Installable from the Chrome Web Store (or built from source), it provides a chat-based UI that generates and injects scripts in real time to add features (dark mode, ad removal, TTS buttons, sticky elements, etc.), target specific DOM nodes via an element selector, and iteratively refine changes. It’s provider-agnostic: you supply your own API keys for Gemini, Claude, OpenAI, xAI, OpenRouter, etc., so Magix itself doesn’t hold keys or sell access. The repo uses the Chrome UserScripts API, a React/Vite sidepanel, Supabase for optional auth/storage/sharing, and standard extension files (background, content scripts); requirements include Chrome 138+, Node.js 16+, and a Supabase project if self-hosting. For the AI/ML community this is significant because it democratizes web-level customization and rapid frontend prototyping using LLM-generated code while remaining auditable and extensible. Technical implications include real-time code generation/injection (subject to sites’ CSPs), community-shared mods backed by Supabase with row-level security, and pay-as-you-go LLM costs tied to users’ keys. Risks and caveats: CSP or browser policies can block injections, generated scripts may be brittle or unsafe (malicious or buggy), and behavior depends on chosen model’s coding quality. Being MIT-licensed and open-source makes it a useful sandbox for experimenting with LLM-driven UI automation and personalization, while enabling auditing and community contribution.
Loading comments...
loading comments...