ABCard — Browser Automation Tools tool screenshot
Browser Automation Tools

ABCard: Best Browser Automation Tools for Indie Hackers in 2026

6 min read·

ABCard automates full ChatGPT account registration, promo activation, and Stripe payment via Playwright on Xvfb with hCaptcha bypass using SwiftShader rendering.

Pricing

Open-Source

Tech Stack

Python, Streamlit, Playwright

Target

indie hackers provisioning AI accounts

Category

Browser Automation Tools

What Is ABCard?

ABCard is an open-source Python automation tool developed by GitHub user kaima2022 that handles end-to-end ChatGPT account creation and Business or Plus plan activation using first-month-free promos. It integrates temporary email generation, Playwright browser control, Stripe form filling, and hCaptcha solving on virtual displays via Xvfb. ABCard is one of the best Browser Automation Tools for indie hackers provisioning AI accounts, with 288 GitHub stars and 211 forks as of October 2024, supporting both Streamlit Web UI and CLI modes for bulk operations.

The repo includes 68 commits across files like main.py, payment_flow.py, and captcha_solver.py, focusing on API-driven registration followed by headless Chrome payments. It targets promo codes like team-1-month-free for 5-seat Business plans at $0 initial cost.

Quick Overview

AttributeDetails
TypeBrowser Automation Tools
Best Forindie hackers provisioning AI accounts
Language/StackPython / Streamlit + Playwright
LicenseUnspecified (public repo)
GitHub Stars288 as of Oct 2024
PricingOpen-Source
Last ReleaseN/A (0 tags) — c934141 on recent date

Who Should Use ABCard?

  • Indie hackers scaling AI workflows: Use ABCard to provision dozens of ChatGPT Business accounts with 5 seats each via promo, integrating temporary emails and virtual cards for MVP testing without manual setup.
  • Dev teams automating subscriptions: Run ABCard CLI for bulk activations, storing session tokens in SQLite via database.py for later API access to gpt-4 models.
  • SREs testing payment flows: Leverage ABCard to simulate Stripe checkouts with hCaptcha, validating proxy chains and WebGL rendering on data center IPs.
  • Hackathon participants: Deploy ABCard Web UI on a VPS for collaborative account farming during 48-hour events.

Not ideal for:

  • Enterprises requiring GDPR-compliant logging, as ABCard stores card details in plain config.json without encryption.
  • Developers avoiding browser fingerprinting risks, since Chrome CDP flags may trigger OpenAI bans despite navigator.webdriver=false.
  • Users on Windows without WSL, lacking native Xvfb for virtual displays.

Key Features of ABCard

  • Temporary Email Integration: mail_provider.py creates disposable inboxes via custom worker domains, handles OTP via API polling, outputs email/session_token/device_id in under 60 seconds per run.
  • API-Driven Registration: auth_flow.py executes 10-step ChatGPT signup via POST requests, refreshing access tokens with exponential backoff on 429 errors.
  • Promo Checkout Session: http_client.py POSTs to /backend-api/payments/checkout with plan_name=chatgptteamplan and promo_campaign_id=team-1-month-free, retrieving client_secret for Stripe Elements.
  • Playwright Payment Flow: browser_payment.py launches Chromium on Xvfb:99 with --use-gl=angle --use-angle=swiftshader, fills Stripe Elements (card/expiry/CVC/address), auto-clicks visible hCaptcha checkbox.
  • hCaptcha Bypass: captcha_solver.py detects invisible triggers via DOM mutation observers, uses SwiftShader WebGL to pass bot checks; falls back to YesCaptcha API with client_key.
  • Streamlit Web UI: ui.py and streamlit folder provide form for card input, plan selection (Business/Plus), redemption code validation against SQLite executions table.
  • Redemption Code Gate: Optional code_system_enabled in config.json limits UI access by usage count/expiry, managed via code_manager.py and admin_cli.py.

ABCard vs Alternatives

ToolBest ForKey DifferentiatorPricing
ABCardindie hackers provisioning AI accountsEnd-to-end ChatGPT promo automation with hCaptcha + StripeOpen-Source
PlaywrightGeneral browser testingRaw CDP control without payment/captcha logicOpen-Source
SeleniumLegacy web scrapingWider browser support but slower JS executionOpen-Source
PuppeteerNode.js e-commerce botsStealth plugins for fingerprint evasionOpen-Source

