grok-builder-cli
v1.0.2
Published
Auto-register Grok (x.ai) accounts with temp mail (CloakMail/glx.web.id) and auto-integrate into 9router — multi-threaded CLI
Maintainers
Readme
🚀 Grok Builder CLI
Auto-register Grok (x.ai) accounts — multi-threaded, with 9router integration
npx @gelglx/grok-builder-cliFeatures
- ✨ Auto-register Grok (x.ai) accounts via Playwright
- 📧 Temp mail via CloakMail (glx.web.id) — no external API needed
- 🛡️ Turnstile bypass — Chrome extension patches Cloudflare detection
- 🔗 9router OAuth — auto-add accounts as Grok CLI providers
- ⚡ Multi-threaded — parallel workers for batch registration
- 🎨 Beautiful CLI — progress bars, spinners, live stats
Quick Start
# Set password (min 16 chars)
export PASSWORD='MySecurePass123!@'
# Run interactive CLI
npx @gelglx/grok-builder-cliOr install globally:
npm install -g @gelglx/grok-builder-cli
grok-builderEnvironment Variables
| Variable | Default | Description |
|----------|---------|-------------|
| PASSWORD | (required) | Password for Grok accounts (min 16 chars) |
| MAIL_URL | https://glx.web.id | Temp mail base URL |
| MAIL_DOMAIN | glx.web.id | Temp mail domain |
| ROUTER9_URL | http://localhost:20128 | 9router gateway URL |
| ROUTER9_PASS | 123456 | 9router dashboard password |
Requirements
- Node.js 18+
- Xvfb (Linux) — for headless browser display
- Google Chrome or Chromium installed
How It Works
┌──────────────────────────────────────────┐
│ 1. Create temp email (glx.web.id) │
│ 2. Open accounts.x.ai/sign-up │
│ 3. Enter email → wait for OTP │
│ 4. Extract code from mail inbox │
│ 5. Fill name + password │
│ 6. Turnstile auto-solve │
│ 7. Submit → redirect to grok.com │
│ 8. Save SSO cookies │
│ 9. (optional) OAuth device flow → 9R │
└──────────────────────────────────────────┘License
MIT
