Discover and explore top open-source AI tools and projects—updated daily.
caiwuuAI web services to OpenAI-compatible APIs
New!
Top 72.5% on SourcePulse
Web2API bridges web-based AI services (e.g., Claude Web) into OpenAI/Anthropic compatible APIs. It targets developers seeking to integrate these services into existing applications using familiar SDKs without modifying client code or managing complex browser automation. The primary benefit is seamless integration and reduced development overhead.
How It Works
This service acts as a proxy, wrapping web AI interfaces into standard API endpoints. It leverages a real browser environment (Chromium) to manage dynamic web interactions like session state, anti-bot measures, and conversation history, which are difficult to replicate via direct network calls. This approach ensures robust compatibility and session reuse.
Quick Start & Requirements
config.container.yaml to docker-data/config.yaml, modify it, and run: docker run -d --name web2api --restart unless-stopped --shm-size=1g -p 9000:9000 -v "$(pwd)/docker-data:/data" ghcr.io/caiwuu/web2api:latest.http://127.0.0.1:9000http://127.0.0.1:9000/configuv, fingerprint-chromium, a proxy, and a Claude sessionKey. Installation involves git clone, uv sync, and running main.py, potentially with xvfb on Linux. Configuration is done via config.yaml and the web UI.uv, fingerprint-chromium, proxy service, Claude sessionKey. External resources for proxies and accounts are mentioned, e.g., Cliproxy and aizhp.site. IP purity can be checked via https://ping0.cc/ip/.docs/config.md, docs/faq.md, docs/architecture.md.Highlighted Details
image_url, Anthropic image formats).Maintenance & Community
The provided README does not detail specific contributors, community channels (like Discord/Slack), or a public roadmap.
Licensing & Compatibility
The repository's license is not specified in the README. This lack of clarity prevents an immediate assessment of commercial use compatibility or potential copyleft restrictions.
Limitations & Caveats
The core limitation is the reliance on a real browser environment, necessary for handling complex web interactions. Session IDs are appended to responses using zero-width characters, requiring careful handling if chat history is manually managed. Sensitive credentials (session keys, proxy details) must be secured, and account distribution across IPs is recommended to mitigate risk controls.
1 day ago
Inactive
browser-use