gitmyhub

Codex-Remote-Windows-Patcher

Python ★ 21 updated 17d ago

Small Windows-only patcher for the Codex desktop app to enable its remote/mobile features.

A single Python script that unlocks the hidden remote and mobile control features in OpenAI's Codex desktop app on Windows, which are present in the installed files but disabled for Windows users.

PythonWindowssetup: moderatecomplexity 2/5

Codex is a desktop app from OpenAI, and on Windows some of its features for remote and mobile control are present in the installed files but turned off. This project is a small Python script that patches those files on your Windows machine to unlock the remote and mobile functionality that Windows users otherwise do not get.

The script makes three kinds of changes: it stops the app from erasing a specific setting called remote_control on startup, it turns on local remote-control state if the app has not saved it yet, and it unlocks the settings button in the app that lets you connect from a phone or another computer. Before touching anything, it creates backups of the files it modifies.

To use it, you need Python 3.10 or newer installed on Windows, and you need to run a terminal as Administrator with Codex fully closed. You download the single Python file, run it, confirm the install path the script suggests or paste your own, and type YES to proceed. If Codex was installed through the Microsoft Store, the script can temporarily adjust file permissions to make the patch work, then tries to restore the original permissions afterward.

A few things to keep in mind: Codex updates from OpenAI may overwrite the patch, so you would need to run the script again after updating. The script is designed for patching your own machine only, and it is released under the Unlicense, which places it in the public domain. The author also notes that using the Windows machine as the controller for other remote machines may still have gaps since some underlying code in the app was written with macOS in mind.

Where it fits