9router
v0.2.26
Published
9Router CLI - Start and manage 9Router server
Readme
9Router CLI
9Router - AI endpoint proxy with web dashboard. Unified access to 15+ AI providers (Claude, OpenAI, Gemini, GitHub Copilot, and more) through a single endpoint.
📦 Installation
# Install globally
npm install -g 9router
9router
# Or run directly with npx (recommended)
npx 9router🚀 Usage
9router # Start server with default settings
9router --port 8080 # Custom port
9router --no-browser # Don't open browser
9router --skip-update # Skip auto-update check
9router --help # Show all optionsDashboard: Open http://localhost:20128/dashboard in your browser
✨ Features
- 🔄 Multi-Provider Support: Claude, OpenAI, Gemini, GitHub Copilot, Qwen, iFlow, DeepSeek, and more
- 🔐 OAuth & API Key Auth: Support both OAuth2 and API key authentication
- 🎯 Format Translation: Auto-translate between OpenAI, Claude, Gemini, Codex formats
- 🌐 Web Dashboard: Manage providers, combos, API keys, and settings
- 🎲 Combo System: Create model combos with automatic fallback
- ♻️ Intelligent Fallback: Auto account rotation on rate limits/errors
🛠️ CLI Integration
Works seamlessly with:
- Claude Code (Anthropic)
- OpenAI Codex
- Cline, RooCode, AmpCode
- Cursor IDE
- Any tool supporting OpenAI-compatible API
💾 Data Location
User data stored at:
- macOS/Linux:
~/.9router/db.json - Windows:
%APPDATA%/9router/db.json
📚 Documentation
For full documentation, advanced configuration, and development guide, visit:
- GitHub: https://github.com/decolua/9router
- Full README: https://github.com/decolua/9router/blob/main/app/README.md
🙏 Acknowledgments
- CLIProxyAPI: Original Go implementation
📄 License
MIT License - see LICENSE for details.
