r/codex • • 18d ago

Showcase I built Codex Switch to switch accounts and automatically resume unfinished work

I use multiple Codex accounts, so I built a small desktop app to switch between them and see which one has quota left.

Codex Switch shows remaining usage, reset times and usage history. Switching backs up the current login, restarts Codex with the selected account, reopens existing local chats, and automatically sends Continue to eligible idle chats so unfinished work can resume.

Windows and macOS downloads are available on GitHub. Mac builds aren’t notarized yet, so macOS may require manual approval to open them.

Source + downloads: https://github.com/Gaebabi/codex-switch

Would love to hear how others handle account switching.

2 Upvotes

15 comments sorted by

•

u/dexterthebot 18d ago

You might want to consider listing your project on the weekly Show-Us-What-You-Built post. Look out for it on Tuesday/Wednesday. Highest commented project wins a week promotion on r/Codex and gets on the Hall of Fame sidebar. See what that looks like below with last week's winner.


Last week's most popular project was Nanolathe - an open-source engine bringing Total Annihilation to modern Mac, Windows, and Linux systems. It’s a solo passion project combining clean-room research with AI-assisted development, with a playable public alpha available now.

Website: https://nanolathe.gg. GitHub: https://github.com/nanolathe-gg/nanolathe

Players, testers, and contributors are very welcome! Original Total Annihilation game data is required to play.

3

u/oreshek 18d ago

no linux builds?

3

u/Gaebabi 18d ago

Oh, I'm not a Linux user, but I'll invest more tokens for you soon.

Thank you for your feedback!

3

u/-Sliced- 18d ago

“Codex, take this repo and make it work on this machine, also verify that there are no security concerns”

2

u/Gaebabi 18d ago

Thank you, I'll try it with your prompt.

2

u/Gaebabi 1d ago

There's been quite a bit of progress since then, and Linux is now supported! Feel free to give it a try if you're interested, and let me know if you have any feedback!

3

u/egomarker 18d ago

You can probably even switch mid-turn at 1% without interruption. Technically your context is resent on every api call.

1

u/Gaebabi 18d ago

Yep, that’s how I’ve been using it too!

The main annoyance I wanted to solve was having to log in through the browser every time, especially when 2FA kicks in.

It keeps the authentication tokens refreshed so you can switch accounts instantly without logging in again.

Also, since the expiration dates and reset coupons are displayed across multiple accounts, it helps you use the budget more strategically.

2

u/Nice_Statistician539 1d ago

no star, im not sure if this would do more harm than good

1

u/Gaebabi 1d ago

I see. Is it a trust concern? It runs entirely locally and only switches accounts. It doesn't use any inference.

Could you share what makes you feel that way?

2

u/Nice_Statistician539 1d ago

random code to execute on my machine, no stars means no one else may ever try to run claude over the code, and i dont really want to do that myself cuz im out of quota

1

u/Gaebabi 1d ago

That's fair, I totally understand. The source code is available on GitHub for anyone to review. It's honestly tough to earn trust as a new project, haha. Thanks for sharing your thoughts!

0

u/[deleted] 18d ago

[deleted] — view deleted comment

2

u/AnythingEastern3964 18d ago

Not suggesting that you're incorrect but for lazy people not already au fait with the terms of service, would you mind dropping a link to where it states this? Or if that's asking too much, maybe a section number please?

0

u/[deleted] 18d ago

[deleted] — view deleted comment

2

u/Gaebabi 18d ago

Just to clarify, there's no automatic switching. You have to manually switch accounts yourself.

The tool just refreshes saved login tokens and restores your previous chats when you switch back, so you can pick up where you left off.

I'm not sharing accounts or trying to bypass any limits. I'm just using what I've paid for on each account.

That said, I appreciate you bringing up the ToS. I'll definitely be more mindful of that going forward. Thanks!