Skip to content

Akuwatoga/codex-switch

Repository files navigation

Codex Switch

中文说明

License Python Platform

Codex Switch is a desktop and script-based tool for backing up, switching, and inspecting multiple Codex account configurations.

Screenshots

Codex Switch home screen

Codex Switch settings

Overview

  • Tauri desktop app for daily account switching.
  • Python scripts for backup, restore, and usage inspection.
  • Local account storage and cached usage data.
  • macOS, Windows, and Linux support.

Attribution

This repository is a modified derivative of Skywang16/codex-account-manager.

License Summary

The upstream project uses the MIT License. MIT is permissive: you may use, modify, publish, and redistribute this project, including on your own GitHub repository.

The main requirement is that you keep the license text and copyright notice in distributed copies or substantial portions of the software.

Quick Start

Desktop app

cd codex-tauri-app
npm install
npm run tauri dev

Build release package:

cd codex-tauri-app
npm run tauri build

Python scripts

python3 backup_current_account.py
python3 switch_account.py
python3 check_usage.py
python3 codex_account_manager.py

Main Features

  • Save the current account configuration.
  • Switch between saved accounts.
  • View cached usage and refresh current usage from the official endpoint.
  • Manage accounts through both Tauri UI and Python scripts.

Project Structure

codex-switch/
├── README.md
├── README.zh-CN.md
├── LICENSE
├── backup_current_account.py
├── check_usage.py
├── codex_account_manager.py
├── codex_account_manager_web.py
├── switch_account.py
├── usage_checker.py
├── assets/
└── codex-tauri-app/

Release Notes For Your GitHub Repo

  • Keep the upstream MIT license text in LICENSE.
  • Keep attribution to the upstream project in this README.
  • Publish desktop installers from GitHub Releases instead of committing them into the repo.

About

codex-switch is a lightweight, cross-platform desktop application designed to streamline your workflow with OpenAI's Codex (and compatible API) accounts. Effortlessly manage multiple accounts, switch contexts instantly, and monitor your API usage limits—all from a clean, intuitive interface.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors