Spaces:
Paused
Paused
Commit History
-
feat: remove cloakbrowser pip dependency, auto-download binaryβ
Peng Ding- Drop cloakbrowser from dependencies (no more playwright transitive dep) - LocalWorker auto-detects binary: env var β ~/.cloakbrowser/ β download - Binary downloaded directly from GitHub Releases via pure Python - CLOAKBROWSER_MIRROR env var for China (e.g. https://ghfast.top) - scripts/download-cloakbrowser.py for Dockerfile and manual use - Stealth args generated inline (random fingerprint) - Dockerfile full target: downloads binary directly, no pip cloakbrowser Image sizes: full 1.07GB (was 1.43GB), gateway 336MB (was 498MB)a4ba91f -
feat: multi-target Dockerfile β gateway (498MB) and full (1.2GB)β
Peng Ding- gateway target: Patchright only, no browser binary β for pool mode - full target: Patchright + CloakBrowser β for standalone mode - Worker uses cloakhq/cloakbrowser official image (cloakserve) - Makefile: build/build-gateway targets, POOL=1 builds gateway for deploy - compose-pool.yaml uses gateway image414d3b8 -
perf: slim Dockerfile β multi-stage libgbm extraction saves ~200MBβ
Peng DingUse a donor stage to extract libgbm.so + libdrm.so + libwayland-server.so without pulling in mesa-libgallium (42MB), libllvm19 (127MB), and libz3-4 (27MB). Chromium only dlopen's libgbm for headless rendering, the full GPU stack is not needed with --disable-gpu. Image size: 1.43GB β 1.23GB. Render + screenshot verified working.bbb928e -
feat: migrate to Patchright, add pool deploy templatesβ
Peng Ding- Replace playwright with patchright (drop-in, stealth driver layer) - Dockerfile: install patchright chromium driver - Add deploy/compose.yaml (single-instance) and deploy/compose-pool.yaml (gateway + cloakhq/cloakbrowser workers) - Makefile: POOL=1 flag for deploy-dev pool mode - pyproject.toml: add patchright>=1.0.0 dependency582bde6
-
fix: pre-download Chromium as runtime user to avoid re-download on startup
Peng Ding029a377
-
initial release v0.1.0: headless browser rendering APIβ
Peng DingVeilRender is a self-hostable headless browser rendering API built with zerodep modules and CloakBrowser (stealth Chromium). Accepts a URL, renders it with the browser, and returns content as HTML, Markdown, or readability-extracted text. Features: - POST /render β URL to rendered HTML/Markdown/readability - POST /screenshot β URL to PNG screenshot - GET /health β liveness check - CDP WebSocket proxy on /cdp for direct browser control - Token-based authentication via Bearer header or query param - Per-request browser context isolation with concurrency control - CloakBrowser with 58 source-level anti-fingerprint patches - 13 vendored zerodep modules, only external dep is cloakbrowser - Docker image based on python:3.12-slim - GitHub CI: pre-commit (ruff + ty), multi-arch Docker (amd64/arm64) - Auto-deploy to HF Spaces and Docker Hub/GHCR - Bilingual README (en/zh)1293e20