A proxy server that converts Anthropic Claude API requests to Sider format, with interactive CLI tools for testing.
- API Server: Anthropic-compatible proxy server
- Interactive Chat: CLI with streaming output, syntax highlighting, and auto-completion
- Terminal UI: Full-screen terminal interface
- GUI Mode: System tray application (Windows only)
# Install
go build -o sider2api ./cmd/sider2api
# Configure
echo "SIDER_API_TOKEN=your_token_here" > .env
# Run interactive chat
./sider2api chat
# Or start API server
./sider2api servesider2api chatFeatures streaming output, syntax highlighting, and command completion.
Commands:
/model <name>- Switch model/models- List available models/think on|off- Toggle extended thinking/search on|off- Toggle web search/reset- Clear conversation/exit- Quit
# Start server
sider2api serve
# With GUI (Windows, requires -tags=gui build)
sider2api serve --guiDefault endpoint: http://localhost:4141
Compatible with Anthropic API clients.
sider2api tuiFull-screen terminal interface with scrollable history.
Create .env file:
SIDER_API_TOKEN=your_token_here
BASE_URL=https://api.sider.ai
HOST=0.0.0.0
PORT=4141
LOG_LEVEL=infoclaude-haiku-4.5(default)claude-4.5-sonnetgemini-2.5-flashgemini-3.0-progpt-5-minigpt-5.1
# Standard build (Linux/macOS/WSL)
go build -o sider2api ./cmd/sider2api
# Windows with GUI support
go build -tags=gui -o sider2api.exe ./cmd/sider2api| Platform | Server | Chat | TUI | GUI |
|---|---|---|---|---|
| Linux | ✅ | ✅ | ✅ | ❌ |
| macOS | ✅ | ✅ | ✅ | ❌ |
| Windows | ✅ | ✅ | ✅ | ✅* |
*Requires -tags=gui build flag