lordydord/Codex-Account-Switcher
关于
A free Mac menu bar app that shows every ChatGPT account’s Codex limits and switches accounts in one click, with verified switching, reset credits and auto-switch.
人工智能与机器学习实测星标增长
- 24小时
- +2
- 7天
- +5
- 15天
- +8
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Codex Account Switcher
Switch Codex accounts without breaking your flow.
A free menu bar app for Mac that shows how much of each ChatGPT account’s Codex limit is left, and switches accounts in one click.
Download for Mac · Website · What’s new
What it does
If you use Codex with more than one ChatGPT account, you know the routine: a limit runs out mid-task, you sign out, sign in to another account, and hope it has room. Codex Account Switcher takes care of that from the menu bar.
- See every limit at once. The 5-hour and weekly limits for each saved account, updated live.
- Switch in one click. It saves your session, changes account, checks the change worked, then reopens ChatGPT. If anything goes wrong, it puts the previous account back.
- Know which account to use next. The account with the most room left is marked “Best next”.
- Use reset credits before they expire. Every credit across your accounts, soonest first, with a confirmation before any is spent.
- Let it run itself. Optional auto-switch when a limit gets low, auto-resume to carry on the task, and usage reminders.
![]() |
![]() |
![]() |
| Accounts | Resets | Settings |
New in 3.0
A ground-up redesign for macOS 27, and a much lighter app underneath.
- Liquid Glass throughout. One glass panel with a standard toolbar and tabs, in light and dark.
- Limits you can read at a glance. Rings for the active account, slim meters for the rest.
- A calmer menu bar item. A small usage ring that only turns red when you’re nearly out.
- Faster. Switches finish seconds sooner, the panel opens instantly, and the app does far less in the background.
Read the full release notes.
Install
Download the latest version from Releases, unzip it and move Codex Account Switcher to Applications.
The app isn’t notarised yet, so the first time, right-click it and choose Open.
Install codex-auth and sign in once for each ChatGPT account:
npm install -g @loongphy/codex-auth codex-auth login
You’ll need: macOS 14 or later (designed for macOS 27), the ChatGPT desktop app in Applications, and codex-auth.
Each release includes a SHA-256 checksum so you can check the download.
How switching works
Every switch follows the same routine:
- Save the current session, so nothing is lost.
- Ask codex-auth to change account, then confirm the new account really is active.
- If it isn’t, restore the previous account and explain what happened.
- Quit and reopen ChatGPT on the new account.
Auto-switch waits a short cooldown between switches, so it never bounces back and forth.
Reset credits work the same careful way: using one always asks first. The app never retries a spend on its own, and only reports success once ChatGPT confirms the limit was reset.
Privacy
- The app uses the sign-ins codex-auth already keeps on your Mac. It adds no analytics, no adverts and no extra account.
- Your sign-ins are only used to talk to ChatGPT, to check your limits and reset credits.
- This repository contains no credentials, tokens, account IDs or real email addresses. Every screenshot uses demo accounts.
- Diagnostics in the ••• menu copies a health report you can share, without tokens or account IDs.
Build from source
You’ll need the Xcode command line tools.
git clone https://github.com/lordydord/Codex-Account-Switcher.git
cd Codex-Account-Switcher
./run-tests.sh # infrastructure and reset-logic checks
./build.sh # builds build/Codex Account Switcher.app
./install.sh # copies it to /Applications
./package-release.sh creates a verified release zip and checksum.
Project layout
Sources/main.swift App delegate, account workflows, switching and resets
Sources/AccountPanelView.swift The menu bar panel: Accounts, Resets, Settings
Sources/PanelComponents.swift Liquid Glass controls, rings, meters and menu bar glyphs
Sources/Models.swift Shared models and the panel theme
Sources/AppInfrastructure.swift Commands, networking and shared policies
Sources/LifecycleMonitor.swift Opens and closes the switcher alongside ChatGPT
Tests/ Infrastructure checks
docs/ The website (GitHub Pages)
Licence
MIT. See LICENSE.
Codex Account Switcher is an independent open-source project. It isn’t affiliated with or endorsed by OpenAI.
探索相关项目
加载中…