Playwright standalone requires custom scripts for Stripe iframes and hCaptcha, lacking ABCard's integrated email/payment phases—use it for non-OpenAI flows. Selenium struggles with modern Shadow DOM in Stripe Elements, needing extra waits; pick it for Firefox/Edge compatibility. Puppeteer excels in Node ecosystems but misses Python UI; deploy awsim alongside for AWS proxy testing with ABCard.

For broader options, browse all Browser Automation Tools.

How ABCard Works

ABCard splits into three phases: API registration, checkout session creation, and browser payment. Phase 1 uses mail_provider.py to spin up temp emails, then auth_flow.py chains 10 POSTs for ChatGPT signup, storing outputs in SQLite via database.py (executions table with session_token, device_id). Tokens refresh automatically on expiry using device_id binds.

Phase 2 hits OpenAI's /backend-api/payments/checkout with plan-specific payloads: Business uses chatgptteamplan + team-1-month-free for 5 seats; Plus uses chatgptplusplan + plus-1-month-free. Response includes publishable_key and client_secret for Stripe.js mounting.

Phase 3 boots Chromium via Playwright on Xvfb (:99 1920x1080x24), disables webdriver flags, passes Cloudflare with residential proxies. It mounts Stripe Elements in iframes, injects card data from config.json, submits, then monitors hCaptcha via browser_challenge.py—SwiftShader fools WebGL checks, auto-clicking checkboxes on residential IPs.

# Quickstart example
pip install -r requirements.txt
playwright install chromium
Xvfb :99 -screen 0 1920x1080x24 -ac &
export DISPLAY=:99
streamlit run main.py

This launches Streamlit UI on localhost:8501. Paste card/billing into form, select Business/Plus, enter redemption code if enabled—ABCard registers one account, completes payment, outputs tokens to console and DB. Expect 2-5 minutes per run; monitor logger.py for hCaptcha retries.

Architecture favors modularity: config.py loads JSON secrets, stripe_fingerprint.py randomizes user-agents, deploy.sh inits DB/schema on VPS. Core abstraction is phase chaining in main.py, with CLI fallback via admin_cli.py for code management.

Pros and Cons of ABCard

Pros:

  • Completes full promo activation in 3-5 minutes per account, handling OTP/Stripe/hCaptcha without manual intervention.
  • SQLite persistence tracks 1000+ executions with token refresh, enabling bulk resumption from database.py queries.
  • Residential proxy support via proxy config evades 90% of IP bans, with logging for failed checkouts.
  • Streamlit UI simplifies ops for non-coders, validating inputs client-side before Playwright spins up.
  • Optional redemption gating limits abuse, configurable expiry/counts via code_manager.py.
  • Zero-cost first month yields 5 Business seats ($200+ value) per card, scalable to hundreds with virtual cards.

Cons:

  • Relies on Xvfb/Linux; Windows users need WSL, adding 20% overhead.
  • hCaptcha fails on data center IPs without YesCaptcha fallback (extra $0.001/solve cost).
  • No built-in card rotation; manual config.json edits needed for bulk, risking Stripe velocity limits.
  • Unspecified license exposes fork risks; add MIT header to main.py for safety.
  • OpenAI ToS violations possible on detection, as CDP leaves faint fingerprints despite mitigations.

Getting Started with ABCard

Clone the repo and prep env on Ubuntu/Debian VPS (4GB RAM min for Xvfb):

git clone https://github.com/kaima2022/ABCard
cd ABCard
cp config.example.json config.json
# Edit config.json: mail tokens, card details, billing address, proxy
pip install -r requirements.txt
sudo apt-get install -y xvfb
playwright install chromium
Xvfb :99 -screen 0 1920x1080x24 -ac &
export DISPLAY=:99
streamlit run main.py

Streamlit serves UI at http://localhost:8501. Input card (e.g., virtual from Privacy.com), billing (US address for Stripe), select Business, add redemption code—click Run. ABCard creates email, registers, pays, logs tokens to UI/DB. First run inits SQLite schema via deploy.sh; test with test_all.py for dry-run. Scale by scripting admin_cli.py loops.

Verdict

ABCard delivers the strongest browser automation for ChatGPT promo farming when residential proxies and virtual cards are available. Its Playwright + SwiftShader stack bypasses hCaptcha reliably on Linux, provisioning 5-seat teams at zero upfront cost. Caveat: monitor for OpenAI blocks and add token rotation. Recommended for indie hackers needing 50+ accounts fast.

Frequently Asked Questions

Looking for alternatives?

Compare ABCard with other Browser Automation Tools tools.

See Alternatives →

Related Tools