CoolFace
Apppublic

ffpffp/visual-adapter-backend

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes
App README

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 check
  • โ€”GET /version - Version info
  • โ€”POST /analyze - Process HTML and generate rule

Environment Variables

Required:

  • โ€”GEMINI_API_KEY - Your Google Gemini API key

Optional (has defaults):

  • โ€”FIREBASE_SECRET - Firebase database secret
  • โ€”FIREBASE_URL - Firebase database URL

Documentation

Version

3.0 - Cloud-based architecture with direct HTTP communication