CLIProxyAPIPlus server for Termux - Multi-provider AI API proxy with OAuth support
npm install cliproxy-server-termux> Multi-provider AI API proxy with OAuth support for Android Termux

- 🔐 OAuth Authentication - Secure login for multiple AI providers
- 🌐 Multi-Provider Support - Gemini, Claude, OpenAI, Grok, Qwen, and more
- 🚀 Local API Server - Runs on http://localhost:8317
- 📱 Termux Optimized - Built specifically for Android ARM64
- ⚡ Zero Configuration - Works out of the box
``bash`
npm install -g cliproxy-server-termux
`bash`
cliproxy-login
Follow the prompts to authenticate with your AI provider accounts.
`bash`
cliproxy
Server will start on http://localhost:8317/v1
`bash`
curl http://localhost:8317/v1/models
Install the companion Codex package:
`bash`
npm install -g cliproxy-codex-termux
Then use Codex with all models available:
`bash`
codexPress / then type "model" to see all available models
| Command | Description |
|---------|-------------|
| cliproxy | Start the API server |cliproxy-login
| | Run OAuth authentication |
Config file location: ~/.config/cliproxyapi/config.yaml
Default settings:
- Port: 8317http://localhost:8317/v1
- Base URL: ~/.config/cliproxyapi/auth
- Auth directory:
- Google Gemini (2.5 Pro, 3 Pro Preview)
- Anthropic Claude (Opus 4.5, Sonnet 4.5)
- OpenAI (GPT-4, GPT-3.5)
- xAI Grok
- Alibaba Qwen
- Kiro AI
`bashCheck if port 8317 is already in use
lsof -i :8317
$3
Make sure you have:
1. Active internet connection
2. Valid credentials for the provider
3. Termux storage permission
$3
Run
cliproxy-login` again to refresh authentication.- Android device with ARM64 architecture
- Termux app
- Node.js 14 or higher
- Internet connection for OAuth
MIT