Discover and explore top open-source AI tools and projects—updated daily.
libaxuanOpenAI-compatible API for Cursor Web
Top 45.0% on SourcePulse
This project provides a service to expose Anthropic Claude models (specifically claude-sonnet-4.6) via an OpenAI-compatible API, enabling integration with existing tools and applications. It targets developers seeking a high-performance, low-latency local API endpoint for advanced AI models, abstracting away the complexities of direct Cursor Web interaction.
How It Works
The service is implemented in Go, prioritizing performance and low latency. It acts as a proxy, automatically handling authentication with Cursor Web and translating requests and responses to and from the OpenAI API format. Key architectural choices include robust error handling, built-in health checks, and support for both streaming and non-streaming API responses, offering a seamless developer experience.
Quick Start & Requirements
git clone ... && cd ... && chmod +x start.sh && ./start.shstart-go.bat or ./start-go-utf8.batdocker run -d --name cursor2api-go --restart unless-stopped -p 8002:8002 -e API_KEY=your-secret-key cursor2api-godocker-compose up -dcurl commands.Highlighted Details
Maintenance & Community
Contribution guidelines follow standard practices (Fork, branch, commit, PR) and adhere to Go Code Review Comments, gofmt, go vet, and Conventional Commits. No specific community channels (Discord/Slack) or roadmap links are provided in the README.
Licensing & Compatibility
The project is licensed under the MIT License. However, a significant disclaimer states: "本项目仅供学习和研究使用,请勿用于商业用途。" (This project is for learning and research purposes only, please do not use for commercial purposes.), which imposes a non-commercial restriction despite the permissive MIT license.
Limitations & Caveats
The primary caveat is the explicit restriction against commercial use, which contradicts the typical implications of an MIT license and requires careful legal review for any adoption. The service's functionality is dependent on the availability and authentication mechanisms of Cursor Web.
21 hours ago
Inactive
openai
open-webui