A complete ARIX SEO Tool for Chrome
Build a production-ready Manifest V3 Chrome SEO extension using official APIs and a Vercel serverless backend.
Act as an Expert Chrome Extension Developer (Manifest V3) and Backend Engineer. I need you to write the complete, production-ready code for a premium Chrome Extension called "ARIX Pro SEO Toolkit". CRITICAL RULES: 1. NO SCRAPING. Use ONLY official, top-tier SEO APIs. 2. Use Manifest V3, Vanilla JavaScript, HTML, and CSS. No React, no build steps. 3. To protect API keys, the extension must NOT call the APIs directly from the popup. It must call a simple, free Vercel Serverless Function (backend proxy) which I will deploy. TECH STACK & DATA SOURCES: 1. Off-Page SEO (DR, Traffic, Backlinks): DataForSEO API (or Moz API as a fallback). 2. Technical SEO / Core Web Vitals: Google PageSpeed Insights API. FILE STRUCTURE REQUIRED: Please provide the complete code for: 1. `manifest.json` (Manifest V3, permissions: activeTab, storage). 2. `popup.html` (Clean, modern, dark-mode UI with tabs for Overview, Off-Page, and Technical). 3. `popup.css` (Premium styling, clean typography, loading states). 4. `popup.js` (Main controller. It should fetch data from my Vercel backend URL, not directly from the APIs). 5. `api/index.js` (The Vercel Serverless function. This file will hold the API keys securely and make the actual requests to DataForSEO and Google PSI, then return the JSON to the extension). SPECIFIC LOGIC REQUIREMENTS: - BACKEND (api/index.js): - Accept a `domain` and `type` (offpage or technical) query parameter. - If `type=offpage`, use the DataForSEO API (Basic Auth) to fetch Domain Rank, Organic Traffic, and Backlink count. (Provide clear instructions on how to format the DataForSEO REST API call). - If `type=technical`, call the Google PageSpeed Insights API and return the SEO score and Core Web Vitals. - Return clean JSON to the frontend. - FRONTEND (popup.js): - Get the current tab's URL. - Show a sleek loading skeleton while waiting for the Vercel backend. - Display the data in clean cards (e.g., "Domain Rating: 45", "Est. Traffic: 10k", "Backlinks: 5.2k"). - Include basic local caching (`chrome.storage.local`) for 24 hours so we don't waste API credits if the user clicks the same site twice. Please output the code for each file clearly labeled. Ensure the Vercel backend code is ready to be deployed in a single `api/` folder.
Кураторская подборка fizoni.com · структура, примеры использования и рабочие сценарии
Similar prompts
Comprehensive Repository Analysis and Bug Fixing Framework
Framework for systematic repository analysis, bug prioritization, fixing, and documentatio…
💻 PROGRAMMINGCode Review Agent
Code Review Agent evaluating readability, performance, security, and style guideline adher…
💻 PROGRAMMINGAnalyze PDF and Create MATLAB Code
Assistant that analyzes PDF sections, explains the theory simply, writes clear MATLAB code…
💻 PROGRAMMINGVacuum Arc Modeling under Transverse Magnetic Fields
Expert prompt for modeling vacuum arcs under transverse magnetic fields using Fluent UDFs …
💻 PROGRAMMINGMeeting Room Booking Web App Development
Step-by-step prompt to build a PHP and MySQL meeting room booking app with roles and Tailw…
💻 PROGRAMMINGXiaomi Company Self-Service Management System Frontend Development
Frontend developer role to design and build a user-friendly interface for Xiaomi's self-se…
📦 Prompts for Programmers — 448 промптов
Вместо одного промпта — целый набор по теме. Готовые процессы, структура, быстрый старт. Код, рефакторинг, дебаг, архитектура, ревью, SQL и API.…
Забрать набор — $2.99 🎁 6 free prompts
🎁 Get the 6 best prompts for free
Liked this prompt? We've put together 6 more hand-picked ones — for business, code, and productivity. Plus access to the full library of 2000+ prompts.