MrWynn

带代理环境变量启动 Codex Desktop

14
1
89% credibility
Found May 22, 2026 at 14 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
PowerShell
AI Summary

A developer utility that launches the Codex desktop application with process-level proxy environment variables (HTTP_PROXY, HTTPS_PROXY, ALL_PROXY) to route both HTTP and WebSocket traffic through a local proxy like Clash, supporting macOS and Windows platforms with start/stop/restart/status/log management commands.

Star Growth

See how this repo grew from 14 to 14 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is codex-proxy-launcher?

codex-proxy-launcher is a small PowerShell utility that launches Codex Desktop with the right proxy environment variables baked into the process. If you've ever dealt with Codex refusing to route WebSocket traffic through your system proxy, this solves that by injecting HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, and NO_PROXY directly into Codex's process space. It ships as two simple scripts—one for macOS and one for Windows—with CLI commands for start, stop, restart, status, and log viewing. The defaults point to a typical Clash setup on localhost port 7890, but you can override everything with environment variables.

Why is it gaining traction?

The hook here is narrow but real: Codex Desktop's WebSocket connections sometimes ignore the OS-level proxy, which breaks the app for developers behind corporate or regional firewalls. This tool forces both HTTP and WebSocket traffic through your local proxy without needing TUN mode, which is faster and avoids potential routing conflicts. It's a one-trick solution that does exactly that one trick well, with sensible defaults and clear documentation for both platforms.

Who should use this?

This is for developers running Codex Desktop behind a proxy—whether that's corporate restrictions, region-locked APIs, or a Clash/V2Ray setup. If you've been troubleshooting why Codex connects but can't reach certain services, and you've already confirmed your proxy works for everything else, this is your fix. Windows Store/Appx users get special handling since direct execution from WindowsApps is blocked.

Verdict

Use it if you need it. The project is minimal and focused—14 stars reflects its niche audience. Documentation is solid and bilingual, but there's no CI, tests, or release artifacts to speak of. At 0.899% credibility, it's a personal utility that happens to be public, not a community-backed project. If you understand the problem it solves, the risk is essentially zero.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.