Obscura on Railway

A Rust headless browser for AI agents and scraping, with Playwright and Puppeteer support, on Railway.

Official site · License: Apache-2.0 · 3 Railway templates

Deploy Obscura on RailwayCompare templates

Obscura is an open-source headless browser for AI agents and web scraping, written in Rust. It runs JavaScript in V8, speaks the Chrome DevTools Protocol (CDP), and works with Playwright and Puppeteer like a remote Chrome. It renders screenshots and PDFs itself, without Chromium.

It is used as a remote browser for agent frameworks and for scraping JavaScript-rendered pages, and as a stand-in for a Browserless-style service that CDP clients read from BROWSER_WS_ENDPOINT. An optional stealth mode and your own proxy help with sites that block plain HTTP clients.

Obscura is released under the Apache License 2.0.

What Obscura can do

  • Chrome DevTools Protocol server for Playwright and Puppeteer
  • JavaScript execution in V8
  • Screenshots and PDFs without Chromium
  • Markdown extraction of pages
  • Optional stealth mode
  • Token-gated access with session caps

What people use it for

  • A remote browser for AI agents
  • Scraping JavaScript-rendered pages
  • Taking screenshots and PDFs of pages
  • Replacing a Browserless-style endpoint in CDP clients

Videos

Obscura + Ollama Local AI Web Scraping with a Rust Headless Browser · Fahd Mirza
Obscura: The Headless Browser Built for AI Agents · Praveen Govindaraj

Running Obscura on Railway

The Railway template runs a single Obscura service. A small token gate sits on the public domain and requires a generated token on every request and WebSocket, because an exposed browser works as an open proxy. Other services in the project can connect over the private network. The template documents about 0.11 GB of RAM idle and 0.33 GB at most with 10 parallel connections, so cost is mainly one small always-on service plus egress for responses sent through the public domain.

Obscura templates on Railway

Obscura Headless Browser for AI Agents (CDP)Maintained by Tracklayer
Deploys Obscura 0.2.6, an open-source headless browser written in Rust that speaks the Chrome DevTools Protocol, behind a token gate. Playwright, Puppeteer and other CDP clients co
1 deployments
Deploy
Obscura by an independent creator
Headless browser for AI agents and scraping. CDP on 9222.
3 deployments
Deploy
Obscura – Rust Headless Browser by an independent creator
A Rust headless browser for AI agents, web automation, and data extraction.
0 deployments
Deploy

Tracklayer templates are listed first. Other Obscura templates follow, ordered by total deployments on Railway. How this works.

Deployment numbers as of 2026-11-20.

Questions about Obscura

How do I connect Playwright?

Use connectOverCDP with BROWSER_WS_ENDPOINT from the service's Variables tab. Playwright's connect method speaks a different protocol and will not work.

Why is there a token?

Obscura's CDP server has no user accounts, so the template puts a gate in front that requires OBSCURA_TOKEN on every request. Only /health and /robots.txt are open.

How do I avoid egress charges?

Connect from other services in the same project with the private endpoint variable, BROWSER_WS_ENDPOINT_PRIVATE.

Can I run several replicas?

Keep one replica, since each replica is a separate browser. For more throughput raise OBSCURA_WORKERS and give the service more resources.

Does it replace Chrome entirely?

It is a different engine that speaks CDP. Test your target pages and scripts, as behaviour can differ from Chromium.

Guides

Similar apps

Tracklayer maintains the templates marked as such; Obscura is a trademark of its owners and this site is not affiliated with them.