ReinerBRO/grok-register

Automated Grok (x.ai) account registration with DuckMail + headless server support. Auto-push SSO tokens to grok2api.

What it solves

This project provides an automated way to create multiple Grok (x.ai) accounts. It solves the difficulty of manual registration by automating the browser, handling temporary email verification, and bypassing security checks like Cloudflare Turnstile.

How it works

The tool uses DrissionPage for browser automation and integrates with the DuckMail API to receive verification codes via temporary emails. To bypass Cloudflare's bot detection, it employs a custom Chrome extension to patch MouseEvent.screenX/screenY and uses curl_cffi for TLS fingerprinting. For Linux servers, it automatically manages a virtual display via Xvfb to support headless operation.

Who it’s for

Developers or users who need multiple Grok accounts for testing or API access and want to automate the account creation process and the subsequent export of SSO tokens.

Highlights

  • Automated Verification: Uses DuckMail for temporary email handling.
  • Cloudflare Bypass: Includes a Chrome extension specifically designed to fix CDP defects to evade Turnstile detection.
  • Headless Support: Automatic detection of Linux environments to enable Xvfb virtual displays.
  • Token Integration: Automatically pushes generated SSO tokens to grok2api for centralized management.

Related

  • Project
  • Project
  • Project
  • Project