Spaces:
Sleeping
Sleeping
|
Download README.md from ffpffp/visual-adapter-backend: direct link, hf CLI and curl.
- Browser
- Download file 1.15 kB
-
https://huggingface.co/spaces/ffpffp/visual-adapter-backend/resolve/main/README.md
- Command line
-
hf download hf://spaces/ffpffp/visual-adapter-backend/README.md
-
curl -L -o README.md https://huggingface.co/spaces/ffpffp/visual-adapter-backend/resolve/main/README.md
1.15 kB
| title: Visual Adapter Backend | |
| emoji: π | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: docker | |
| pinned: false | |
| # 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 | |
| - [Full Documentation](https://github.com/your-repo/Visual_adapter) | |
| - [Architecture Guide](https://github.com/your-repo/Visual_adapter/docs/ARCHITECTURE.md) | |
| - [Deployment Guide](https://github.com/your-repo/Visual_adapter/docs/DEPLOYMENT.md) | |
| ## Version | |
| 3.0 - Cloud-based architecture with direct HTTP communication | |