marshaljlee/jxrouter ? reverse-engineered prompt
Reverse engineered prompt
Build me a native macOS app called JXProxy that sits in the menu bar and lets me route Claude Code, Codex, and other AI coding tools through my own API provider instead of the default one.
I want it to work as a local proxy on port 5255, with optional system wide proxy and DNS redirect so requests to AI endpoints get sent through the app automatically. It should have a simple dashboard, settings, and live traffic logs in the app, and let me add API keys for common providers like OpenAI, Anthropic, OpenRouter, DeepSeek, Groq, Gemini, Ollama, and other similar services. Store keys securely in Keychain.
It should also handle model routing, so I can send Opus, Sonnet, and Haiku requests to different models, and fall back to another provider if the first one fails. Make sure it supports translating between Anthropic style requests and OpenAI style requests, including streaming responses. Also create the CLI launchers so I can run jxclaude, jxcodex, and jxpi from the terminal and have them point to the local proxy automatically.
Are you gonna build this?
make sure you review the code using coderabbit