h4ckf0r0day/obscura

The headless browser for AI agents and web scraping

What it solves

Obscura is a lightweight, high-performance headless browser engine designed for AI agents and web scraping. It replaces heavy headless Chrome installations, which typically consume significant memory and storage, with a faster, more stealthy alternative that doesn't require a full Chromium binary to run.

How it works

Written in Rust, Obscura uses the V8 JavaScript engine to execute real JavaScript. It implements the Chrome DevTools Protocol (CDP), allowing it to act as a drop-in replacement for headless Chrome when used with popular automation frameworks like Puppeteer and Playwright. It includes its own native rendering engine for CSS layout and paint, enabling features like screenshots and PDF exports without needing Chromium.

Who it’s for

It is built for developers creating AI agents that need to interact with the web, as well as data engineers performing large-scale web scraping who require low resource overhead and high evasion of anti-bot detection.

Highlights

  • Extreme Efficiency: Uses significantly less memory (30 MB vs 200+ MB) and has a much smaller binary size (70 MB vs 300+ MB) than headless Chrome.
  • Built-in Stealth: Features anti-fingerprinting (randomizing GPU, canvas, and audio fingerprints) and a built-in tracker blocker for over 3,500 domains.
  • Native Rendering: Supports screenshots, screencasting, and PDF export natively.
  • Framework Compatibility: Fully compatible with Puppeteer and Playwright via CDP.
  • High Performance: Offers near-instant startup and significantly faster page load times compared to Chrome.

Related

  • Project
  • Project
  • Project
  • Project
  • Project