h4ckf0r0day/obscura

The headless browser for AI agents and web scraping

What it solves

Obscura is a lightweight, high-performance headless browser engine designed specifically for AI agents and web scraping. It replaces heavy, resource-intensive browsers like headless Chrome, which often consume significant memory and have slow startup times, with a faster, stealthier alternative that doesn't require a full Chromium installation.

How it works

Written in Rust, Obscura embeds 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 Puppeteer and Playwright. It includes its own native rendering engine for capturing screenshots and PDFs without needing Chromium. Additionally, it features a "stealth mode" that randomizes fingerprints and blocks trackers to avoid detection by anti-bot systems.

Who it’s for

  • AI Agent Developers: Those building agents that need to interact with the web, capture page states, or perform automation.
  • Web Scraping Professionals: Users who need to scrape JavaScript-heavy sites at scale with low overhead and high speed.
  • DevOps/Infrastructure Engineers: Developers looking to reduce the memory and binary size footprint of their browser automation tools.

Highlights

  • Extreme Efficiency: Uses significantly less memory (~30 MB vs 200+ MB) and has a much smaller binary size than headless Chrome.
  • High Speed: Offers near-instant startup and significantly faster page load times.
  • Native Rendering: Supports screenshots, screencasting, and PDF export without requiring Chromium.
  • Stealth Capabilities: Built-in anti-fingerprinting and tracker blocking to bypass bot detection.
  • Broad Compatibility: Fully compatible with Puppeteer and Playwright via CDP.

Related

  • Project
  • Project
  • Project
  • Project
  • Project