Skip to main content

NoFlare - lightweight Cloudflare bypass service

Once FlareSolverr and Byparr stopped working for me, the snake convinced me write my own!

NoFlare is a small, async-first Python service that automates solving Cloudflare JavaScript challenges and Turnstile checks. It is built as a drop-in, modern alternative to projects like FlareSolverr and Byparr, using an undetected Chromium backend via nodriver and an async FastAPI HTTP API.

Why NoFlare?

  • Minimal, async-first design for handling many concurrent requests.
  • Designed to be a drop-in replacement for FlareSolverr/Byparr with a single HTTP endpoint.
  • Packaged for PyPI and Docker for easy deployment.

Features

  • Single POST /v1 endpoint that accepts a JSON payload with url and timeout.
  • Returns page HTML, cookies (including cf_clearance/Turnstile solutions), and user-agent.
  • Configurable concurrency, headless mode, language, user data directory, and proxy via environment variables.

Quickstart - PyPI

  1. Install from PyPI:

    pip install noflare

  2. Run the service:

    python -m noflare

  3. Example request with httpie:

    http ://localhost:8191/v1 url="https://1337x.to"
    

Environment variables

See .env.example for a full list. Notable variables:

  • PORT - HTTP port (default: 8191)
  • MAX_WORKERS - Max concurrent Chromium tabs (default: 5)
  • HEADLESS - true/false to run Chromium headless (default: false)
  • NO_SANDBOX - true/false to run Chromium in Sandbox (default: true)
  • DATA_DIR - Path to persistent user-data directory (default: ~/.noflare/data)
  • PROXY_SERVER - Proxy server URL (e.g. http://1.2.3.4:3128)
  • BROWSER_LOCALE - Browser language/locale (default: en-US)

Docker

Build and run locally with Docker:

docker build -t noflare:local .
docker run --rm -p 8191:8191 \
  -v /path/to/data:/data/noflare \
  --env-file .env \
  noflare:local

Docker Compose

Use the provided compose.yml for local development. Copy .env.example to .env and edit values before launching.

Development

  • Python 3.11+

  • Install dev deps (project uses pyproject.toml):

    pip install -e .[dev]
    

    Run with reload for development:

    python -m noflare --debug
    

Contributing

  • Contributions, PRs and issues are welcome. Please open issues for bugs or feature requests.
  • Follow the repository CODEOWNERS and maintainers' guidelines where provided.

License

MIT - see LICENSE for details.

Credits & Dependencies

  • FastAPI - high-performance async API framework
  • nodriver - Chromium automation backend (undetected/stealth)
  • uvicorn - ASGI server

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

noflare-1.2.4.tar.gz (43.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

noflare-1.2.4-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file noflare-1.2.4.tar.gz.

File metadata

  • Download URL: noflare-1.2.4.tar.gz
  • Upload date:
  • Size: 43.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.16

File hashes

Hashes for noflare-1.2.4.tar.gz
Algorithm Hash digest
SHA256 e2b8cd26b2b9296bce1592ecf8122bd851848ccfe9fddeb17e299ea0722f6c0d
MD5 5ebec3e58f29eb55ff6a24110c9ca808
BLAKE2b-256 b70d40a78dc626a548e8e014cb48afd124cbd81d2ebd2278aa22f5d3148b5739

See more details on using hashes here.

File details

Details for the file noflare-1.2.4-py3-none-any.whl.

File metadata

  • Download URL: noflare-1.2.4-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.16

File hashes

Hashes for noflare-1.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0abb0ec5542e35584814b8ccd30235c5d1fcdba9777052da3bf936a46064cb57
MD5 cf8f947fa8725b9d573332691d683afd
BLAKE2b-256 cfbff34fd57f29ea5b2a1f64e7bde5310d2919d2b8f113d29a950ad1df67a6d6

See more details on using hashes here.

Release history Release notifications | RSS feed

1.3.0

2 files

1.2.5

2 files

This release

1.2.4 This release

2 files

1.2.3

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.1.9

2 files

1.1.8

2 files

1.1.7

2 files

1.1.6

2 files

1.1.5

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.9

2 files

1.0.8

2 files

1.0.7

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page