ffpffp/visual-adapter-backend
0
Visual Adapter Backend
AI-powered backend server for Visual Adapter Chrome extension. Processes HTML content using Google Gemini AI to generate CSS extraction rules.
Features
- ๐ค Google Gemini 2.5 Flash AI integration
- โก Direct HTTP API (no polling)
- ๐ Rate limiting (max 3 concurrent)
- ๐ Structured JSON logging
- ๐ Graceful shutdown handling
API Endpoints
GET /health- Health checkGET /version- Version infoPOST /analyze- Process HTML and generate rule
Environment Variables
Required:
GEMINI_API_KEY- Your Google Gemini API key
Optional (has defaults):
FIREBASE_SECRET- Firebase database secretFIREBASE_URL- Firebase database URL
Documentation
Version
3.0 - Cloud-based architecture with direct HTTP communication
