CLI automation bot that registers Qwen Cloud accounts via the Gmail dot trick, solves slider captchas for free, and scrapes API keys.
- Automated Account Creation: Automatically registers accounts on Qwen Cloud.
- Gmail Dot Trick: Uses the Gmail dot trick to generate multiple aliases from a single Gmail address.
- Email Verification: Automatically reads your Gmail using IMAP to retrieve verification codes.
- Captcha Solver: Uses Playwright and image processing (Jimp) to automatically solve slider captchas.
- API Key Scraping: Automatically extracts API keys after successful registration.
- Node.js (v16 or higher recommended)
- A Gmail account with 2FA enabled and an App Password.
- Proxies (Optional but recommended to prevent IP bans).
-
Clone this repository:
git clone https://github.com/wanglinsaputra/bwen.git cd bwen -
Install dependencies:
npm install
-
Copy the example environment file and configure it:
cp .env.example .env
-
Open
.envand fill in your details:GMAIL_USERNAME: Your base Gmail address (e.g.,yourname@gmail.com).GMAIL_APP_PASSWORD: Your 16-character Gmail App Password. (Do NOT use your normal password. Generate one here).QWEN_SSO_URL: The Qwen Cloud SSO URL.HEADLESS: Set totrueto run invisibly, orfalseif you want to watch the browser work.
-
(Optional) Add your proxies: Create or edit
proxy.txtin the root directory and add your proxies, one per line. Supported formats:user:pass@host:portip:portip:port:user:pass
To run the bot in development mode using ts-node:
npm run devTo build and run the compiled JavaScript:
npm run build
npm start- The registered accounts and scraped API keys will be saved to
accounts.csv. - Temporary files might be stored in the
scratch/directory.
This project is for educational purposes only. Use responsibly and adhere to the terms of service of the targeted platforms.
MIT — feel free to use, modify, and distribute.