AutoTeam  by cnitlrt

Automated ChatGPT Team account management and Codex authentication

Created 2 weeks ago

New!

753 stars

Top 45.7% on SourcePulse

GitHubView on GitHub
Project Summary

This project addresses the complexities of managing multiple ChatGPT Team accounts, focusing on automated seat rotation based on Codex credit limits and synchronizing authentication credentials. It targets users who need to maintain a consistent pool of available seats for programmatic or team-wide access, offering automated registration, authentication management, and status monitoring via a web interface.

How It Works

The system leverages Playwright for browser automation to handle account registration via temporary CloudMail and Codex OAuth authentication, including email code verification. It implements an intelligent rotation mechanism that automatically removes accounts with insufficient Codex credit and prioritizes reusing previously active accounts. FastAPI and Vue.js provide a web dashboard and API for management, while bidirectional synchronization with CLIProxyAPI ensures authentication files are kept up-to-date.

Quick Start & Requirements

  • Primary install/run command: Use uv sync && uv run playwright install chromium for setup. Run the web UI and API with uv run autoteam api or rotation only with uv run autoteam rotate. Docker deployment is available via docker compose up -d after cloning the repository and configuring .env.
  • Non-default prerequisites: Python 3.10+, Playwright (Chromium), uv package manager. Docker is recommended for deployment. Windows/macOS do not require xvfb.
  • Links: CLIProxyAPI, Playwright, uv, FastAPI, Vue 3, Docker. A detailed "从零开始部署教程" is available.

Highlighted Details

  • Automated account registration using temporary emails and Playwright.
  • Codex OAuth support with manual callback URL pasting and automatic localhost redirection.
  • Intelligent seat rotation based on Codex credit monitoring.
  • Bidirectional synchronization of authentication files with CLIProxyAPI.
  • Web dashboard for account statistics, management operations, and task logging.
  • One-click export of auth.json for direct OpenAI CLI usage.

Maintenance & Community

The project acknowledges support from the LinuxDo community. Specific links to community channels like Discord or Slack, or details on core maintainers, are not prominently featured in the README.

Licensing & Compatibility

  • License: MIT License.
  • Compatibility: A disclaimer explicitly states the tool is for learning/research and may violate OpenAI's Terms of Service regarding automation and multi-account management. Users assume all risks, including account bans and IP restrictions.

Limitations & Caveats

The project carries inherent IP risks, recommending residential proxies over VPS IPs due to potential flagging by OpenAI/Cloudflare. Concurrent Playwright operations are limited to one at a time. OpenAI verification codes have short validity periods, which can lead to failures with network latency. Use of this tool may violate OpenAI's service terms.

Health Check
Last Commit

7 hours ago

Responsiveness

Inactive

Pull Requests (30d)
22
Issues (30d)
19
Star History
767 stars in the last 17 days

Explore Similar Projects

Feedback? Help us improve.