Skip to content

anand-92/droidproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

621 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DroidProxy

DroidProxy

A native macOS menu bar app that proxies Claude Code, Codex, and Gemini authentication for use with AI coding tools like Factory.ai Droids. Built on CLIProxyAPIPlus.

Download

Grab the latest release from Releases:

  • DroidProxy-arm64.dmg -- Apple Silicon (M1/M2/M3/M4)
  • DroidProxy-arm64.zip -- ZIP alternative

All releases are code-signed and notarized by Apple. Existing installs auto-update via Sparkle.

Features

  • One-click OAuth auth -- Claude Code, Codex, and Gemini login from the menu bar, credential monitoring, auto-refresh
  • Adaptive thinking proxy -- Injects thinking: {"type":"adaptive"} and per-model output_config.effort for Claude Opus 4.6 and Claude Sonnet 4.6 requests sent through http://localhost:8317
  • Codex reasoning controls -- Injects reasoning: {"effort":"..."} for gpt-5.3-codex and gpt-5.4 via the OpenAI-compatible http://localhost:8317/v1 endpoint
  • Gemini thinking levels -- Injects per-model thinking levels for gemini-3.1-pro-preview (low / medium / high) and gemini-3-flash-preview (minimal / low / medium / high) via model name suffix rewriting
  • Per-model effort controls -- Configure Opus 4.6 (low / medium / high / max), Sonnet 4.6 (low / medium / high), GPT 5.3 Codex (low / medium / high / xhigh), GPT 5.4 (low / medium / high / xhigh), Gemini 3.1 Pro (low / medium / high), and Gemini 3 Flash (minimal / low / medium / high) directly from the Settings window
  • Sparkle auto-updates -- Checks daily, installs in the background
  • Factory integration -- Use Claude models against http://localhost:8317, Codex/OpenAI models against http://localhost:8317/v1, and Gemini models against http://localhost:8317/v1

Setup

See SETUP.md for authentication and Factory configuration instructions.

DroidProxy Settings

Requirements

  • macOS 13.0+ (Ventura or later)
  • Apple Silicon (M1/M2/M3/M4)

Build from source

# Debug build
make build

# Release build + signed .app bundle
./create-app-bundle.sh

Project Structure

src/
├── Sources/
│   ├── main.swift              # App entry point
│   ├── AppDelegate.swift       # Menu bar & window management
│   ├── ServerManager.swift     # Server process control & auth
│   ├── SettingsView.swift      # Main UI
│   ├── AuthStatus.swift        # Auth file monitoring
│   ├── ThinkingProxy.swift     # Thinking parameter injection proxy
│   ├── TunnelManager.swift     # Network tunnel management
│   ├── IconCatalog.swift       # Icon loading & caching
│   ├── NotificationNames.swift # Notification constants
│   └── Resources/
│       ├── cli-proxy-api-plus  # CLIProxyAPIPlus binary
│       ├── config.yaml         # Server config
│       ├── AppIcon.icns        # App icon
│       ├── icon-active.png     # Menu bar icon (active)
│       ├── icon-inactive.png   # Menu bar icon (inactive)
│       ├── icon-claude.png     # Claude service icon
│       ├── icon-codex.png      # Codex service icon
│       └── icon-gemini.png     # Gemini service icon
├── Package.swift
└── Info.plist

License

MIT

About

A native macOS menu bar app that proxies Claude/Codex/Gemini subscriptions for use with Factory Droid CLI

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors