Obscura Headless Browser
A lightweight, stealth-capable browser engine for agent automation and web scraping without Chromium.
- Source repo
- h4ckf0r0day/obscura
- Stars
- ★ 39k
- Last updated
- today v0.2.8
- FARS reviewed
- Nov 08, 2026 +2 new
- License
- Apache-2.0
- Primary language
- Rust
- FA score
- 68/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformClaude.ai
- Cost
- Free, no paid service needed
- Integrations
- Runs as an MCP server per README
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A data-collection team can run
obscura scrapewith several workers to process URL batches and return a JavaScript-derived result for each page as JSON. - Not a fit if
- Teams needing pixel-identical Chromium rendering
- Projects relying on long-tail CSS, media playback, or platform font rasterization
- Complex Chrome migrations requiring full CDP method coverage
- Website
- obscura.sh ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release v0.2.8 (2026-11-30)+185.7 ★/day over 7 days
- Source review
- 68/100 · Some gaps
What does this agent do, and when should you use it?
Obscura is an Apache-2.0 headless browser engine written in Rust for web scraping and browser-driven agent workflows. It embeds V8 to execute real page JavaScript and exposes a Chrome DevTools Protocol server that Puppeteer and Playwright can connect to. Its independent rendering engine produces PNG screenshots, live CDP screencasts, and PDFs without launching Chromium. The distribution includes single-page fetch, parallel scrape, a CDP WebSocket service, and an MCP server available over stdio or HTTP. Teams can self-host it from platform-specific release archives, a distroless Docker image, or source; official binaries require neither Chrome nor Node.js at runtime.
The obscura fetch <URL> command requests a page, executes its scripts, and can emit HTML, readable text, links, Markdown, NDJSON asset URLs, or the original response body. It can evaluate JavaScript, wait for lifecycle events or selectors, use HTTP or SOCKS proxies, capture PNG files, and write extracted output to disk. obscura scrape <URL...> uses worker processes to visit multiple URLs concurrently and returns per-page evaluation results as JSON or text. obscura serve --port 9222 exposes CDP methods used by puppeteer.connect and chromium.connectOverCDP for navigation, DOM access, forms, cookies, request interception, input, screenshots, screencasting, and PDF output. With --stealth, a compatible build randomizes session fingerprints, masks automation signals, and prevents requests to its tracker blocklist. obscura mcp and obscura mcp --http --port 8080 expose navigation, snapshots, clicks, form input, key presses, evaluation, network logs, console messages, screenshots, and PDFs to MCP clients.
- A data-collection team can run
obscura scrapewith several workers to process URL batches and return a JavaScript-derived result for each page as JSON. - An agent developer can use the MCP server for browser navigation, structured snapshots, referenced-element clicks, form filling, keyboard events, and page evaluation.
- A team with existing Puppeteer or Playwright automation can connect over CDP and evaluate Obscura as a lighter self-hosted substitute for headless Chrome.
- A web archiving or monitoring service can create full-page PNGs, stream live page frames through CDP, or export PDFs without starting Chromium.
- A tester working with sites that deploy tracking or automation detection can use a stealth-enabled build for session fingerprint randomization and tracker blocking.
- A collector downloading images, JSON, JavaScript, CSS, or other non-HTML resources can use
--dump originalto stream the response body without passing it through the JavaScript and DOM layers.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
docker run -d --name obscura -p 127.0.0.1:9222:9222 h4ckf0r0day/obscura
- Ports
9222- Runtime
- Rust 1.75+
- Install notes cover
- Windows · macOS · Linux · Docker
How do you install or deploy this agent?
For Linux x86_64, download and test the release binary with:
curl -LO https://github.com/h4ckf0r0day/obscura/releases/latest/download/obscura-x86_64-linux.tar.gz
tar xzf obscura-x86_64-linux.tar.gz
./obscura fetch https://example.com --eval "document.title"Release archives are also documented for Linux ARM64, macOS on Apple Silicon and Intel, and Windows. Arch Linux users can run yay -S obscura-browser; NixOS users can run nix-env -iA nixpkgs.obscura. Keep the included obscura and obscura-worker binaries in the same directory when using parallel scrape. Docker deployment is docker run -d --name obscura -p 127.0.0.1:9222:9222 h4ckf0r0day/obscura. Building from source requires Rust 1.75+; use cargo build --release -p obscura-cli --bins --features render for rendering or cargo build --release -p obscura-cli --bins --features render,stealth for rendering plus stealth. The stealth build additionally needs CMake, Clang, and the libclang/LLVM development libraries. No credentials are required for the basic local invocation, although target sites and configured proxies may impose their own authentication.
How do you use this agent?
For a first text extraction, run obscura fetch https://example.com --dump text. Capture a page with obscura fetch https://example.com --screenshot page.png. A parallel extraction can be started with obscura scrape url1 url2 url3 --concurrency 25 --eval "document.querySelector('h1').textContent" --format json. For Puppeteer or Playwright, first run obscura serve --port 9222, then connect with puppeteer.connect({ browserWSEndpoint: 'ws://127.0.0.1:9222/devtools/browser' }) or chromium.connectOverCDP({ endpointURL: 'ws://127.0.0.1:9222' }). Claude Desktop can launch it with {"mcpServers":{"obscura":{"command":"obscura","args":["mcp"]}}}. Network MCP clients can connect to http://127.0.0.1:8080/mcp after obscura mcp --http --port 8080. Web navigation requires network access, while screenshots, PDFs, downloads, and output files require writable filesystem locations.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
README-backed isolation & workflow protocols
What are this agent's strengths and limitations?
- It does not require Chromium: Obscura embeds V8 and supplies its own CSS layout, painting, screenshot, screencast, and PDF paths.
- One engine is accessible through a CLI, CDP, Puppeteer, Playwright, and MCP over either stdio or HTTP.
- Deployment choices include Linux, macOS, and Windows release archives, a roughly 57 MB compressed distroless Docker image, and source builds.
- The stealth variant provides per-session GPU, screen, canvas, audio, and battery fingerprint randomization and blocks 3,520 tracker domains.
- It supports binary-safe original response output and chunked downloads through
Fetch.takeResponseBodyAsStream,IO.read, andIO.close.
- The independent renderer is still evolving; long-tail CSS, some Web APIs, media playback, compositor effects, and platform font rasterization may differ from Chromium.
- The documented CDP table covers a defined subset of domains and methods rather than claiming complete CDP parity, so complex Chrome migrations need method-by-method testing.
- A first source build takes about five minutes because V8 compiles from source, while stealth builds add BoringSSL, CMake, Clang, and LLVM/libclang requirements.
- Parallel scraping from release archives depends on
obscura-workerremaining beside the main executable, adding a packaging constraint. - Page script execution has a default 30-second budget; heavy React, Vue, or Angular applications may require coordinated changes to
OBSCURA_SCRIPT_DEADLINE_MSand client navigation timeouts. - Response bodies larger than the default 2 MiB network cache limit are not retained; large streaming downloads require raising
OBSCURA_NETWORK_BODY_BUFFER_BYTES.
How does this agent compare with similar options?
The project explicitly presents Obscura as a replacement for headless Chrome. Its README reports about 30 MB of memory, a 70 MB binary, an 85 ms page load, near-instant startup, and built-in anti-detection, compared with 200+ MB, 300+ MB, roughly 500 ms, about two seconds, and no built-in anti-detection for headless Chrome. Both are listed as compatible with Puppeteer and Playwright. Adoption should still be validated against representative sites because Obscura's independent renderer and Web API coverage can produce behavior different from Chromium.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Obscura Headless Browser This agent | 68 · Some gaps | CLIFree | ★ 39k | today | Rust | Claude.ai |
| Opensteer | 54 · Major gaps | CLIFree | ★ 281 | today | TypeScript | — |
| Lightpanda Browser | 67 · Some gaps | CLIFree | ★ 43k | 1d ago | Zig | OpenAI API · Claude API |
| Flyto2 Core | 57 · Major gaps | CLIFreemium | ★ 484 | 21d ago | Python | Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
The code and docs show private-network and file:// access are restricted by default, CDP binds to loopback by default, Docker examples publish on loopback, and a connection token is provided; least privilege has meaningful support (2). Private-network, file-access, and stealth opt-ins do not require per-action confirmation, so user confirmation is limited (1). The security policy, installation docs, and code describe page JavaScript, interception, proxies, cookies, and network boundaries, though the sample does not map every data flow (2). The docs state that page scripts run in-process, explain CDP token use, and recommend isolation; the sample does not show credential storage or cleanup controls (2). CI configures cargo-deny dependency audits and the security policy refers to RustSec, but this sample contains neither audit results nor a reviewed dependency inventory (2). Browsing, scraping, proxying, and fingerprint masking affect external sites; robots compliance is optional, and no rate or site-authorization constraints are shown (1). Worker draining and timeouts are described, but no general rollback or state-recovery process is shown (1). The project identity and security contact are documented, but publisher identity is unverified and ownership and maintenance responsibility remain unclear (1).
The docs, CLI options, and architecture description are broadly consistent, with details on timeouts, worker recycling, and crashes; the sample has some version or detail mismatches and has not been executed for this review (2). Build platforms, compiler tools, V8, and optional BoringSSL dependencies are explained, though initial builds are costly and the dependency chain is substantial (2). Timeouts, 503 responses, stderr logging, and common installation errors are documented; the sample does not establish that every runtime failure has a specific message (2).
The project clearly targets scraping, AI automation, CDP clients, MCP, screenshots, and PDF use (3). It describes rendering differences, challenges stealth does not handle, PDF limitations, MCP/CDP differences, and in-process execution risks (3). The skill description groups a broad range of operations, validation, real-site diagnosis, and integrations, so its activation conditions are not especially focused (2). Multi-platform installation, build variants, Docker, proxy, timeout, and local-network configuration support varied environments (3).
The repository is divided into crates and topic docs and includes a CLI reference, but the README is long and the supplied README and skill excerpts are truncated, limiting confidence in the complete information architecture (2). Platform downloads, source builds, feature variants, Docker, build requirements, and common errors are covered concretely (3). Product and crate names are mostly consistent, though the package, binary, and build-variant names add some user-facing complexity (2). There are many usable examples for installation, integrations, and troubleshooting; the sample has no standalone FAQ, but the guidance is practical (3). Limitations and boundaries are concrete, including rendering differences, stealth gaps, PDF/MCP capabilities, and the security model (3). The repository declares Apache-2.0 and the workspace metadata agrees with the license file (3). A version field is present, but the sample provides no changelog or explicit compatibility policy (1). Security reporting, supported-version guidance, and a fix-release path are described, but information about the responsible maintainer is limited (2).
The CLI, CDP, MCP, and library API provide consumable text, JSON, NDJSON, screenshots, and PDFs, with practical examples (3). An independent Rust browser engine and several integration paths offer useful capability, while performance advantages are mostly project claims and the benchmark is in another repository (2). The docs describe lightweight operation and startup alongside V8 build time, extra toolchain requirements, and feature tradeoffs; no independent cost or performance verification is included (2).
Many claims map to CLI options, Cargo configuration, the security policy, or installation docs, but performance and anti-fingerprinting effects remain largely asserted (2). README, code, skill, installation, and security materials corroborate defaults, build options, and capability boundaries; the sample cannot establish what unseen files contain (2). The docs often distinguish implementation details, limitations, and project performance claims, but benchmark figures and some effectiveness claims lack independent support in this sample (2).
- Stealth and proxy features change outbound request behavior; confirm that target-site and network use are authorized and permitted by your policies.
- Performance and anti-fingerprinting claims in the sample are project statements and were not executed or independently verified in this static review.
- Adversarial page scripts run in-process; the security policy recommends operating-system-level isolation for untrusted input.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
v0.2.8 This release adds an opt-in WebGL 1 preview, corrects Canvas2D pixel compositing, and improves browser automation, navigation deadlines, and packaging. Standard builds retain their existing WebGL behavior. 147 commits since v0.2.7. Highlights - A separate Linux x86-64 preview archive provides a native WebGL 1 subset through canvas.getContext("webgl"). It starts its graphics helper only when a page requests a WebGL context. The feature requires native-webgl at build time and OBSCURA_WEBGL_ENABLE=1 at runtime (#1719). …View on GitHub ↗ -
Release notes excerpt
v0.2.7 This release improves iframe automation, form handling, session history, and browser robustness. It adds opt-in MCP web search, fixes rendering hangs and process aborts, isolates CDP connection storage, and repairs Windows runtime packaging. 87 commits since v0.2.6. Highlights • Iframe automation uses the correct document and evaluation world. Child-frame evaluation, remote objects, uploads, and owner-frame metadata now follow the frame that owns them. Playwright iframe locators can resolve their content frames (#1479 (https://github.com/h4ckf0r0day/obscura/pull/1479), #1498 (ht …View on GitHub ↗ -
Release notes excerpt
v0.2.6 This release improves request interception, frame navigation, CDP responsiveness, and JavaScript startup. It also fixes browser API behavior, updates security-sensitive dependencies, and strengthens performance regression checks. 117 commits since v0.2.5. Highlights - Main-document requests can be intercepted before transport. Playwright and Puppeteer can fulfill navigation requests directly. Binary bodies, repeated cookies, continuation overrides, redirects, and request completion retain their expected behavior ([#1384](https://github.com/h4ckf0r0day/obscura/pull/1384)). …View on GitHub ↗
FAQ
Do I need Chrome or Node.js?
puppeteer-core or playwright-core, which requires an appropriate JavaScript client environment.Will the hosted Obscura Cloud reduce the open-source feature set?
Will pages render exactly as they do in Chromium?
How can I handle a heavy page or a V8 out-of-memory error?
--timeout, raise the script budget through OBSCURA_SCRIPT_DEADLINE_MS, and pass a larger heap limit such as --v8-flags "--max-old-space-size=4096". CDP client navigation timeouts should be adjusted to match the server-side script budget.Does stealth mode retain rendering and capture features?
render,stealth includes the complete rendering engine, and enabling --stealth at runtime does not remove screenshots, screencasting, PDFs, CDP, or MCP.Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.