Discover and explore top open-source AI tools and projects—updated daily.
foxhuiWeb AI services to OpenAI API gateway
Top 70.2% on SourcePulse
Summary
WebAI2API transforms web-based AI services like LMArena and Gemini into an OpenAI-compatible API. It targets developers needing to integrate diverse AI models into applications, offering multi-window concurrency and account isolation for managing multiple AI service accounts simultaneously.
How It Works
This project utilizes Camoufox, built on Playwright, to simulate human-like browser interactions, effectively bypassing anti-automation detection on AI websites. It exposes these web services via a standardized OpenAI-formatted API, supporting streaming responses and enabling concurrent, isolated browser instances for managing different accounts or services.
Quick Start & Requirements
pnpm install and npm run init (network proxy recommended). Docker deployment is available via docker run or docker-compose up -d.xvfb, x11vnc, libgtk-3-0, libx11-xcb1, libasound2.npm start or npm start -- -xvfb -vnc on Linux. Docker images include Xvfb and VNC.data/config.yaml. Access Web UI at http://localhost:3000.Highlighted Details
/v1/chat/completions, /v1/models) with streaming support.Maintenance & Community
The README does not explicitly detail contributors, community channels, or sponsorships. The project has migrated from Puppeteer to Camoufox to enhance evasion of anti-bot detection mechanisms.
Licensing & Compatibility
Released under the MIT License, permitting commercial use and integration into closed-source projects, provided users comply with underlying AI website terms of service.
Limitations & Caveats
Intended for learning and exchange; users bear responsibility for consequences like account bans and must adhere to website ToS. Non-headless mode (or Xvfb) is recommended for long-term operation to mitigate detection risks. Some AI services may yield watermarked results or have specific limitations.
3 days ago
Inactive