The Chrome Extension That Reveals Your AI Visibility Score
In 2026, GEO (Generative Engine Optimization) is the new SEO. While traditional SEO was about ranking #1 on Google's list of links, GEO is about being the source of truth in AI-generated answers.
This extension helps brands understand how often ChatGPT, Perplexity, and Gemini are recommending their competitors over them.
Automatically detects if your website has an llm.txt file (the 2026 standard for AI-ready websites). If missing, it generates one for you using Gemini Nano or template-based generation.
Analyzes your page structure using local AI to determine how well it's optimized for AI consumption:
- Title optimization
- Meta descriptions
- Heading structure
- List usage
- Structured data (JSON-LD, Microdata)
- Content length and quality
Calculates how often your brand appears in AI-generated answers by:
- Running the same query 5 times across ChatGPT, Perplexity, and Gemini
- Measuring brand mentions vs. competitors
- Computing probabilistic Share of Voice percentage
Identifies companies that:
- Don't rank well in traditional Google Search
- Are dominating AI-generated answers
- Are stealing your AI traffic
Shows potential monthly revenue loss using the formula:
- Persistent UI that displays audit results while browsing
- Modern gradient design with real-time updates
- "Scan Now" button triggers comprehensive audit
- Purpose: On-page readiness analysis
- Benefits: Zero latency, no API costs
- API:
window.ai(Chrome's built-in AI)
- Purpose: AI visibility scoring across platforms
- Platforms: ChatGPT, Perplexity, Gemini
- Architecture: Node.js backend for secure API key management
GEO-1-click/
βββ manifest.json # Extension configuration
βββ background.js # Service worker (llm.txt checks, API coordination)
βββ content.js # Page analysis and data extraction
βββ apiClient.js # Backend API integration (with example implementation)
βββ sidepanel/
β βββ sidepanel.html # UI structure
β βββ sidepanel.css # Styling (gradient theme)
β βββ sidepanel.js # UI controller and logic
βββ icons/ # Extension icons (16px, 48px, 128px)
- Clone or download this repository
- Open Chrome and navigate to
chrome://extensions/ - Enable Developer Mode (toggle in top-right)
- Click Load unpacked
- Select the
GEO-1-clickfolder
The extension requires 3 icon sizes. You can:
- Use a tool like Canva or Figma to design them
- Use an online icon generator
- Create simple placeholder icons for testing
Place them in the icons/ folder:
icon16.png(16Γ16px)icon48.png(48Γ48px)icon128.png(128Γ128px)
Quick temporary solution: Create a simple colored square in any image editor and resize it to the 3 sizes.
For local AI features:
- Ensure you're using Chrome Canary or Chrome Dev (version 127+)
- Navigate to
chrome://flags/#optimization-guide-on-device-model - Enable "Optimization Guide On Device Model"
- Navigate to
chrome://flags/#prompt-api-for-gemini-nano - Enable "Prompt API for Gemini Nano"
- Restart Chrome
- Open DevTools Console and run:
await window.ai.canCreateTextSession() - If it returns
"readily"or"after-download", you're set!
The extension currently uses simulated data for the AI Visibility Score. To get real results:
- Create a new Node.js project:
mkdir geo-audit-backend
cd geo-audit-backend
npm init -y
npm install express openai cors dotenv-
Use the example implementation in
apiClient.jsas your starting point -
Set environment variables:
OPENAI_API_KEY=your_openai_key
PERPLEXITY_API_KEY=your_perplexity_key
GEMINI_API_KEY=your_gemini_key-
Deploy to:
- Vercel (easiest for serverless)
- Railway (full hosting)
- AWS Lambda + API Gateway
- Google Cloud Functions
-
Update
API_CONFIG.backendUrlinapiClient.jswith your deployed URL
Create individual serverless functions for each platform check:
/api/check-chatgpt/api/check-perplexity/api/check-gemini
Deploy to Vercel, Netlify, or Cloudflare Workers.
- Click the extension icon in Chrome toolbar
- The side panel opens automatically
- Click "Scan Now" to run the audit
- Review the results:
- β llm.txt status (with auto-generation option)
- π On-Page Readiness Score
- ποΈ AI Visibility Score
- π» Shadow Competitors
- π° Revenue Gap Estimate
Building this extension teaches:
-
Chrome Extension APIs
- Side Panel API
- Background Service Workers
- Content Scripts
- Message passing between components
-
AI Integration
- Local AI (Gemini Nano via
window.ai) - External AI APIs (OpenAI, Perplexity, Gemini)
- Hybrid AI architecture
- Local AI (Gemini Nano via
-
Backend Development
- RESTful API design
- Secure API key management
- Rate limiting and retry logic
- Aggregating data from multiple sources
-
Data Analysis
- Share of Voice calculation
- Probabilistic scoring
- Revenue impact modeling
- User authentication and saved audits
- Weekly email reports with visibility trends
- Industry benchmarking (compare against category average)
- Automated recommendations for improving GEO score
- Export reports as PDF
- Integration with Google Analytics
- Multi-language support for international markets
- A/B testing different llm.txt formats
The extension currently uses simulated competitor data for demonstration purposes. This allows you to:
- Test the UI without API costs
- Understand the data flow
- Present the concept in your portfolio
Real data requires connecting the backend API (see Backend Setup section).
- API keys should only live in your backend server
- Use environment variables
- Implement rate limiting to prevent abuse
- Consider adding authentication for your backend API
Edit sidepanel/sidepanel.css:
/* Primary gradient */
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
/* Accent colors */
color: #f5576c; /* Change revenue/warning colors */Edit content.js, function calculateReadinessScore():
// Modify point values for each check
if (pageData.title && pageData.title.length > 10) {
score += 15; // Change this value
}Extend apiClient.js to include:
- Claude (Anthropic)
- Llama (Meta)
- Mistral AI
- Other emerging platforms
MIT License - Feel free to use this in your portfolio!
This is a portfolio project, but suggestions are welcome! If you:
- Find a bug
- Have an enhancement idea
- Want to add a new AI platform integration
Open an issue or submit a pull request.
Built as a 2026 portfolio project demonstrating:
- Modern Chrome Extension development
- Hybrid AI architecture (local + cloud)
- Data synthesis from multiple sources
- Business intelligence and revenue modeling
Perfect for: Frontend developers leveling up to full-stack with AI integration.
- Chrome Extension Documentation
- Side Panel API
- Gemini Nano (window.ai)
- OpenAI API
- Perplexity API
- Google Gemini API
Ready to see how visible you are in the AI age? Install and scan now! π