mirror of
https://github.com/CloakHQ/CloakBrowser.git
synced 2026-06-23 11:41:46 +02:00
fix: use mirror for binary downloads, imgur for images while GitHub org is flagged
This commit is contained in:
@@ -53,6 +53,9 @@ docs/
|
|||||||
# Internal test infrastructure (Docker, VPS-specific)
|
# Internal test infrastructure (Docker, VPS-specific)
|
||||||
test-infra/
|
test-infra/
|
||||||
|
|
||||||
|
# Website (deployed separately)
|
||||||
|
site/
|
||||||
|
|
||||||
# Release scripts
|
# Release scripts
|
||||||
publish.sh
|
publish.sh
|
||||||
deploy.sh
|
deploy.sh
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://raw.githubusercontent.com/CloakHQ/CloakBrowser/main/images/logo.png" width="500" alt="CloakBrowser">
|
<img src="https://i.imgur.com/cqkp6fG.png" width="500" alt="CloakBrowser">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
# CloakBrowser
|
# CloakBrowser
|
||||||
@@ -103,22 +103,22 @@ All tests verified against live detection services. Last tested: Feb 2026 (Chrom
|
|||||||
### Proof
|
### Proof
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://raw.githubusercontent.com/CloakHQ/CloakBrowser/main/images/recaptcha_v3_score_09.png" width="600" alt="reCAPTCHA v3 — Score 0.9">
|
<img src="https://i.imgur.com/hvIQyMv.png" width="600" alt="reCAPTCHA v3 — Score 0.9">
|
||||||
<br><em>reCAPTCHA v3 score 0.9 — server-side verified (human-level)</em>
|
<br><em>reCAPTCHA v3 score 0.9 — server-side verified (human-level)</em>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://raw.githubusercontent.com/CloakHQ/CloakBrowser/main/images/turnstile_non_interactive.png" width="600" alt="Cloudflare Turnstile — Success">
|
<img src="https://i.imgur.com/qMIRfhq.png" width="600" alt="Cloudflare Turnstile — Success">
|
||||||
<br><em>Cloudflare Turnstile non-interactive challenge — auto-resolved</em>
|
<br><em>Cloudflare Turnstile non-interactive challenge — auto-resolved</em>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://raw.githubusercontent.com/CloakHQ/CloakBrowser/main/images/browserscan_normal.png" width="600" alt="BrowserScan — Normal">
|
<img src="https://i.imgur.com/PRsw6rT.png" width="600" alt="BrowserScan — Normal">
|
||||||
<br><em>BrowserScan bot detection — NORMAL (4/4 checks passed)</em>
|
<br><em>BrowserScan bot detection — NORMAL (4/4 checks passed)</em>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://raw.githubusercontent.com/CloakHQ/CloakBrowser/main/images/fingerprintjs_pass.png" width="600" alt="FingerprintJS — Passed">
|
<img src="https://i.imgur.com/9n2C7tu.png" width="600" alt="FingerprintJS — Passed">
|
||||||
<br><em>FingerprintJS web-scraping demo — data served, not blocked</em>
|
<br><em>FingerprintJS web-scraping demo — data served, not blocked</em>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = "0.1.7"
|
__version__ = "0.1.11"
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ def _version_newer(a: str, b: str) -> bool:
|
|||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
DOWNLOAD_BASE_URL = os.environ.get(
|
DOWNLOAD_BASE_URL = os.environ.get(
|
||||||
"CLOAKBROWSER_DOWNLOAD_URL",
|
"CLOAKBROWSER_DOWNLOAD_URL",
|
||||||
"https://github.com/CloakHQ/cloakbrowser/releases/download",
|
"https://cloakbrowser.dev",
|
||||||
)
|
)
|
||||||
|
|
||||||
GITHUB_API_URL = "https://api.github.com/repos/CloakHQ/cloakbrowser/releases"
|
GITHUB_API_URL = "https://api.github.com/repos/CloakHQ/cloakbrowser/releases"
|
||||||
|
|||||||
@@ -115,6 +115,7 @@ def _download_and_extract(version: str | None = None) -> None:
|
|||||||
try:
|
try:
|
||||||
_download_file(url, tmp_path)
|
_download_file(url, tmp_path)
|
||||||
_extract_archive(tmp_path, binary_dir, binary_path)
|
_extract_archive(tmp_path, binary_dir, binary_path)
|
||||||
|
logger.info("Visit https://cloakbrowser.dev for updates and release notifications.")
|
||||||
finally:
|
finally:
|
||||||
# Clean up temp file
|
# Clean up temp file
|
||||||
tmp_path.unlink(missing_ok=True)
|
tmp_path.unlink(missing_ok=True)
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://raw.githubusercontent.com/CloakHQ/CloakBrowser/main/images/logo.png" width="500" alt="CloakBrowser">
|
<img src="https://i.imgur.com/cqkp6fG.png" width="500" alt="CloakBrowser">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
# CloakBrowser
|
# CloakBrowser
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cloakbrowser",
|
"name": "cloakbrowser",
|
||||||
"version": "0.1.5",
|
"version": "0.1.9",
|
||||||
"description": "Stealth Chromium that passes every bot detection test. Drop-in Playwright/Puppeteer replacement with source-level fingerprint patches.",
|
"description": "Stealth Chromium that passes every bot detection test. Drop-in Playwright/Puppeteer replacement with source-level fingerprint patches.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|||||||
+1
-1
@@ -87,7 +87,7 @@ export function checkPlatformAvailable(): void {
|
|||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
export const DOWNLOAD_BASE_URL =
|
export const DOWNLOAD_BASE_URL =
|
||||||
process.env.CLOAKBROWSER_DOWNLOAD_URL ||
|
process.env.CLOAKBROWSER_DOWNLOAD_URL ||
|
||||||
"https://github.com/CloakHQ/cloakbrowser/releases/download";
|
"https://cloakbrowser.dev";
|
||||||
|
|
||||||
export const GITHUB_API_URL =
|
export const GITHUB_API_URL =
|
||||||
"https://api.github.com/repos/CloakHQ/cloakbrowser/releases";
|
"https://api.github.com/repos/CloakHQ/cloakbrowser/releases";
|
||||||
|
|||||||
@@ -150,6 +150,9 @@ async function downloadAndExtract(version?: string): Promise<void> {
|
|||||||
try {
|
try {
|
||||||
await downloadFile(url, tmpPath);
|
await downloadFile(url, tmpPath);
|
||||||
await extractArchive(tmpPath, binaryDir, binaryPath);
|
await extractArchive(tmpPath, binaryDir, binaryPath);
|
||||||
|
console.log(
|
||||||
|
`[cloakbrowser] Visit https://cloakbrowser.dev for updates and release notifications.`
|
||||||
|
);
|
||||||
} finally {
|
} finally {
|
||||||
// Clean up temp file
|
// Clean up temp file
|
||||||
if (fs.existsSync(tmpPath)) {
|
if (fs.existsSync(tmpPath)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user