← all repositories
h4ckf0r0day/obscura

Rust headless browser cuts the fat, keeps the CDP

Obscura gives scrapers and AI agents a headless browser that runs real JavaScript without dragging along Chrome's 300 MB footprint.

19.6k stars Rust AgentsOther AI
obscura
Velocity · 7d
+531
★ / day
Trend
accelerating
star history

What it does

Obscura is a headless browser engine written in Rust that embeds V8 directly to execute JavaScript and render pages. It implements the Chrome DevTools Protocol, so Puppeteer and Playwright scripts can connect to it over WebSocket without Chrome or Node.js installed. The project also bundles a CLI for fetching, parallel scraping, and an MCP server that exposes browser tools to AI agents.

The interesting bit

Its stealth mode goes beyond a simple user-agent string: it randomizes per-session fingerprints for GPU, canvas, audio, and battery, masks internal properties to evade bot detection, and blocks 3,520 tracker domains automatically. The README claims startup is instant and typical page loads land between 51 ms and 85 ms, though these figures are self-reported.

Key highlights

  • 70 MB binary, ~30 MB memory footprint; no Chrome or Node.js dependencies.
  • CDP drop-in compatibility for Puppeteer and Playwright.
  • Anti-detection features built-in, including navigator.webdriver removal and native function masking.
  • MCP server included for Claude Desktop, Cursor, and other AI agent clients.
  • Parallel scrape command with JSON output and raw V8 flag passthrough for heap tuning.

Verdict

Grab it if you want a lightweight, self-contained engine for scraping or AI agent automation. Skip it if you need desktop browsing features—the project is explicitly designed for automation at scale, not human surfing.

Frequently asked

What is h4ckf0r0day/obscura?
Obscura gives scrapers and AI agents a headless browser that runs real JavaScript without dragging along Chrome's 300 MB footprint.
Is obscura open source?
Yes — h4ckf0r0day/obscura is open source, released under the Apache-2.0 license.
What language is obscura written in?
h4ckf0r0day/obscura is primarily written in Rust.
How popular is obscura?
h4ckf0r0day/obscura has 19.6k stars on GitHub and is currently accelerating.
Where can I find obscura?
h4ckf0r0day/obscura is on GitHub at https://github.com/h4ckf0r0day/obscura.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.