CPA-Codex-Manager  by Maoleio

OpenAI account pool management and automation

Created 2 weeks ago

New!

381 stars

Top 74.8% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a high-performance management panel designed for OpenAI account pools, automating critical tasks such as batch registration, real-time monitoring, and intelligent maintenance. It targets users who manage large numbers of OpenAI accounts, offering significant benefits in efficiency and operational stability by streamlining complex account lifecycle management.

How It Works

The system employs a Python 3.10+ backend using FastAPI and SQLAlchemy, with a Vanilla JS frontend leveraging WebSockets for real-time updates. It supports multi-mode concurrent registration: Parallel mode allows high-throughput registration (e.g., 50 threads for 1000 tasks), while Pipeline mode simulates realistic user behavior with random delays to evade risk controls. Automated account inspection continuously monitors for 401 authentication failures and Quota exhaustion, automatically removing problematic accounts. An intelligent auto-replenishment system triggers new account creation when the available pool drops below a configured threshold, with progress visualized on a full-stack monitoring dashboard.

Quick Start & Requirements

  • Primary Install: Requires Python 3.10+. Install dependencies using uv sync or pip install -r requirements.txt. Configuration is done by copying .env.example to .env.
  • Running: Launch the web UI with python webui.py (accessible at http://localhost:8000). Docker support is available via docker compose up -d. A desktop version can be run with pip install pywebview and python desktop.py.
  • Links: Example docker-compose.yml is available via curl.

Highlighted Details

  • Supports high-concurrency registration with up to 50 threads for 1000 tasks in parallel mode.
  • Automated account health checks detect 401 authentication errors and Quota exhaustion, purging "zombie" accounts.
  • Intelligent auto-replenishment system ensures pool availability, triggering补货 (replenishment) automatically.
  • Features a real-time monitoring panel with WebSocket-based log streaming and progress visualization.
  • Includes emergency defense mechanisms with dynamic thresholds and configurable cooldown periods.
  • Supports multiple email services: Outlook, TempMail, and CloudMail.

Maintenance & Community

The README indicates recent updates (v1.1.0) focusing on registration flow, monitoring logic, and UI clarity. No specific details regarding community channels (Discord/Slack), active contributors, or roadmap links are provided.

Licensing & Compatibility

  • License: MIT License.
  • Compatibility: The MIT license generally permits commercial use, but the project includes a strong disclaimer.

Limitations & Caveats

This project is explicitly intended for learning, research, and technical exchange purposes only. Users assume all risks and consequences associated with its use, and must adhere to OpenAI's terms of service. The nature of managing automated accounts for services like OpenAI carries inherent risks related to policy changes and rate limiting.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
28
Star History
392 stars in the last 17 days

Explore Similar Projects

Feedback? Help us improve.