About this project
WindsurfAPI is a headless API proxy service built using Node.js 20 built-in modules, requiring no npm dependencies. It provides access to over 80 AI models from the Windsurf (formerly Codeium) platform via standard OpenAI and Anthropic interfaces, supporting features such as chat completion, streaming output, tool calling, and model list queries.
Core features include: dual-protocol compatibility (OpenAI /v1/chat/completions and Anthropic /v1/messages), multi-account load balancing with automatic failover, token/credit statistics aggregated by request path and model layer, JSON data backup with export/import support, a built-in single-page Chinese Dashboard for management (including account management, logs, charts, ban detection, etc.), and an experimental Cascade conversation reuse function.
Deployment options are flexible, supporting local startup, Docker containerization, PM2 persistence, or systemd services. The Windsurf Language Server binary must be prepared in advance, and at least one Windsurf account must be configured (free versions are limited to certain models). The system architecture follows a four-layer structure: Client → WindsurfAPI → Language Server → Windsurf Cloud, with all modules clearly divided in the src/ directory.
The project explicitly prohibits commercial use, proxy deployment, or resale, and is limited to personal learning and research. The documentation is comprehensive, including environment variable descriptions, API examples, deployment guides, FAQs, and contribution guidelines. The statistics data schema complies with the CLIProxyAPI standard for easy migration and integration.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.