guanxiaol/WindsurfPoolAPI — reverse-engineered prompt
Reverse engineered prompt
Build me a self hosted Windsurf account pool proxy for personal use. I want to add several Windsurf account tokens, have the server choose a healthy account automatically, fail over when one is rate limited, and expose the models through normal OpenAI and Anthropic compatible API routes so I can point Cursor, Claude Code, Aider, or other coding tools at it with one API key.
Please include a simple admin web dashboard where I can log in, add and remove accounts, enable or disable accounts in batches, set global or per account proxy settings, see which models are available, view quotas, token usage, credit usage, success rate, and live logs. It should keep all account state and settings after restarts.
Support streaming chat responses, model aliases that work nicely in Cursor, image inputs using URLs or base64, and tool calling style requests. Make it easy to run locally with Node 20 or Docker, with clear env settings for port, API key, dashboard password, default model, log level, and the Windsurf language server path. Look up current docs online if needed.
Want more depth? Deep Reverse