# Unlimited Coding 🌐 [English](README.md) | [Русский](README_ru.md) | [中文](README_zh.md) | [Español](README_es.md) Patched AI coding tools for use with custom API endpoints. ## Products | Folder | Tool | Status | |--------|------|--------| | [claude/](claude/) | Claude Code | Active (v2.1.63) | | codex/ | OpenAI Codex CLI | Planned | | [gemini/](gemini/) | Gemini CLI | **Active (v0.29.5)** | | qwen/ | Qwen Code | Planned | | antigravity/ | Antigravity | Planned | ## Quick Start ### Prerequisites Check Before installing, verify Node.js v24.13+ is installed: ```bash # Check Node.js version node --version # If Node.js is missing or version is too old, install: # Linux (Debian/Ubuntu): sudo apt update && sudo apt install -y nodejs npm # Linux (RHEL/Fedora): sudo dnf install -y nodejs npm # macOS: brew install node # Windows (PowerShell as Admin): winget install OpenJS.NodeJS ``` ### Alternative - Auto-install Node.js If you need to install or update Node.js automatically: **Linux:** ```bash curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash - && sudo apt-get install -y nodejs ``` **macOS:** ```bash /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew install node ``` **Windows:** ```powershell # As Administrator winget install OpenJS.NodeJS ``` ### Claude Code — Install Two commands on any platform: **Linux / macOS:** ```bash npm config set @anthropic-ai:registry https://npm.sensey24.ru/ npm install -g @anthropic-ai/claude-code ``` **Windows (PowerShell):** ```powershell npm config set "@anthropic-ai:registry" "https://npm.sensey24.ru/" npm install -g @anthropic-ai/claude-code ``` > Node.js required. Install from https://nodejs.org/ if not present. ### Update Same two commands — npm will pull the latest patched version from our registry. ### Alternative — Automatic installer (if no Node.js) Installs Node.js, Claude Code and patches automatically. **Linux (Debian/Ubuntu/RHEL/Fedora):** ```bash curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \ https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \ -o /tmp/uclaude.sh && sudo bash /tmp/uclaude.sh ``` **macOS:** ```bash curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \ https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \ -o /tmp/uclaude.sh && bash /tmp/uclaude.sh ``` **Windows (PowerShell as Administrator):** ```powershell git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git cd unlimitedcoding powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force ``` ### Gemini CLI — Install **Step 1 — Install patched CLI:** **Linux / macOS:** ```bash npm config set @google:registry https://npm.sensey24.ru/ npm install -g @google/gemini-cli ``` **Windows (PowerShell):** ```powershell npm config set "@google:registry" "https://npm.sensey24.ru/" npm install -g @google/gemini-cli ``` > Node.js required. Install from https://nodejs.org/ if not present. **Step 2 — Configure settings and environment:** ```bash # Set environment variables echo 'export GEMINI_API_KEY="ClauderAPI"' >> ~/.bashrc echo 'export GOOGLE_GEMINI_BASE_URL="https://ai.37-187-136-86.sslip.io"' >> ~/.bashrc source ~/.bashrc # Configure auth (switch from OAuth to API key) mkdir -p ~/.gemini cat > ~/.gemini/settings.json << 'EOF' { "security": { "auth": { "selectedType": "gemini-api-key" } }, "telemetry": { "enabled": false, "logPrompts": false } } EOF ``` **Step 3 — Verify:** `gemini -p "Hello"` See [gemini/README.md](gemini/README.md) for Windows instructions, alternative install methods and details. ### Manual install from release Clone repo and run platform installer: ```bash git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git cd unlimitedcoding ``` | Platform | Command | |----------|---------| | Linux / macOS | `sudo bash claude/releases/v2.1.71/install.sh` | | Windows CMD | `claude\releases\v2.1.71\install.bat` | | Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.71\install.ps1` | ## Troubleshooting ### Gemini CLI: deprecated settings spam If you see repeated warnings like: ``` The system configuration contains deprecated settings: [experimental.codebaseInvestigatorSettings] ``` Fix: ```bash python3 -c "import json; p='$HOME/.gemini/settings.json'; d=json.load(open(p)); e=d.get('experimental',{}); e.pop('codebaseInvestigatorSettings',None); [d.pop('experimental') for _ in '' if not e and 'experimental' in d]; json.dump(d,open(p,'w'),indent=2); print('Done')" ``` ### Gemini CLI: Session cleanup disabled If you see: `Session cleanup disabled: Either maxAge or maxCount must be specified` This is harmless — Gemini CLI just skips old session cleanup. No action needed. ### npm warnings during install Warnings like `deprecated prebuild-install`, `deprecated node-domexception`, `deprecated glob` are normal — these are Google's dependencies, not ours. They don't affect functionality. ## What Gets Installed Automatically | Component | Linux | macOS | Windows | |-----------|-------|-------|---------| | Git | apt/dnf/yum | brew | winget | | Python 3 | apt/dnf/yum | brew | winget | | Node.js v24.13+ | nodesource | brew | winget | | Claude Code | npm | npm | npm | | Patched cli.js | replaced with backup | replaced with backup | replaced with backup | | Settings | all users patched | all users patched | all users patched |