Skip to content
Projects

About

Offline Codex Desktop migration for Windows and macOS.

AI & Machine Learning

How these counts are measured

Measured star growth

in 24h
+1
in 7 days
+8
in 15 days
+13
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

Codex ReHome

ReHome

中文 | English | Download ReHome Desktop

Move selected Codex Desktop projects, conversations, Skills, Plugins, and generated artifacts between computers through a local, offline migration package.

Arrived from an older “Codex ReHome Skill” video?

The original workflow asked Codex to run the migration through an Agent Skill. That workflow is now available as ReHome Desktop for everyday use. The original Skill remains available for automation and troubleshooting.

Download ReHome Desktop · Open Codex ReHome Skill

Move in three steps

  1. Source computer: Open ReHome Desktop, choose projects, conversations, and other content, then create a .rehome file.
  2. Transfer: Move the file privately by cloud drive, messaging, LAN, or external storage.
  3. Target computer: Install and sign in to Codex once, then fully quit Codex. Open ReHome Desktop, import the file, confirm the restore, and reopen Codex afterward.

The installer and a migration package are different files. The EXE or DMG installs ReHome Desktop; a .rehome file carries selected data between computers.

Starting with 0.1.36, Desktop exports preserve modern Codex project names, workspace roots and selected conversations' project membership, restoring them together when the target Codex supports this project model. Nested projects use the deepest matching directory, and grouping uses current database paths. Reimports reuse migrated project identities and preserve target-side name changes. If an existing conversation now belongs to a different project, import stops and preserves that assignment. Older Codex continues using path-based restoration without new database tables. To retain modern project grouping, update Desktop on the source computer and export again: missing grouping metadata cannot be recovered from older packages. This does not update the standalone Skill or change project-file selection and exclusion rules.

Starting with 0.1.34, ReHome discovers and exports Codex .jsonl.zst compressed rollouts. Export streams decoded bytes into normal .jsonl package entries, preserving the original thread ID, history mode and messages without changing source files. Plain rollouts and older packages remain supported. Corrupt or identity-mismatched rollouts produce explicit errors instead of incomplete successful packages or replacement of existing output. If the source computer has compressed rollouts, update ReHome there and export again.

0.1.34 also fixes a false conflict during immediate rollback after importing into a native SQLite WAL database. Genuine external changes after import remain protected. Keep backups on a real conflict; do not manually delete WAL or change the database journal mode.

Starting with 0.1.26, projects with colliding names in one package automatically restore into separate directories with identity suffixes. Conversation paths and project registration use the corresponding directories. This includes case-only and Unicode-equivalent names; unique names retain their original directory names. If an older version reports multiple package projects map to the same target directory, update ReHome on the target computer and import the original package again.

Starting with 0.1.27, ReHome preserves Codex's paginated conversation history mode and can recover that mode from conversation files in older migration packages. This fixes a missing history-mode marker that can cause list_turns is not supported yet after import. If a restored chat will not open, update ReHome on the target computer, close Codex, import the original package again, and then reopen Codex.

Starting with 0.1.31, import also maps saved workspace roots, including runtime_workspace_roots in later thread-settings snapshots. This prevents stale cross-platform roots from causing cannot restore workspace root ... path is not absolute. Selected projects and their subdirectories map to their respective destinations; extra workspace roots not included in the migration are removed from the list rather than assigned guessed locations. Chat messages stay unchanged. Older packages are supported: update ReHome on the target computer, close Codex, and preview/import the original package again. If the existing chat has changed, preserve it and check the newly imported copy.

What it can move

You can change project locations during import. In “Project save location”, choose the parent folder on the new computer. ReHome creates a directory for each project and updates associated chat paths. Check the complete target paths in the preview. Arbitrary per-project renaming and individual destination overrides are not currently available. The package must include the project to map its associated chats.

Starting with 0.1.33, the full export snapshot normally uses the package's destination filesystem and is cleaned after success or failure. Windows copies access permissions from the local private cache; macOS uses private directory permissions. Saving inside selected source content or on a filesystem without private directory permissions uses the local cache instead. Leave room for both snapshot and package. Selecting a project includes its files, so reducing the number of chats may not significantly reduce size. Full disks now report actual staging and save locations instead of an invalid-package error.

  • Selected projects and their files
  • Selected conversations and the local indexes needed for Codex to rediscover them
  • Skills (including .codex/skills and shared .agents/skills), Plugins, and generated images
  • Relevant local state and path mappings for selected content

Project files and conversation history are separate. Selecting a conversation does not automatically include source files. Selecting a project includes its child conversations by default, while still allowing individual conversations to be deselected.

Supported scenarios

Forked chats may reference their source history instead of storing a full copy. Export lists the source chats that must travel together and includes them only after you explicitly select them. Missing sources and dependency cycles block incomplete exports. Each batch containing a referenced fork must include its required source chats. Missing history cannot be recreated from an incomplete old package; keep the old computer's data and export again.

