longmao-code

longmao-code / codex-

Public

codex切换中转站丢失对话窗口恢复工具

13
3
69% credibility
Found May 10, 2026 at 13 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

A desktop graphical tool for scanning, repairing provider mismatches, rewriting history, and deleting conversations in a local Codex chat application's data folder.

How It Works

1
🔍 Find the chat fixer tool

You hear about this handy app when your AI chat history gets messy after switching chat services.

2
🖥️ Open the app

Launch the simple window that pops up on your screen, feeling easy and familiar like any other program.

3
📁 Point to your chat folder

Click to select the special folder where all your past conversations are kept safe on your computer.

4
🔎 Scan your chats

Hit scan and watch it quickly list all your open chats, archived ones, their sizes, and when they were last updated.

5
Spot the issues

See totals for active chats, old archives, and any mismatches from past services, making it clear what needs fixing.

6
🗑️ Choose fixes

Check boxes next to chats to delete junk, repair old service links, or update history to match your current setup.

7
💾 Run the cleanup

Click to backup everything first, then let it tidy up safely while you watch the log update in real time.

🎉 Chats are perfect

Your conversation list is now clean and compatible, with backups ready just in case, so chatting feels fresh again.

Sign up to see the full architecture

6 more

Sign Up Free

Star Growth

See how this repo grew from 13 to 13 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-?

Codex- is a Python desktop app with a Tkinter GUI that manages local chat history for the Codex AI client, typically in ~/.codex. It scans your active and archived conversations, displays their providers, sizes, and update times, then lets you bulk-delete threads, repair config.toml when switching model providers (like from one LLM host to another), or rewrite history files to match your current setup. If you've lost chat windows after changing providers in Codex—say, migrating from a GitHub Copilot-like endpoint to a custom one—this tool recovers compatibility without manual DB tweaks.

Why is it gaining traction?

It tackles a pain point unique to Codex users: provider switches break old chats due to mismatched model_provider entries in SQLite DBs and JSONL session files, and no official tool handles repairs or clean deletions. The GUI offers one-click scans, previews, backups, and actions like adding config aliases or rewriting metadata, saving hours versus scripting it yourself. For devs chaining Codex with GitHub integrations like Copilot, actions, or PR reviews, the thread lists and memory stats make auditing history straightforward.

Who should use this?

Codex power users who frequently swap AI providers for cost or features, such as indie devs testing codex-cli with multiple backends or teams using codex-github-plugin for code reviews. It's ideal for cleaning bloated chat archives before releases or when onboarding via codex-app on new machines. Skip if you're not deep into Codex's local state management.

Verdict

Grab it if you're wrestling with Codex provider drift—it's a niche lifesaver despite 13 stars and 0.7% credibility signaling early-stage code with minimal docs or tests. Run in a VM first to test backups, as it's raw but functional for targeted fixes.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.