Skip to content

Repository files navigation

🚀 AI Coders Proxy Fixer v2.2.1

A lightweight, open-source proxy router & automated IDE patcher designed specifically to resolve geoblocking, network timeouts, and corporate firewall restrictions for modern AI coding assistants.

⭐️ If this tool saves you hours of debugging, please consider giving it a STAR! It helps other developers discover this solution. ⭐️

UI Dashboard v2.0

🚀 What's New in v2.0?

Version 2.0 transforms AI Coders Proxy Fixer into a smart automated OS scanner & multi-target patcher:

  • 🔍 Smart OS Scanner: Automatically detects installed IDEs (VS Code, Cursor, Antigravity IDE, Void, VS Code Insiders, Sublime Text), AI CLIs (Claude Code, Ollama), and Shell Profiles (PowerShell, Git Bash).
  • 🔌 Active Proxy Port Auto-Detector: Scans and auto-detects active local proxy ports (10808 v2rayN, 7890 Clash, 2080 Hiddify).
  • ⚡ Instant WinInet Proxy Refresh: Uses wininet.dll and broadcasts WM_SETTINGCHANGE so Windows, Edge, Chrome, and Electron apps reload proxy settings instantly without restarting browsers or killing tasks in Task Manager.
  • 📊 Real AI API Latency Tester: Live ping latency measurement (in ms) to Google, Anthropic API (api.anthropic.com), and Cloud Code API.
  • 🎯 Targeted & Batch Patching: Individual or one-click Patch All for detected IDEs and shell profiles.
  • 💻 Start with Windows: Option to run silently in the system tray on Windows startup.

🌍 The Problem

Developers living in heavily restricted regions or working behind strict corporate firewalls frequently encounter severe connectivity issues with AI coding assistants. Standard VPNs and SOCKS5 proxies often fail because they disrupt internal Language Server routing (e.g., routing localhost traffic through the proxy).

This results in frustrating errors such as:

  • ❌ User location is not supported for the API use. (HTTP 400 Bad Request)
  • ❌ Post "https://cloudcode-pa.googleapis.com/...": EOF
  • ❌ Failed to check terminal shell support (VS Code & Antigravity IDE)
  • ❌ ETIMEDOUT or Connection Refused in Cursor
  • ❌ Unresponsive Autonomous Agents & OAuth Redirect Loops
Agent Terminated Error CloudCode EOF Error

🎯 The Solution

AI Coders Proxy Fixer automates the complex network routing required to make AI assistants work seamlessly behind a proxy.

It intelligently injects proxy configurations into your IDEs and shells while applying strict exception rules (bypassing localhost and 127.0.0.1) to ensure local language servers never crash.

✨ Key Features

  • Preset Profiles: One-click presets for v2rayN, Clash, Hiddify, and Custom setups.
  • Deep IDE Integration: Automatically configures settings.json for VS Code, Cursor, Void, VS Code Insiders, and Antigravity IDE.
  • Shell Profile Integration: Safely injects proxy exports into PowerShell $PROFILE and Git Bash ~/.bashrc.
  • System-Wide Variables: Seamlessly sets Windows Environment Variables (HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY).
  • Git Proxy Configuration: Fixes hanging git push and git pull commands.
  • Unobtrusive & Portable: Minimizes to system tray and requires zero installation.

🛠️ Installation & Usage

🪟 Windows Setup

  1. Download AI_Coders_Proxy_Fixer_Windows_Setup_v2.2.0.exe or portable .zip from Releases.
  2. Run the executable (No installation required for portable).
  3. Click Auto-Detect Port or select your proxy preset.
  4. Click Enable & Patch All Proxies.

🐧 Linux Terminal Setup & Execution

Option A: Run Pre-compiled Linux Portable Package

# 1. Download & extract the Linux release
tar -xzf AI_Coders_Proxy_Fixer_Linux_v2.2.1_x86_64.tar.gz
cd AI_Coders_Proxy_Fixer_Linux

# 2. Run the application executable
./AI_Coders_Proxy_Fixer_Linux

Option B: Run Directly from Terminal Source (Python)

# 1. Clone the repository
git clone https://github.com/vahidvl/AI-Coders-Proxy-Fixer.git
cd AI-Coders-Proxy-Fixer

# 2. Install dependencies & run GUI app
pip install -r requirements.txt
python src/main.py

📖 Documentation

Check out docs/ERRORS.md for deep dives into specific AI coding errors, or read our full CHANGELOG.md for version history.


Built by a developer, for developers. Code without borders.

About

A portable Windows GUI application that automates the complex network routing required to make AI assistants work seamlessly behind a proxy.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages