Deploy Now

Stars

30,362

Forks

2,301

Watchers

80

Developer links

Obscura

Obscura is the headless browser you point Puppeteer or Playwright at when Chromium feels like renting a truck to fetch a letter. Start the server and your existing automation connects over the usual DevTools protocol, opens pages, clicks, types, waits for selectors, and reads the fully rendered result, JavaScript included. Scrape one page or fan out across many in parallel, evaluating an expression on each and getting structured output back. Capture viewport or full-page screenshots, export PDFs, intercept requests to block or rewrite them, and manage cookies and headers per session. An MCP mode lets AI agents drive the browser as a tool instead of shelling out to scripts. Stealth mode randomizes fingerprints per session, presents realistic browser identity signals, and blocks thousands of known tracker domains before they load. Proxies, persistent storage for cookies and local storage, and robots handling round out the controls for longer crawls. The whole thing starts instantly and sips memory compared with a conventional headless Chrome, so a modest server can keep many more pages in flight. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache-2.0 licensed.

Obscura

Benefits

  • Drop-in for existing automation
  • Puppeteer and Playwright connect over the Chrome DevTools Protocol, so scripts you already wrote keep working while the heavy browser underneath gets replaced.
  • Far lighter than Chromium
  • A roughly thirty megabyte memory footprint and instant startup let one small server run many more concurrent pages than a traditional headless Chrome setup.
  • Stealth built in, not bolted on
  • Per-session fingerprint randomization, realistic browser identity signals, and blocking for thousands of tracker domains help ordinary scraping finish without constant detection fights.
  • Ready for AI agents
  • An MCP server mode exposes browsing as an agent tool, while parallel scraping with per-page JavaScript evaluation returns structured results agents can consume directly.

Features

  • CDP Server Mode
  • Run the browser as a WebSocket endpoint on port 9222 and connect Puppeteer or Playwright for navigation, evaluation, input, and network control.
  • Parallel Scraping Runs
  • Evaluate a JavaScript expression across many URLs concurrently and collect the results as JSON, with workers inheriting proxy and stealth settings.
  • Screenshots and PDF Export
  • Capture viewport, clipped, or full-page screenshots and export raster PDFs natively, with scroll-aware layout and live screencasting support.
  • Request Interception Controls
  • Pause live requests to continue, fulfill, or fail them, set cookies and extra headers, and override the user agent per session.
  • Stealth and Tracker Blocking
  • Randomize GPU, canvas, screen, and audio fingerprints per session while dropping requests to thousands of known analytics and fingerprinting domains.

Apps Similar to Obscura