codex-switcher  by Lampese

Manage multiple OpenAI Codex CLI accounts

Created 4 months ago
334 stars

Top 82.2% on SourcePulse

GitHubView on GitHub
Project Summary

A desktop application designed to simplify the management of multiple OpenAI Codex CLI accounts. It allows individual users to easily switch between their own accounts, monitor API usage limits in real-time, and manage quotas efficiently, enhancing productivity for those who utilize multiple OpenAI profiles.

How It Works

Built using the Tauri framework, Codex Switcher provides a desktop interface for managing OpenAI accounts. It supports adding and organizing multiple accounts, enabling single-click switching between them. The application offers real-time monitoring of both 5-hour and weekly usage limits. Authentication can be handled via OAuth or by importing existing auth.json files, offering flexibility in setup.

Quick Start & Requirements

  • Prerequisites: Node.js (v18+), pnpm, Rust.
  • Installation: Clone the repository, then run pnpm install.
  • Development: Execute pnpm tauri dev.
  • Production Build: Run pnpm tauri build. The application bundle will be located in src-tauri/target/release/bundle/.
  • Web Dashboard: Serve the dashboard over HTTP using pnpm lan (binds to 0.0.0.0:3210 by default, configurable via CODEX_SWITCHER_WEB_HOST and CODEX_SWITCHER_WEB_PORT). This allows access via LAN or tunnels.

Highlighted Details

  • Multi-Account Management: Add and manage an unlimited number of Codex accounts.
  • Quick Switching: Seamlessly switch between accounts with a single click.
  • Usage Monitoring: Real-time display of 5-hour and weekly API usage limits.
  • Dual Login Modes: Supports both OAuth authentication and importing auth.json files.
  • Versioning Helper: Includes pnpm scripts for managing application versions across dependencies and releases.

Maintenance & Community

No specific details regarding contributors, sponsorships, or community channels (e.g., Discord, Slack) were provided in the README snippet.

Licensing & Compatibility

The license type is not explicitly stated in the provided README. Compatibility for commercial use or linking with closed-source projects is not specified.

Limitations & Caveats

This tool is strictly intended for individuals who personally own and manage multiple OpenAI/ChatGPT accounts. It is explicitly not designed for sharing accounts between users, account pooling, or circumventing OpenAI's terms of service. Users must be the rightful owners of all accounts added to the application, and the authors disclaim responsibility for any misuse or violations.

Health Check
Last Commit

1 month ago

Responsiveness

Inactive

Pull Requests (30d)
8
Issues (30d)
3
Star History
101 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.