Codex versions can affect history loading; upgrading every computer to the latest release is not a universal migration requirement. In isolated testing with Codex CLI 0.163.0-alpha.11, directly reading a fork with a fresh history index could return an empty list. Opening its source chat first rebuilt readable history, which remained readable after restart. This limitation is recorded separately; file verification is not a claim that model continuation was verified.

  • Windows to Windows
  • Windows to macOS
  • macOS to Windows
  • macOS to macOS
  • Backup and restore around an operating-system reinstall on the same computer

ReHome Desktop is currently in beta. See validation status for real-world coverage and known boundaries.

Privacy and system impact

ReHome Desktop keeps migration offline. It requires no additional account, uploads no migration data, installs no system service, adds no autostart entry, and requests no administrator access. At launch it contacts GitHub Releases to check for a newer version. A failed check never blocks migration, and downloading or installing an update requires user confirmation.

Packages exclude login tokens, cookies, .env files, private keys, .git, node_modules, virtual environments, and runtime lock files by default. Never upload a personal .rehome file to GitHub, a public post, or a public download link.

Important limits

This is not official cloud sync and it does not automatically keep two computers synchronized each day. After a cross-platform move, an old conversation can remain useful historical context while its original working-directory handle no longer works. Reopen the restored project, then continue in a new task when needed.

Migration packages, ordinary project files, and complete Codex conversations no longer have a fixed byte-size cap. Project files are copied in chunks; transcript bodies stay in temporary files, and path rewriting and restore verification process one record at a time. Leave enough disk space for the package, temporary files, and restore backups. You can also select chats in batches. For successive batches from one project, keep the project selected in each package and import to the same project destination; unchanged project files are skipped, while changed target files still require conflict handling.

Parser safeguards remain: at most 100,000 archive entries, a 4 MiB manifest, a 64 MiB checksum file, 64 MiB of combined planning summaries and conversation bridge metadata, and a 128 MiB individual session JSON record. These bound parsing allocations, not the package or entire transcript size. An oversized record produces an explicit error; ReHome does not truncate or delete conversation content. Whether the target Codex can open a very large chat still depends on its version and the computer's resources.

Login sessions, browser state, running terminals, unsaved work, and native system dependencies are not fully portable. Different accounts or workspaces may require fresh sign-in or authorization for external services.

If restored conversations are missing from a project, also compare the two computers' model_provider identifiers. Some Codex versions filter the default conversation list by the current provider, so restored files, indexes, and project paths alone do not guarantee visibility. ReHome's restore verification does not currently check this provider-based visibility. For Model provider ... not found, first confirm that the target computer has the corresponding service configured; configure credentials on the target separately. Keep the original package and local backups, and share versions and a redacted error screenshot for troubleshooting. Do not bulk-edit conversations or the database, or publish configuration files, keys, or migration packages.

Need the Skill instead?

Codex ReHome Skill keeps the original Agent workflow, scripts, Red Skill, batch automation, and troubleshooting tools. It is for advanced users; ReHome Desktop is the recommended entry point for routine migration.

Install and help

After an export, package inspection or import error, the Codex help panel appears automatically with diagnostic text for review. Import results and History also offer Can't find or open a project or chat? Get help.

  • Copy for Codex: preview, then paste into a new Codex chat on this computer. The handoff includes product context, incident locations and safety instructions. No Skill is required; the Agent recovery guide is bundled for offline access.
  • Report on GitHub: preview a separately generated public summary, then open GitHub and submit it yourself. No diagnostic file or migration package is automatically uploaded.
  • Recheck data: read-only basic file and limited index checks. This does not open the database or repair data; opening and continuing the original chat is a separate verification.

Private diagnostics may contain full paths and error excerpts. Content pasted into Codex is processed by your configured model service; review before sending. The public summary excludes local paths, raw errors and additional notes. Up to 50 reports are stored separately in ReHome's local application data directory; an in-memory summary remains available if saving fails. Missing evidence in older records is explicitly unverified. Do not let a running Codex edit its own conversation database.

Starting with v0.1.4, ReHome Desktop can check, verify, and install signed updates inside the app. Users on v0.1.3 or earlier must install one final release manually. The updater signature prevents tampered update packages; it is separate from paid Apple or Windows publisher signing, so the operating system may still show an unknown-developer warning.

The interface starts in Chinese. Choose English from the top-right More options menu; ReHome remembers the choice on this device. History, Help, and Settings & about are in the same menu. Export and import use focused steps. File checks do not prove that an old chat is usable; open and continue the original chat before confirming the result.

Development and license

ReHome Desktop lives in desktop/. ReHome Core and Codex Bridge are bundled with the app; nothing else needs to be installed. Licensed under MIT.

Explore related projects

Loading…