Discover and explore top open-source AI tools and projects—updated daily.
Bridge to LMArena.ai models via OpenAI API
Top 54.4% on SourcePulse
This project provides a high-performance bridge to access a vast array of advanced large language models hosted on LMArena.ai through any OpenAI-compatible application. It targets users who want to leverage LMArena's diverse model offerings within their existing AI chat clients, programming plugins, or other tools, offering a seamless and feature-rich experience.
How It Works
The system comprises a FastAPI backend server and a Tampermonkey browser script. The backend exposes OpenAI-compatible API endpoints, while the browser script establishes a WebSocket connection with the backend to intercept and forward requests to LMArena.ai. This architecture enables real-time streaming responses, file uploads, image generation, and automatic session ID management, all while maintaining compatibility with standard OpenAI API calls.
Quick Start & Requirements
pip install -r requirements.txt
python api_server.py
python id_updater.py
and the provided Tampermonkey script.Highlighted Details
Maintenance & Community
The project is maintained by Lianues. Links to community resources such as Discord/Slack are not explicitly provided in the README.
Licensing & Compatibility
The project's license is not explicitly stated in the README. Compatibility for commercial use or closed-source linking would depend on the specific license chosen by the maintainers.
Limitations & Caveats
The README notes that only the last connected browser tab's Tampermonkey script will be active if multiple LMArena pages are open. Some newer models might require specific handling or usage within the "Battle" mode for session ID capture.
3 days ago
Inactive