Deploy Kernel Browser
Sandboxed Chrome for browser automation, scraping, and AI agents
kernel-images
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
- Click Deploy on Railway
- The browser container starts automatically with supervisord
- Connect via CDP at port 9222 or use the REST API at port 10001
- 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
kernel-images
serkanhaslak/kernel-images