Skip to content

Repository files navigation

Syncodex

CI License

Syncodex is an unofficial Windows bridge that mirrors the official Codex desktop app into a browser and phone-friendly UI.

It extends the official desktop experience without replacing the official app:

  1. It reads official local Codex thread data and renders it in a cleaner web UI.
  2. It lets you continue the same official Codex threads from Syncodex.

The official Codex desktop app remains the source of truth. Syncodex does not run the model itself and does not write directly to the official SQLite database.

Preview

Syncodex social preview

Real mobile thread view from the current product UI:

Syncodex mobile thread view

Status

Syncodex is currently a Windows-only project built around the official Codex desktop app. It is optimized for local single-user usage, browser monitoring, and phone access.

This public repository contains the code, documentation, and release-facing project files for the public version of Syncodex.

Features

  • Browse official Codex sessions, titles, statuses, plans, reasoning, command steps, file changes, and final replies in a browser UI.
  • Keep browser, phone, and official Codex desktop state in sync.
  • Send new messages into an official Codex thread through the desktop IPC path.
  • Queue local phone tasks safely while Codex is busy.
  • Show official queue items before Syncodex local queue items.
  • Support completion automation such as auto-read, auto-continue, and per-thread completion preferences.
  • Generate completion audio on Windows and play it on the phone with a normal audio player.
  • Support phone access through a temporary Cloudflare tunnel with QR code login.

Design Principles

  • Official Codex remains the only source of truth.
  • Syncodex reads official data and prefers official IPC for message sending.
  • Syncodex avoids direct writes to the official SQLite database.
  • Cached content must never override live truth.

Runtime Model

The supported packaged runtime is:

dist\Syncodex.exe

Normal running state is:

  • 2 Syncodex.exe processes
  • optional cloudflared.exe when phone public access is enabled

Requirements

  • Windows 10 or Windows 11
  • Official Codex desktop app installed and usable on the same machine
  • Access to the local Codex data directory under %USERPROFILE%\.codex

Quick Start

Packaged App

  1. Build or obtain:
dist\Syncodex.exe
  1. Double-click it on Windows.
  2. Open:
http://127.0.0.1:8765
  1. For phone access, use the tray menu item labeled Mobile access....

That opens a local status page with a QR code and a temporary public HTTPS URL.

Source Mode

Start the local bridge:

.\scripts\start_bridge.ps1

Stop it:

.\scripts\stop_bridge.ps1

Build the tray executable:

.\scripts\build_tray.ps1

Messaging Path

By default Syncodex sends messages through the official desktop IPC route:

\\.\pipe\codex-ipc
-> thread-follower-start-turn

Fallback behavior:

  • default: desktop-ipc
  • optional safe fallback: fallback
  • legacy direct app-server path: app-server

Environment variable:

$env:SYNCODEX_SENDER_TRANSPORT = "desktop-ipc"

Phone Access

Phone access is designed for the case where the phone and PC are not on the same LAN.

The flow is:

Phone browser
  -> temporary Cloudflare tunnel
  -> local Syncodex token proxy
  -> 127.0.0.1:8765

Important properties:

  • the local bridge still listens on 127.0.0.1
  • public access requires a temporary tokenized URL
  • stopping mobile access or exiting Syncodex invalidates the session
  • during development, treat the public mobile URL as temporary and expect to refresh it after local rebuilds or restarts unless you preserve the tunnel process yourself

Documentation

Releases

This repository is source-first. If packaged public builds are published, they should appear under GitHub Releases for this repository.

For maintainers, see RELEASING.md.

Non-Goals

  • Replacing the official Codex desktop app
  • Writing directly to the official SQLite database
  • Acting as a multi-user hosted service
  • Providing a long-term public internet deployment target

Notes

  • This is not an OpenAI official component.
  • The official Codex desktop app remains the source of truth.
  • Syncodex is intentionally conservative about writes.
  • The packaged app should be started through dist\Syncodex.exe, not ad hoc source processes.

About

Unofficial Windows bridge for syncing the official Codex desktop app to a browser and phone-friendly UI.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages