Ttungx/codex_auto_register

Codex Register

What it solves

This project provides a set of scripts to automate the registration of ChatGPT accounts using temporary email services (DuckMail API). It specifically focuses on generating authentication tokens that are compatible with CLIProxyAPI v6, allowing users to bypass manual registration processes.

How it works

The tool uses the curl_cffi and requests libraries to simulate registration flows. It integrates with the DuckMail API to create temporary emails for account verification. The protocol_keygen.py script handles the Codex OAuth login process to exchange for tokens and generates JSON files formatted for use with CLIProxyAPI v6.

Who it’s for

Developers or users who need to automate the creation of multiple ChatGPT accounts and integrate them into a proxy API management system.

Highlights

  • Automated Registration: Uses DuckMail API for temporary email handling.
  • Codex OAuth Integration: Implements the Codex protocol to generate authentication tokens.
  • CPA Compatibility: Specifically designed to output files compatible with CLIProxyAPI v6.
  • Optional API Upload: Can automatically upload registered account data to a CPA management interface.

Related

  • Project
  • Project
  • Project
  • Project