RepositoryPythonUZUzbekistan
ismoiloffS

ismoiloffS/EzSolver

Cloudflare Turnstile solver & bypass — Python, real Chrome browser, no paid APIs. Local HTTP API service included. Auto-solves invisible and managed (checkbox) widgets. Works on Windows & Linux. Fast, lightweight, zero third-party captcha services.

164stars
38forks
1issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: nodriver

#1 Repository of the week

2
TINIX TRENDING·Topic: anti-captcha

#2 Repository of the week

4
TINIX TRENDING·Country: UZ

#4 Repository of the week

⚡ EzSolver

Fast, cross-platform Cloudflare Turnstile solver powered by a real browser.
No paid APIs. No third-party services. Just Python and Chrome.

Python Platform License Made by


How it works

EzSolver injects a Turnstile widget directly into the target page using a real Chrome browser via nodriver. Because it runs in a genuine browser with a persistent profile, Cloudflare's fingerprinting sees a real user — no token farms, no captcha services needed.

  • Invisible widgets resolve automatically within seconds
  • Managed (checkbox) widgets are clicked with human-like mouse movement
  • On Linux servers, a virtual display (Xvfb) is started automatically — no xvfb-run needed
  • Chrome path and profile directory are auto-detected per OS, with env var overrides

Requirements

  • Python 3.8+
  • Google Chrome installed
  • nodriver Python package
  • Linux only: Xvfb (for headless servers)

Installation

1. Clone the repo

git clone https://github.com/ismoiloffS/EzSolver.git
cd EzSolver

2. Install the Python dependency

pip install nodriver

3. Linux headless servers only — install Xvfb

sudo apt install xvfb

Windows users: nothing extra needed, Chrome runs normally.


Usage

Option A — Standalone solver (single token)

Run solver.py directly from the command line:

python solver.py <sitekey> <siteurl>

Example:

python solver.py 0x4AAAAAAActoBfh_En8yr3T https://example.com/

Output:

[solver] clicking Cloudflare iframe at (48, 52)
0.abc123...longtoken...xyz

Option B — Local API service

Start service.py once and send as many solve requests as you want via HTTP.

Start the service:

python service.py
[service] Turnstile solver service running on http://0.0.0.0:8191

Send a request with the CLI client:

python clientsend.py <sitekey> <siteurl> [timeout]
python clientsend.py 0x4AAAAAAActoBfh_En8yr3T https://example.com/
Token (14.32s): 0.abc123...longtoken...xyz

Or call it from your own code / any HTTP client:

curl -s -X POST http://127.0.0.1:8191/solve \
  -H "Content-Type: application/json" \
  -d '{"sitekey":"0x4AAAAAAActoBfh_En8yr3T","siteurl":"https://example.com/"}'
{
  "token": "0.abc123...longtoken...xyz",
  "elapsed": 14.32
}

Use it from Python:

from clientsend import request_token

token, elapsed = request_token(
    sitekey="0x4AAAAAAActoBfh_En8yr3T",
    siteurl="https://example.com/"
)
print(f"Got token in {elapsed}s: {token}")

API reference

POST /solve

FieldTypeRequiredDefaultDescription
sitekeystringyes—Turnstile sitekey from the target page
siteurlstringyes—Full URL of the page with the Turnstile widget
timeoutintegerno45Max seconds to wait for a token

Success response 200:

{ "token": "0.abc...", "elapsed": 12.5 }

Error response 500:

{ "error": "Turnstile token not obtained within 45s" }

GET /health

Returns current service status — useful for uptime checks and monitoring queue depth.

{ "status": "ok", "workers": 4, "active": 2, "queued": 5 }

Scaling

EzSolver uses a worker pool to handle high volumes safely. Instead of spinning up unlimited Chrome instances (which would crash your machine), requests queue up and are processed as workers free up — no requests are dropped.

500 requests → queue → [worker 1] [worker 2] [worker 3] [worker 4] → tokens

Rule of thumb: each Chrome worker uses ~500 MB RAM.

Machine RAMRecommended MAX_WORKERSThroughput (est.)
2 GB2~8 tokens/min
4 GB4 (default)~16 tokens/min
8 GB8~32 tokens/min
16 GB+16~64 tokens/min

Set MAX_WORKERS when starting the service:

MAX_WORKERS=8 python service.py

Check the queue live via /health:

curl http://127.0.0.1:8191/health
{ "status": "ok", "workers": 8, "active": 6, "queued": 47 }

For truly massive scale (thousands of concurrent solves), run multiple service instances behind a load balancer (nginx, Caddy, etc.) across several machines.


Configuration

Environment variableDefaultDescription
CHROME_PATHauto-detectedPath to your Chrome executable
TS_PROFILE_DIR%TEMP%\ts_profile / /tmp/ts_profilePersistent Chrome profile directory
PORT8191Port the service listens on
MAX_WORKERS4Max concurrent Chrome instances

Example:

MAX_WORKERS=8 PORT=9000 python service.py

Project structure

EzSolver/
├── solver.py      # Core solver — browser automation logic
├── service.py     # HTTP API wrapper around the solver
└── clientsend.py  # CLI client + importable helper for service.py

Troubleshooting

Chrome not found

Set CHROME_PATH to the full path of your Chrome executable.

Timeout / token not received

The target site may be serving a harder challenge. Try increasing the timeout: python clientsend.py <key> <url> 90

Linux: Xvfb not found

sudo apt install xvfb


Made with ☕ by Ismoiloff

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
najibyahya/Boterdrop-Solver

Powerful CAPTCHA Solver (Turnstile, cf_clearance, reCAPTCHA v3, AWS WAF) built with FastAPI + Camoufox. High success rate, proxy support, and VPS friendly

229
Jul 17, 2026
RepositoryPython
alperensert/capmonster_python

Capmonster.cloud library for Python3

52
Nov 19, 2026
RepositoryPython
wulu007/geetest-bypass

Geetest v4 CAPTCHA solver — slide、match、voice、svg、icon、phrase、word. No browser or automation required. 极验 v4 验证码求解库,支持滑块/找图/语音/svg/图标/语序/文字。无需浏览器或自动化环境。

52
Nov 27, 2026
RepositoryPython
langgenius/dify

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

162.3k
Dec 2, 2026
RepositoryTypeScript
Kaliiiiiiiiii-Vinyzu/patchright

Undetected version of the Playwright testing and automation library.

5.3k
Nov 13, 2026
RepositoryHTML
vsmutok/FuckCaptcha

Open field guide to 39 CAPTCHA types: identification signals, free and open-source bypass methods, and paid alternatives. Includes a searchable web version.

193
Nov 27, 2026
RepositoryPython
D4Vinci/Scrapling

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

107.6k
Dec 1, 2026
RepositoryPython
TheAlgorithms/Python

All Algorithms implemented in Python

226.6k
Nov 13, 2026
RepositoryPython
yt-dlp/yt-dlp

A feature-rich command-line audio/video downloader

212.4k
Dec 2, 2026