Skip to content
canu0205Public

About

multiple chatgpt accounts in one codex cli, without signing out of the chatgpt desktop app.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

coduck rubber duck

coduck

multiple chatgpt accounts. one codex cli.

the name combines codex with rubber duck debugging: a small coding companion that lets you choose which account talks to codex.

switch between work, personal, and school accounts while keeping your chatgpt desktop app signed in. your codex settings, instructions, skills, memories, and local sessions stay shared. your usual codex login stays separate.

coduck demo

install

requires macos and codex cli 0.154.0 or newer.

coduck uses Codex's app-server protocol and checks the installed CLI at startup. newer Codex versions are accepted when that protocol remains compatible.

  1. install with curl
curl --proto '=https' --tlsv1.2 -LsSf \
  https://github.com/canu0205/coduck/releases/latest/download/coduck-installer.sh | sh

add Coduck to your PATH so the coduck command works in every Terminal window:

echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.zshrc

then close and reopen Terminal.

  1. build from source

to build from source, install rust 1.90+ and run:

cargo install --git https://github.com/canu0205/coduck --locked

use

coduck login work
coduck login personal
coduck list

coduck run work
coduck run personal
coduck run personal --resume SESSION_ID

coduck logout personal
  • each name saves a separate login. run the same profile in multiple terminal panes, tabs, or windows. closing a session keeps you signed in.

  • coduck logout personal signs out only that profile. close its other running sessions first; login/logout cannot change credentials used by another session.

  • local history is shared. resuming with another account sends that conversation's context using the selected account.

  • early macos prototype. other codex versions, named codex configuration profiles, and ctrl-z suspension are not supported yet.

license

mit. the mascot is cc0.

About

multiple chatgpt accounts in one codex cli, without signing out of the chatgpt desktop app.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages