Automated ChatGPT account signup using Outlook email stock with IMAP OTP retrieval
Project description
chatgpt-creator
Automated ChatGPT account signup using Outlook email stock with IMAP OTP retrieval.
Installation
pip install chatgpt-creator
Or install from source:
git clone https://github.com/5enox/chatgpt-creator.git
cd chatgpt-creator
uv sync
accounts.xlsx Format
Rows starting from row 4, column A. Each cell formatted as:
email----password----client_id----refresh_token
CLI Usage
# Create 1 account (default)
chatgpt-creator
# Create multiple accounts
chatgpt-creator -n 5
# Async mode — run signups concurrently
chatgpt-creator -n 10 --async --max-concurrent 5
# Custom stock file
chatgpt-creator --stock my_emails.xlsx
# With proxy
chatgpt-creator --proxy socks5://user:pass@host:port
# Verbose / quiet logging
chatgpt-creator -n 3 -v # debug output
chatgpt-creator -n 3 -q # errors only
# All options
chatgpt-creator -n 3 --stock emails.xlsx --output results.json --proxy socks5://host:port --async
Library Usage
Sync
from chatgpt_signup import signup, load_email_stock
stock = load_email_stock("accounts.xlsx")
result = signup(
email=stock[0]["email"],
password="MyPassword123!",
name="John Doe",
birthday="1995-06-15",
client_id=stock[0]["client_id"],
refresh_token=stock[0]["refresh_token"],
proxy="socks5://user:pass@host:port", # optional
)
print(result["status"]) # "success" or "failed"
print(result["access_token"]) # ChatGPT access token
Async
import asyncio
from chatgpt_signup import async_signup, async_signup_batch, load_email_stock
stock = load_email_stock("accounts.xlsx")
# Single async signup
result = asyncio.run(async_signup(
email=stock[0]["email"],
password="MyPassword123!",
name="John Doe",
birthday="1995-06-15",
client_id=stock[0]["client_id"],
refresh_token=stock[0]["refresh_token"],
))
# Batch — sign up multiple accounts concurrently
accounts = [
{
"email": s["email"],
"password": "MyPassword123!",
"name": "John Doe",
"birthday": "1995-06-15",
"client_id": s["client_id"],
"refresh_token": s["refresh_token"],
}
for s in stock[:5]
]
results = asyncio.run(async_signup_batch(accounts, max_concurrent=3))
Retry Decorator
from chatgpt_signup import retry, async_retry
@retry(max_attempts=3, delay=2.0, backoff=2.0, exceptions=(ConnectionError,))
def my_flaky_function():
...
@async_retry(max_attempts=3, delay=2.0, backoff=2.0, exceptions=(ConnectionError,))
async def my_async_flaky_function():
...
Logging
Uses Python's logging module under the chatgpt_signup namespace. Configure to your needs:
import logging
logging.basicConfig(level=logging.DEBUG) # see everything
logging.basicConfig(level=logging.ERROR) # errors only
Environment Variables
| Variable | Description |
|---|---|
SIGNUP_PROXY |
Default proxy URL |
ACCOUNTS_XLSX |
Default stock file path |
CREATED_ACCOUNTS_FILE |
Default output file path |
Output
Created accounts are saved to created_accounts.json with email, password, name, birthday, and access token.
Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request.
- Fork the repo
- Create your branch (
git checkout -b feature/my-feature) - Commit your changes (
git commit -m 'Add my feature') - Push to the branch (
git push origin feature/my-feature) - Open a Pull Request
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chatgpt_creator-0.2.0.tar.gz.
File metadata
- Download URL: chatgpt_creator-0.2.0.tar.gz
- Upload date:
- Size: 30.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd56beac236f895909d64256e8d763a24d48b428d95392a2b78ca7c8ff439d18
|
|
| MD5 |
def73446ab0b531d5efdb8fb061cf467
|
|
| BLAKE2b-256 |
1c423fd1ec3a73852def81bb83d930ca1dfd5b641582a89ce825ee420ff12f42
|
File details
Details for the file chatgpt_creator-0.2.0-py3-none-any.whl.
File metadata
- Download URL: chatgpt_creator-0.2.0-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe10e6dadb68098436d20593d6344eadbb9772434d8e3123ea87212a1f6cdc8f
|
|
| MD5 |
5e5ccffb0d4b4a1495bf4bb98098ca96
|
|
| BLAKE2b-256 |
2b9ca0e5a145eb0153158418dd4a93c9e0a7e787660f24b9b483932966b1d136
|