fengfengzhidao

将chatgpt的session登录状态变成auth.json格式

14
10
60% credibility
Found May 24, 2026 at 14 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
HTML
AI Summary

This project is a simple web-based tool that helps you reuse your existing ChatGPT login session with Codex, a local AI coding assistant. Instead of going through a separate login process for Codex, you can export your ChatGPT session data and convert it into a format Codex understands. The tool runs entirely in your browser—it never sends your data anywhere or saves it to storage. It's designed for people who already have a valid ChatGPT login and want a smoother experience setting up Codex.

How It Works

1
💡 You discover a shortcut

You learn about Codex, a local AI coding assistant, but setting up authentication feels complicated.

2
🔍 You find a helpful tool

Someone shares a simple web page that can help bridge your existing ChatGPT login to Codex.

3
📋 You grab your ChatGPT session

You export your already-valid ChatGPT login information directly from your browser—no new passwords needed.

4
🔄 The magic conversion happens

You paste your session into the web page, and it transforms it into a format Codex can understand.

5
You save your new file
📁
Download to your computer

You save the file locally and place it where Codex expects it.

🌐
Use the online version

You visit the live website and do the conversion right there—no downloads needed.

🎉 You're ready to code!

Codex recognizes your login and you're all set to start your AI-assisted coding session.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

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

This is a lightweight HTML utility that converts ChatGPT session JSON exports into the auth.json format that Codex local applications expect. Paste your session data into the browser-based tool and it outputs the properly shaped auth file. The entire conversion happens client-side with no network requests or local storage, which means your tokens never leave your machine.

Why is it gaining traction?

The hook here is simplicity and trust. Codex local apps can skip the login flow entirely if they already have valid auth state, but getting from browser session to local auth file has been a manual pain point. This tool automates that conversion in seconds. The fact that it's a single static HTML file you can open directly means zero installation, zero dependencies, and you can audit the code yourself before running it.

Who should use this?

Developers running Codex locally who want to preserve an existing ChatGPT browser session without re-authenticating. If you've already logged in through the web interface and need that state to work with the desktop app, this is your bridge. Not useful if you don't use Codex locally or if you prefer the standard login flow.

Verdict

This fills a narrow but real gap for Codex power users. At 14 stars with no visible test suite, the credibility score of 0.6% reflects a project in early stages with minimal community validation. Worth trying if you need the specific workflow it enables, but verify the output before trusting it with production credentials.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.