Deploy Kernel Browser
Railway

Deploy Kernel Browser

Sandboxed Chrome for browser automation, scraping, and AI agents

Deploy Kernel Browser

Just deployed

/home/kernel

Deploy Kernel Browser on Railway

Kernel Browser provides sandboxed, ready-to-use Chrome browsers for browser automation and AI agent workloads. Deploy a full Chromium environment with CDP (Chrome DevTools Protocol) support, live GUI streaming, and session recording.

Features

  • Chrome DevTools Protocol — Connect Playwright, Puppeteer, or any CDP-based framework
  • Live GUI streaming — Monitor and control the browser via WebRTC or VNC
  • Session recording — Capture and replay browser sessions as MP4 video
  • Pre-built Docker image — Fast deploys from GHCR, no build-time compilation
  • REST API — Control mouse, keyboard, and screen capture programmatically

Getting Started

  1. Click Deploy on Railway
  2. The browser container starts automatically with supervisord
  3. Connect via CDP at port 9222 or use the REST API at port 10001
  4. Optionally enable live view with ENABLE_WEBRTC=true

Connecting via Playwright

const browser = await chromium.connectOverCDP('ws://YOUR_RAILWAY_URL:9222');
const page = await browser.newPage();
await page.goto('https://example.com');

Environment Variables

All variables are pre-configured with sensible defaults. Key ones:

  • PORT — API server port (default: 10001)
  • RUN_AS_ROOT — Required for Railway (default: true)
  • CHROMIUM_FLAGS — Browser launch flags for containerized environments

Template Content

More templates in this category

View Template
N8N Main + Worker
Deploy and Host N8N with Inactive worker.

jakemerson
View Template
Postgres Backup
Cron-based PostgreSQL backup to bucket storage

Railway Templates
View Template
Prefect [Updated Mar ’26]
Prefect [Mar ’26] (ETL & Automation alternative to Airflow) Self Host

shinyduo