How It Works
When you select Auto Download during onboarding:- Fetch Latest Release: ZeroLimit queries the GitHub API for the latest release
- Download Binary: Downloads the correct executable for your operating system
- Extract Files: Automatically extracts the archive to your system
- Configure Path: Sets the executable path in ZeroLimit settings
- Set Management Key: Writes your secret key to
config.yaml - Start Server: Launches the CLI Proxy server
- Auto-Login: Logs you in automatically
Setup Steps
Select Auto Download
Choose Auto Download from the setup mode options.This option shows a blue download icon and the description “Automatically fetch and configure the latest CLI Proxy executable.”
Choose Version
Select which version of CLI Proxy you want to download:After selecting a version, ZeroLimit will:
- Standard
- Plus
Repository: router-for-me/CLIProxyAPIThe original CLI Proxy API with core functionality:
- Provider management
- API request proxying
- Standard authentication
- Configuration management
- Display “Downloading and Extracting…” with a loading indicator
- Fetch release info from GitHub API
- Download the appropriate asset for your OS
- Extract the executable
Set Management Key
Enter a secret key to protect your CLI Proxy management API.Example keys:
123456(simple, for testing)my-secure-key-2024(better)a8f5k2n9p3x7m1q6(strong random key)
Automatic Configuration
ZeroLimit automatically:1. Updates config.yaml:2. Starts the server:
- Invokes the CLI Proxy executable
- Waits for the server to boot (1.5 seconds)
- Verifies health via API check
- API Base:
http://localhost:8317 - Management Key: The key you entered
- Remember Credentials: Enabled
Platform-Specific Behavior
Windows
- Downloads:
windows_x64.zipor similar - Extracted to: Download directory or temporary location
- Executable:
cli-proxy-api.exeorcli-proxy-api-plus.exe - Auth directory:
C:\Users\<Username>\.cli-proxy-api
macOS
- Downloads:
darwin_arm64.tar.gz(Apple Silicon) ordarwin_x64.tar.gz(Intel) - Extracted to: Download directory or temporary location
- Executable:
cli-proxy-apiorcli-proxy-api-plus - Auth directory:
/Users/<username>/.cli-proxy-api - Note: You may need to grant execution permissions:
chmod +x cli-proxy-api
Linux
- Downloads:
linux_x64.tar.gzor similar - Extracted to: Download directory or temporary location
- Executable:
cli-proxy-apiorcli-proxy-api-plus - Auth directory:
/home/<username>/.cli-proxy-api - Note: You may need to grant execution permissions:
chmod +x cli-proxy-api
GitHub API Details
ZeroLimit fetches release information from: Standard:tag_nameorname- Version identifierassets[]- Array of downloadable filesname- Filename (e.g.,cli-proxy-api_windows_x64.zip)browser_download_url- Direct download link
- OS name:
windows,darwin, orlinux - File extension:
.zip,.tar.gz, or.tgz
Troubleshooting
Download Failed
Error: “Failed to fetch version info” Causes:- No internet connection
- GitHub API is down or rate-limited
- Firewall blocking GitHub access
- Check your internet connection
- Wait 5-10 minutes and try again (rate limits reset)
- Use Manual Setup and download directly from GitHub
No Compatible Package Found
Error: “No compatible package found” Causes:- Your OS/architecture isn’t supported in the release
- Release doesn’t follow expected naming conventions
- Visit the GitHub releases page manually
- Download the correct binary for your system
- Use Manual Setup to select the downloaded file
Extraction Failed
Error: “Extraction failed” Causes:- Corrupted download
- Insufficient permissions
- Disk space full
- Try downloading again
- Check available disk space
- Try running ZeroLimit as administrator (Windows) or with sudo (Linux/macOS)
- Use Manual Setup and extract manually
Server Won’t Start After Download
Symptoms:- “Proxy failed to start” error
- Health check fails
- Check if port 8317 is already in use
- Run the executable manually to see error messages:
- Check logs in the CLI Proxy directory
- Verify
config.yamlwas created and contains your management key
Configuration Files
After auto download, you’ll have these files:Next Steps
After successful auto download:Provider Setup
Add and configure API providers
Settings
Customize CLI Proxy behavior
Proxy Settings
Configure proxy server options
Auto Updates
Keep your proxy up to date
Manual Download Alternative
If auto download doesn’t work for your situation, you can:- Visit the GitHub releases page manually
- Download the appropriate binary for your system
- Use Manual Setup to configure ZeroLimit