Giter Club home page Giter Club logo

chatgpt-register's Introduction

ChatGPT-Register

ChatGPT-Register Logo 🫷🥹🫸 image

ChatGPT-Register 是一个自动化工具,用于无人工干预地注册 ChatGPT 账号。

结合PandoraNext项目和Capsolver,它实现了一个高效的注册流程。

完全模拟整个注册流程,在安全无风险的基础上,单个实例注册用时仅需 2min!

特点

  • 🚀 自动化注册:自动完成整个ChatGPT账号注册流程,使用Capsolver来绕过注册中的验证码。
  • 📧 邮箱监控:自动监控和处理OpenAI的Verification认证邮件。
  • 🐍 Python脚本:使用Python和selenium自动操作,并使用undetected_chromedriver防止检测。
  • 🐳 Docker支持:通过Docker Compose轻松部署。
  • 📦 灵活数据存储:结果保存在SQLite数据库,支持自定义存储。

安装指南

公共步骤:

  1. 克隆仓库:
    git clone https://github.com/QvQQ/ChatGPT-Register
    cd ChatGPT-Register
  2. 复制并编辑配置文件:
    cp config_template.yaml config.yaml
    # 编辑 config.yaml 文件

方法一:通过本机直接运行(推荐)

  1. 安装依赖:
    pip install -r requirements.txt
  2. 运行脚本:
    python main.py

方法二:使用Docker Compose

  1. 在项目根目录下运行:

    docker compose up

    PS. 由于使用了 Selenium 来模拟请求,对主机配置有较高要求。如果报错,可以尝试延长程序中寻找元素的等待时间。

  2. (可选)要查看容器内部的情况,请访问容器内置的 noVNC 服务 http://localhost:7900/?autoconnect=1&resize=scale&password=secret

结果存储

注册的结果将被保存在SQLite数据库 account.db 中。您可以使用Navicat等软件查看数据库,或修改存储函数将结果存储至txt文件中。欢迎提出Pull Request共同改进项目。

  • Update 2024.1.5 现在可以连接远程服务器的数据库了!

配置文件说明

config_template.yaml 文件中包含以下配置项:

# 是否使用 headless 模式(Docker 中应该开启,本地可以关闭测试)
headless_browser: true

# 注册账号的邮箱后缀,包含`@`
account_postfix: ""

# Capsovler 的 client_key
client_key: ""

# PandoraNext 镜像站网址
pandora_next_website: "https://chat.oaifree.com"

# PandoraNext 镜像站的 site_password(如有)
site_password: ""

# IMAP 服务器设置(须支持SSL)
IMAP_server: "outlook.office365.com"
IMAP_port: 993

# 邮箱账号与密码
email_username: ""
email_password: ""

# 邮箱的收件箱名称(如Outlook的"Inbox")
email_folder: "Inbox"

# ChatGPT 使用的 FunCaptcha 类型
puzzle_type: "train_coordinates"

请根据您的需要编辑这些配置项。

使用示例

  • 注册过程的日志截图:

    注册过程日志
  • 数据库中的账号截图:

    数据库账号截图

加入我们

欢迎加入微信群,获取更多信息和支持:

微信群二维码

贡献

期待您的Pull Request和建议,一起完善这个项目。

许可

本项目采用 MIT 许可证。

chatgpt-register's People

Contributors

qvqq avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.