Byparr is an open-source FlareSolverr alternative: a small HTTP service that opens a URL in a patched Firefox, waits for a Cloudflare interstitial to clear, and returns the HTML, cookies and User-Agent in a FlareSolverr-shaped JSON response. This guide covers how Byparr works, how it differs from FlareSolverr, which parts of the /v1 API carry over, Docker setup, environment variables, global and per-request proxies, and reusing its cookies on the same sticky IP. Everything was checked against the Byparr 3.1.1 README and source.
The short version
Run ghcr.io/thephaseless/byparr on port 8191, bound to localhost, and POST {"url": ..., "maxTimeout": ...} to /v1. It returns FlareSolverr’s solution.response, solution.cookies and solution.userAgent, but has no sessions or request.post and ignores a proxy in the body. Set authenticated proxies with PROXY_* variables or X-Proxy-* headers. To reuse cookies, keep the same User-Agent and exit IP (one ProxyEmpire sticky username). Use it only where you are authorized.
Version and scope. Checked against Byparr v3.1.1 (5 November 2026) and main as of 9 November 2026; re-check the README before relying on a detail. This guide is for public data and sites you own or are authorized to access. For the FlareSolverr model itself, see our FlareSolverr guide; we don’t repeat it here.
Key takeaways
- Byparr is a FastAPI service around invisible_playwright, a Playwright wrapper for a patched Firefox. Every
/v1call launches a fresh browser; there are no sessions. cmdis ignored, so every call is a page load.request.post,sessions.*,postData,cookiesand a bodyproxyare silently dropped.- Authenticated proxies work globally (
PROXY_SERVER,PROXY_USERNAME,PROXY_PASSWORD) or per request (X-Proxy-Server,X-Proxy-Username,X-Proxy-Password). - Browser timezone and language follow the exit IP’s country unless you fix them.
solution.statusis always 200; errors are HTTP 408, 502 or 422 with a{"detail": ...}body. Only Cloudflare interstitials are detected.
What Byparr Is
A FlareSolverr-shaped API on a different browserByparr is maintained by ThePhaseless on GitHub under the GPL-3.0 licence. Its repository description sums it up: “Get your valid antibot cookies yourself!” It does the same job as FlareSolverr. Software that can only send HTTP requests, such as an indexer or a cron job, hands a URL to Byparr, which opens it in a real browser, lets any Cloudflare check run, and returns what the browser ended up with.
The project has always pitched itself against FlareSolverr. The v1 README called it “a drop-in replacement”; the repository’s current agent notes say it “mimics FlareSolverr-style API”. As the sections below show, mimics is the accurate word.
It isn’t a browser automation framework (no click or script API), a crawler, or a guarantee. The README opens by saying it “does not guarantee” any challenge will be passed, and that Cloudflare likely also judges whether traffic from the IP looks legitimate. That is why the exit IP matters as much as the browser.
How Byparr Works Under the Hood
Patched Firefox, one browser per callThe 3.1.1 stack: FastAPI on uvicorn; invisible_playwright, which per its README runs a Firefox build patched at the C++ level, with the fingerprint set inside the engine and humanized mouse input; and playwright-captcha for Cloudflare challenge detection. A POST /v1 call runs like this:
- Launch. A new Firefox starts with the request’s proxy (if any) and a timezone and locale, then opens one page.
- Navigate to your URL and wait for
domcontentloaded. - Detect and wait. If a Cloudflare interstitial is present, Byparr polls until its markup is gone, clicking the challenge checkbox when one is offered (at most every four seconds). If the budget runs out, the call fails with a timeout.
- Collect. It waits for
networkidlewith the time left, then reads the final URL, the cookies, the HTML (or a PDF’s bytes as Base64) and the User-Agent the browser sent. - Close. The browser shuts down after the response.
your code
| POST /v1 {"url": ..., "maxTimeout": 60000}
| optional headers: X-Proxy-Server / -Username / -Password
v
Byparr :8191 (FastAPI)
| new patched Firefox (invisible_playwright)
| timezone + locale from the exit IP's country
| load page, wait out Cloudflare interstitial, wait for networkidle
v
proxy exit IP (sticky) ---> site
|
| JSON: response HTML, cookies, userAgent (browser closed)
v
your code
| HTTP client with the same UA + cookies
v
same proxy exit IP ---> site (next pages)
Two details shape everything else. The browser is per call, so nothing survives between two requests. And timezone and language follow the network: unless BROWSER_TIMEZONE and BROWSER_LOCALE are set, Byparr looks up its public IP (through the proxy, if any), maps it with a GeoIP database downloaded from GitHub at start-up, and configures the browser to match, so a French exit IP gets fr-FR. A clock or language that contradicts the IP is one of the inconsistencies covered in our browser fingerprinting guide.
The engine has changed twice: v1 used SeleniumBase and Chromium, v2.0.0 (September 2025) was a rewrite on Camoufox (see our Camoufox tutorial), and v3.0.0 (August 2026) moved to invisible_playwright. Older posts about Byparr may describe a stack that no longer exists.
Byparr vs FlareSolverr
Same port, same response shape, different internalsByparr 3.1.1 (README and source) against FlareSolverr v3.5.2 (its README, plus source details verified for our FlareSolverr guide). Only confirmed facts; no success rates, since neither project publishes comparable numbers and results depend on the site and IP.
| Area | Byparr 3.1.1 | FlareSolverr v3.5.2 |
|---|---|---|
| Browser | Patched Firefox via invisible_playwright | Chrome via Selenium and undetected-chromedriver |
| Default port | 8191 | 8191 |
| API commands | One behaviour: load a URL. cmd is ignored | request.get, request.post, sessions.create, sessions.list, sessions.destroy |
| Sessions | None; new browser per call | Persistent browsers by session ID |
| POST requests | No | Form-encoded postData |
| Proxy, global | PROXY_SERVER + username/password | PROXY_URL + username/password |
| Proxy, per request | X-Proxy-* headers, with credentials | Body proxy, no credentials; credentials only in sessions.create |
| Timezone and language | From the exit IP, or BROWSER_TIMEZONE / BROWSER_LOCALE | TZ and LANG variables |
| Challenges detected | Cloudflare interstitial | Cloudflare and DDoS-GUARD |
| Media blocking | blockMedia: images, media, fonts | disableMedia: images, CSS, fonts |
| solution.status / headers | Always 200 / headers of the initial navigation response | Always 200 / empty |
| Errors | HTTP 408, 502 or 422, FastAPI {"detail": ...} | HTTP 500 with "status": "error" |
| Extras | PDF bytes as Base64, Open WebUI /load endpoint | Screenshots, waitInSeconds, Prometheus metrics |
| Docker platforms | linux/amd64, linux/arm64 | linux/386, amd64, arm/v7, arm64 |
| Licence | GPL-3.0 | MIT |
| Repository | Personal repository (ThePhaseless) | FlareSolverr GitHub organization |
In short: Byparr gives you a different browser engine and per-request authenticated proxies, and gives up sessions, POST and DDoS-GUARD handling. If FlareSolverr keeps timing out on a site you may collect from, trying Byparr is cheap because the port and response shape match. If your pipeline depends on sessions or POST, it is not a swap.
Is Byparr a Drop-In Replacement for the FlareSolverr /v1 API?
For request.get, mostly. For anything else, noByparr’s request model accepts cmd “purely for compatibility with FlareSolverr”, as its own field description says, and never reads it. Pydantic drops undeclared fields by default, so FlareSolverr parameters Byparr doesn’t know are discarded without an error:
| FlareSolverr field | Byparr 3.1.1 |
|---|---|
| cmd: request.get | Works (the default behaviour) |
| cmd: request.post + postData | Ignored; the URL is loaded with a GET |
| cmd: sessions.* | Not implemented; there are no sessions |
| url | Works; must start with http:// or https:// |
| maxTimeout | Works. 1000 or more is read as milliseconds, less as seconds. Default 60 seconds |
| returnOnlyCookies | Works (response comes back empty) |
| disableMedia | Ignored; Byparr’s field is blockMedia |
| proxy (in the body) | Ignored; use PROXY_* variables or X-Proxy-* headers |
| session, session_ttl_minutes, cookies, waitInSeconds, returnScreenshot | Ignored |
On the response side, the fields most clients read are where they expect them: status, solution.url, solution.response, solution.cookies and solution.userAgent. message is always “Success”, so it doesn’t tell you whether a challenge was present.
A concrete case: Prowlarr’s FlareSolverr indexer proxy (checked in its current source) sends request.get with a millisecond maxTimeout, then retries the original request with solution.cookies and solution.userAgent. That fits Byparr. Two things don’t: Prowlarr forwards its proxy settings in the body, which Byparr ignores (set PROXY_SERVER on Byparr instead), and Prowlarr accepts only HTTP 200 or 500 from the solver, so Byparr’s 408 and 502 errors surface as a status-code error rather than a readable message.
If your own code targets FlareSolverr, a small adapter that fails loudly beats silent ignoring:
UNSUPPORTED = {
"session",
"session_ttl_minutes",
"postData",
"cookies",
"waitInSeconds",
"returnScreenshot",
}
def to_byparr(fs_payload):
"""Translate a FlareSolverr /v1 payload into a Byparr (body, headers) pair.
Fails loudly instead of letting Byparr silently ignore a field.
"""
cmd = fs_payload.get("cmd", "request.get")
if cmd != "request.get":
raise ValueError(f"Byparr has no equivalent for {cmd!r}")
ignored = UNSUPPORTED & fs_payload.keys()
if ignored:
raise ValueError(f"Byparr would ignore: {sorted(ignored)}")
body = {"url": fs_payload["url"], "maxTimeout": fs_payload.get("maxTimeout", 60000)}
if "returnOnlyCookies" in fs_payload:
body["returnOnlyCookies"] = fs_payload["returnOnlyCookies"]
if "disableMedia" in fs_payload:
# Byparr's name; it blocks images, media and fonts (not CSS).
body["blockMedia"] = fs_payload["disableMedia"]
headers = {}
proxy = fs_payload.get("proxy") or {}
if proxy.get("url"):
headers["X-Proxy-Server"] = proxy["url"]
if proxy.get("username"):
headers["X-Proxy-Username"] = proxy["username"]
if proxy.get("password"):
headers["X-Proxy-Password"] = proxy["password"]
return body, headers
Byparr Docker Setup
The supported way to run itImages are published as ghcr.io/thephaseless/byparr for linux/amd64 and linux/arm64. The README calls latest and version tags stable and main untested. The registry’s version tags have no “v”: pin 3.1.1 (or 3.1), not v3.1.1. The image runs as user 1000 under tini and listens on 8191.
docker run -d \
--name=byparr \
-p 127.0.0.1:8191:8191 \
--shm-size=1g \
--tmpfs /tmp:exec,mode=1777,size=1G \
--restart unless-stopped \
ghcr.io/thephaseless/byparr:3.1.1
The shared-memory size and RAM-backed /tmp come from the README, which warns that Byparr does a lot of disk reads and writes. It also says not to mount a tmpfs over /cache: that directory holds the browser baked into the image, and hiding it makes Byparr download the browser on every start.
The same in Compose, with a global ProxyEmpire proxy read from a .env file:
services:
byparr:
image: ghcr.io/thephaseless/byparr:3.1.1
container_name: byparr
restart: unless-stopped
environment:
LOG_LEVEL: info
PROXY_SERVER: http://v2.proxyempire.io:5000
PROXY_USERNAME: ${PROXYEMPIRE_USER} # sticky username from Connection Builder
PROXY_PASSWORD: ${PROXYEMPIRE_PASS}
# Optional: fix these instead of deriving them from the exit IP
# BROWSER_TIMEZONE: Europe/Berlin
# BROWSER_LOCALE: de-DE
ports:
- "127.0.0.1:8191:8191"
shm_size: "1gb"
tmpfs:
- /tmp:exec,mode=1777,size=1G
The upstream compose.yaml publishes no ports, so only containers on the same Docker network reach Byparr (as http://byparr:8191). Keep it that way or bind to 127.0.0.1: /v1 has no authentication, and anyone who reaches it can drive your browser and spend your proxy traffic.
Start it with docker compose up -d. Byparr first downloads the GeoIP database from GitHub and keeps the port closed until that finishes (usually a few seconds, per the README). Then:
# Loads https://google.com in a real browser; returns msg, version, userAgent
curl -s http://127.0.0.1:8191/health
# Interactive API docs (GET / redirects here): http://127.0.0.1:8191/docs
curl -s -X POST http://127.0.0.1:8191/v1 \
-H 'Content-Type: application/json' \
-d '{"url": "https://www.example.com/", "maxTimeout": 60000}'
/health is not a cheap ping: it launches a browser and loads google.com, through the global proxy if one is set, and the image’s built-in health check calls it every 15 minutes. For readiness probes, the README suggests a TCP probe on the port or an HTTP probe on /docs.
A local install (uv run main.py in a clone) needs Python 3.14, which pyproject.toml pins, plus the patched browser and its system libraries that the image already ships. On ARM, test first: the README calls NAS and ARM support minimal, and invisible_playwright’s README says its newer engine builds no longer ship for Linux arm64.
Byparr Environment Variables
Documented ones, plus three from the sourceSettings are read from the environment (or a .env file). The first eight are in the README’s table; INVISIBLE_DOWNLOAD_DEADLINE is in its start-up notes; the last three appear in src/consts.py.
| Variable | Default | What it does |
|---|---|---|
| HOST | 0.0.0.0 | Bind address; 127.0.0.1 for local only, :: for IPv6 |
| PORT | 8191 | Listening port |
| PROXY_SERVER | none | Global proxy, protocol://host:port |
| PROXY_USERNAME / PROXY_PASSWORD | none | Credentials for the global proxy |
| OWUI_API_KEY | none | Bearer token for the Open WebUI /load endpoint only |
| BROWSER_LOCALE | none (from exit IP) | Fix the browser language, a BCP-47 tag such as en-US |
| BROWSER_TIMEZONE | none (from exit IP) | Fix the timezone, an IANA name such as Europe/Berlin |
| INVISIBLE_DOWNLOAD_DEADLINE | 1800 | Seconds per GeoIP download attempt (up to 3 attempts) |
| LOG_LEVEL | INFO | Python level name, e.g. debug |
| BLOCK_MEDIA | false | Default for the per-request blockMedia |
| RETURN_ONLY_COOKIES | false | Default for returnOnlyCookies |
If the GeoIP download or IP lookup fails, Byparr still starts and falls back to the host timezone (TZ, else the system zone, else UTC) and en-US. With a proxy, though, a missing database makes proxied requests fail until a retry succeeds, unless BROWSER_TIMEZONE is set. If your host can’t reach GitHub reliably, set BROWSER_TIMEZONE and BROWSER_LOCALE to match your proxy’s country.
Byparr Requests and Responses
One endpoint, a familiar shapeThe native request fields are url, maxTimeout, blockMedia and returnOnlyCookies. A successful response, with placeholder values:
{
"status": "ok",
"message": "Success",
"solution": {
"url": "https://www.example.com/",
"status": 200,
"cookies": [
{"name": "...", "value": "...", "domain": ".example.com", "path": "/",
"expires": 1795000000, "httpOnly": true, "secure": true, "sameSite": "None"}
],
"userAgent": "Mozilla/5.0 (...) Gecko/20100101 Firefox/...",
"headers": {"content-type": "text/html; charset=UTF-8"},
"response": "<html>...</html>",
"contentType": "text/html"
},
"startTimestamp": 1795000000000,
"endTimestamp": 1795000006000,
"version": "3.1.1"
}
What the source tells you about reading it:
solution.statusis hard-coded to 200. A 404 or 503 page still says 200; check the HTML.solution.headerscome from the initial navigation response. If that was a challenge page, they are the challenge page’s headers.- Cookies use Playwright’s keys:
expiresis a Unix timestamp in seconds,-1for a session cookie. userAgentis a Firefox User-Agent from the browser’s actual request. Byparr doesn’t pin invisible_playwright’s fingerprint seed, so don’t assume two calls present the same browser; pair cookies with theuserAgentfrom the same response.- Errors are FastAPI errors with a
{"detail": "..."}body: 408 if the page or challenge didn’t finish withinmaxTimeout, 502 if the browser couldn’t reach the target or proxy, 422 if the body failed validation (for example, a URL without a scheme).
Using Proxies with Byparr
Global by variable, or per request by headerByparr’s proxy support is simpler than FlareSolverr’s, and credentials work per request. A proxy can come from exactly two places:
PROXY_SERVER as protocol://host:port, plus PROXY_USERNAME and PROXY_PASSWORD. Used by every call without a proxy header, including /health.X-Proxy-Server, X-Proxy-Username, X-Proxy-Password on the /v1 call (added in v2.1.0). X-Proxy-Server replaces the global proxy entirely."proxy": {...} in the JSON body is silently ignored, as are username or password headers without X-Proxy-Server.Because every call is a new browser, two parallel calls with different X-Proxy-Username values run on two exit IPs, each with a timezone and language matching its own proxy’s country. The cost, as the README notes, is a public-IP lookup through the proxy on every proxied call.
On schemes: Byparr passes the value to invisible_playwright, whose README lists http, https, socks4 and socks5. For ProxyEmpire, use http://v2.proxyempire.io:5000; HTTPS sites work through it via CONNECT. We haven’t tested SOCKS5 with credentials through Byparr, so this guide sticks to HTTP.
ProxyEmpire with Byparr
ProxyEmpire uses a username and password on one gateway, v2.proxyempire.io:5000. Location and session settings are encoded in the username, which you copy from Proxy Manager β Connection Builder. Pick “Same IP” for a sticky session: the username then carries an 8-digit session ID, and every connection with it keeps the same exit IP until you rotate it or the device goes offline. Test the proxy alone, then through Byparr:
# 1. The proxy works on its own and returns an exit IP
curl -x "http://$PROXYEMPIRE_USER:[email protected]:5000" \
https://api.ipify.org
# 2. The same sticky username, applied to one Byparr call
curl -s -X POST http://127.0.0.1:8191/v1 \
-H 'Content-Type: application/json' \
-H 'X-Proxy-Server: http://v2.proxyempire.io:5000' \
-H "X-Proxy-Username: $PROXYEMPIRE_USER" \
-H "X-Proxy-Password: $PROXYEMPIRE_PASS" \
-d '{"url": "https://api.ipify.org/?format=json", "maxTimeout": 60000}'
Both should report the same IP. Percent-encode special characters such as @ in the -x URL; the headers need no encoding. The headers do carry your proxy password over plain HTTP, one more reason to keep Byparr on localhost or a private Docker network.
Use the global variables for a single-purpose instance, such as one behind an indexer that can’t send headers. Use headers in your own code, giving each job its own sticky username and therefore its own IP. For public pages, rotating residential proxies in sticky mode are the usual choice for their country, city and ISP targeting.
Reusing Byparr Cookies on the Same Sticky IP
Stateless browser, stateful proxyA browser per page is slow, so the usual pattern is to get cookies once and continue with a lightweight HTTP client. Cloudflare’s clearance documentation describes cf_clearance as tied to the visitor and device it was issued to, so the User-Agent, the exit IP and the full cookie jar must stay constant.
With no Byparr sessions, the proxy has to provide the continuity. A ProxyEmpire sticky username keeps one exit IP across separate Byparr browsers and your own client; a rotating one could give every call a different IP. Our sticky vs rotating proxies article explains the two modes.
The script checks which IP a Byparr browser gets, loads the first page, then builds a requests.Session with the same User-Agent, cookies and proxy, and confirms the IP matches before continuing.
import os
import re
from urllib.parse import quote
import requests
BYPARR = "http://127.0.0.1:8191/v1"
GATEWAY_HOST = "v2.proxyempire.io:5000"
# A sticky ("Same IP") username copied from Proxy Manager -> Connection Builder.
# Same username = same exit IP, across separate Byparr browsers.
PROXY_USER = os.environ["PROXYEMPIRE_USER"]
PROXY_PASS = os.environ["PROXYEMPIRE_PASS"]
# Only use pages you are authorized to access.
START_URL = "https://www.example.com/"
NEXT_URL = "https://www.example.com/page/2"
IPV4 = re.compile(r"\b\d{1,3}(?:\.\d{1,3}){3}\b")
def byparr(url, max_timeout_ms=60000):
"""Load one URL in a fresh Byparr browser behind the sticky proxy."""
headers = {
"X-Proxy-Server": f"http://{GATEWAY_HOST}",
"X-Proxy-Username": PROXY_USER,
"X-Proxy-Password": PROXY_PASS,
}
payload = {"cmd": "request.get", "url": url, "maxTimeout": max_timeout_ms}
# maxTimeout does not cover browser start-up, so allow extra client time.
r = requests.post(
BYPARR, json=payload, headers=headers, timeout=max_timeout_ms / 1000 + 60
)
if r.status_code != 200:
# 408 = timed out, 502 = target unreachable, 422 = invalid body.
raise RuntimeError(f"Byparr HTTP {r.status_code}: {r.text[:300]}")
return r.json()["solution"]
def http_client(solution):
"""A plain requests.Session that presents as the same visitor."""
proxy_url = (
f"http://{quote(PROXY_USER, safe='')}:{quote(PROXY_PASS, safe='')}"
f"@{GATEWAY_HOST}"
)
s = requests.Session()
s.proxies = {"http": proxy_url, "https": proxy_url}
s.headers["User-Agent"] = solution["userAgent"]
for c in solution["cookies"]:
expires = c.get("expires")
s.cookies.set(
c["name"],
c["value"],
domain=c.get("domain", ""),
path=c.get("path", "/"),
secure=c.get("secure", False),
# Playwright uses -1 for session cookies.
expires=int(expires) if expires and expires > 0 else None,
)
return s
def main():
# 1. Which exit IP does a Byparr browser get on this sticky username?
ip_page = byparr("https://api.ipify.org/?format=json")
match = IPV4.search(ip_page["response"])
browser_ip = match.group(0) if match else None
# 2. Load the first page; keep cookies and UA from this same response.
solution = byparr(START_URL)
print(solution["url"], len(solution["cookies"]), "cookies")
# 3. Continue with a lightweight client on the same IP and User-Agent.
http = http_client(solution)
client_ip = http.get("https://api.ipify.org/", timeout=30).text.strip()
if client_ip != browser_ip:
raise RuntimeError(f"exit IP changed: {browser_ip} -> {client_ip}")
resp = http.get(NEXT_URL, timeout=30)
print(resp.status_code, len(resp.text))
if __name__ == "__main__":
main()
The client timeout is maxTimeout plus 60 seconds because Byparr starts its timer only after the browser has launched and the exit IP has been looked up. Credentials are percent-encoded only for the requests proxy URL.
Matching IP and User-Agent is necessary, not sufficient. Byparr’s browser is Firefox, and Python’s requests has a TLS handshake that differs from Firefox’s. If a site re-challenges your client, keep those requests in Byparr, slow down, or ask the owner for access. curl_cffi, which has firefox impersonation targets, narrows that gap, but don’t treat it as a way around a site’s decision to challenge you.
Byparr Limits and Performance
What a browser per call costsLatency and maxTimeout
Every call pays for a Firefox launch and, when proxied or when the timezone isn’t fixed, an IP lookup, so expect seconds per call. maxTimeout covers navigation, the challenge wait and a final networkidle wait that uses whatever budget is left. A page that never goes idle (long polling, chat widgets) can therefore take most of maxTimeout before Byparr returns what it has. Set it to what you can afford, and use blockMedia when you only need HTML.
Memory and concurrency
The 3.1.1 source has no queue or concurrency cap. Every in-flight /v1 or /health call runs its own browser, so 20 simultaneous requests mean 20 Firefox processes, and host memory is the real limit. Put a bounded queue in front and scale by adding containers; our article on browser clusters covers the design questions. If your HTTP client starts getting 429 responses, that is the site setting a rate; back off as in our 429 guide.
Fidelity and control
- GET only: no POST bodies, custom headers, custom User-Agent or cookies sent in.
- No real HTTP status; headers only from the initial response.
- No sessions, so no multi-step or logged-in flows.
- Cloudflare interstitials only; the 3.1.1 source has no DDoS-GUARD or other vendor detection.
Effectiveness changes
The v3.0.4 release (August 2026) is titled “Reimplement detection and solving logic”, and its pull request was about solving Cloudflare challenges “again”. Measure your own success rate per site and expect it to change without warning.
Byparr Maintenance Status in 2026
Active, fast-moving, one main maintainer- Releases: repository created July 2024; v1.0.0 November 2024; v2.0.0 (Camoufox) September 2025; v2.1.0 (Python 3.14, per-request proxies) February 2026; v3.0.0 (invisible_playwright, Open WebUI) August 2026; v3.1.0 and v3.1.1 on 5 November 2026. Latest
maincommit: 9 November 2026. - Maintainer: the v1.1.0 release notes describe the author as the sole developer; dependency updates are automated with Renovate.
- Licence: GPL-3.0 since v1.1.0 (March 2025), Apache 2.0 before. Check what that means for you if you ship it inside a product.
- Testing: images are built only after a test stage that includes tests against real third-party sites.
- Adoption: about 2,100 GitHub stars in November 2026, against roughly 16,000 for FlareSolverr.
Pin a version tag, read the release notes before upgrading (two engine rewrites in a year), and keep a fallback: FlareSolverr, your own browser framework, or pausing collection.
Responsible Use
A challenge is the site owner’s decisionSite owners enable Cloudflare challenges on purpose, usually to protect capacity or keep automation out. Byparr changes what runs your request, not whether you are allowed to make it.
- Have the right to the data: your own sites (for example, testing your Cloudflare rules), sites whose owners authorized you, or public data whose terms allow automated collection. Respect
robots.txt, rate limits and personal-data law. - Prefer an official API or ask. An API, feed or export beats any browser pipeline, and asking for an allowlist is often faster.
- Identify legitimate crawlers. Cloudflare’s Verified bots program exists for bots that identify themselves honestly.
- Treat repeated challenges and blocks as an answer. Slow down or ask instead of escalating, and never use it for logged-in, paywalled or access-controlled areas you haven’t been granted.
- Keep the service private. An open
/v1is a free browser and proxy for whoever finds it.
Byparr swaps the browser behind a FlareSolverr-style API. The rules about what you may collect, and how fast, stay exactly the same.
Troubleshooting Byparr
The problems you will actually hit| Symptom | Likely cause | What to do |
|---|---|---|
| Port refuses connections after start | GeoIP download still running (slow or blocked GitHub) | Wait and check logs; set BROWSER_TIMEZONE and BROWSER_LOCALE |
| HTTP 408 | Challenge didn’t clear, or slow page or proxy | Check the site in a normal browser on the same IP; don’t loop retries |
| HTTP 502 | Target or proxy unreachable, bad proxy credentials | Test the proxy alone with curl -x; check the X-Proxy-* values |
| HTTP 422 | Body failed validation (e.g. URL without scheme) | Send a url starting with http:// or https:// |
| Proxied calls fail, direct calls work | GeoIP database missing, so no timezone for the proxy | Set BROWSER_TIMEZONE, or restart once GitHub is reachable |
| Proxy seems ignored | Proxy sent in the JSON body | Use X-Proxy-* headers or PROXY_* variables |
| Challenge returns in your HTTP client | Different UA, IP or cookie jar | Same userAgent, same sticky username, all cookies |
FileNotFoundError in Proxmox/LXC | Too little shared memory | Raise shm_size (the README says 512 MB is usually enough) |
| Memory spikes | Many concurrent calls, one browser each | Queue requests; add containers instead of parallelism |
For a broken install, the README’s first step is to build the test target on the affected host (docker build --target test . in a clone) and see whether the bundled tests pass.
Frequently Asked Questions
Byparr in shortWhat is Byparr?
An open-source, GPL-3.0 service that loads a URL in a patched Firefox (via invisible_playwright), waits for a Cloudflare interstitial to clear, and returns the HTML, cookies and User-Agent through a FlareSolverr-style /v1 API on port 8191.
Is Byparr a drop-in replacement for FlareSolverr?
For clients that only send request.get with a URL and maxTimeout, mostly yes. It has no sessions or request.post, ignores a body proxy, and reports errors as HTTP 408, 502 or 422 instead of FlareSolverr’s 500.
Byparr vs FlareSolverr: which should I use?
FlareSolverr if you need sessions, POST, DDoS-GUARD handling, screenshots or metrics. Byparr if your client only needs GET, you want per-request authenticated proxies, or FlareSolverr fails on a site you are allowed to access. Pin a version of either and measure.
Does Byparr support authenticated proxies?
Yes: globally with PROXY_SERVER, PROXY_USERNAME and PROXY_PASSWORD, or per request with X-Proxy-Server, X-Proxy-Username and X-Proxy-Password headers. A proxy object in the JSON body is ignored.
Does Byparr keep cookies between requests?
No. Each /v1 call launches a new browser and closes it afterwards. Reuse the returned cookies yourself, with the same User-Agent and the same exit IP from a sticky proxy session.
Which Docker image and tag should I use?
ghcr.io/thephaseless/byparr, pinned to a version such as 3.1.1 (no “v”). Publish port 8191 on 127.0.0.1 only, add shm_size: "1gb" and a tmpfs on /tmp, and don’t mount a tmpfs over /cache.
Give Byparr a stable, targeted exit IP
Byparr opens a new browser for every call, so continuity has to come from the proxy. ProxyEmpire sticky sessions keep every Byparr browser and your HTTP client on the same residential or mobile IP through one authenticated gateway, with country, city and ISP targeting on residential and carrier targeting on mobile.



