An open API service indexing awesome lists of open source software.

https://github.com/ezpzai/cdx

Use Codex more easily, even from mobile.
https://github.com/ezpzai/cdx

ai cli codex developer-tools mobile productivity remote vibecoding

Last synced: 14 days ago
JSON representation

Use Codex more easily, even from mobile.

Awesome Lists containing this project

README

          


English |
한국어 |
简体中文 |
日本語 |
Español

# cdx

**Use Codex more easily, even from mobile.**


cdx social preview

## Quick Start

### Requirements

- Node.js 20+
- Codex installed: `npm install -g @openai/codex`
- `cloudflared` required
- Linux and macOS supported

### Install

```bash
npm install -g @ezpzai/cdx
```

### Install Cloudflare Quick Tunnel

`cdx remote` uses Cloudflare Quick Tunnel by default.

* https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/downloads

macOS:

```bash
brew install cloudflared
```

Linux:

```bash
curl -Lo cloudflared https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64
chmod +x cloudflared
sudo mv cloudflared /usr/local/bin/
```

### First Run

```bash
cdx login {profile} // first-time setup
cdx run {profile}
cdx remote // mobile access
cdx usage // check usage
```

## Main Commands

| Command | Description |
| --- | --- |
| `cdx remote [profile] [codex args...] [--mode ] [--tunnel ] [--no-qr] [--lan]` | Continue a desktop Codex session from a mobile web surface. |
| `cdx run [profile] [codex args...] [--mode ]` | Launch Codex with the selected profile's `CODEX_HOME`. |
| `cdx usage [profile] [--json]` | Check auth and quota status for each profile. |
| `cdx mode` | Show the current default run mode. |
| `cdx mode set [--profile ]` | Save a global or profile-level default run mode. |
| `cdx login ` | Create a new profile or log into an existing one. |
| `cdx logout ` | Start logout for a profile. |
| `cdx ls` | Show discovered profiles. |
| `cdx rm [--force]` | Remove a profile. |
| `cdx agents edit --global` | Prepare and open the shared global `AGENTS.md`. |
| `cdx agents status` | Check project and global `AGENTS.md` wiring. |

`cdx remote` uses `Cloudflare Quick Tunnel` as the default external path.

- External link: `cdx remote `
- Same Wi-Fi / LAN: `cdx remote --tunnel none --lan`
- Local only: `cdx remote --tunnel none`