selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Lightpanda logo

Self-host Lightpanda

1.0.3

Headless browser engine for automation and AI agents

ReleaseOpen SourceAGPL-3.0
docker run -d --name lightpanda -p 127.0.0.1:9222:9222 lightpanda/browser:nightly
Updated3 days ago
LanguageZig
Setup difficultyEasy
Stars
41 624
Port
9222 (CDP server (WebSocket); WebDriver BiDi and the MCP HTTP endpoint can share the same listener)
Docker
lightpanda/browser

What is Lightpanda?

Lightpanda alternatives

All self-hosted alternatives to Headless Chrome →

Should you self-host Lightpanda?

Lightpanda scores 84/100 on selfhost.directory (how scoring works) and ranks #1 of 11 in Browser Automation. It has 41 624 GitHub stars, +4 823 in the last 30 days.

It shipped 12 stable releases in the past year. The latest, 1.0.3, came out on 5 November 2026. New versions land roughly every 2 weeks.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Zig.

Its closest alternative on selfhost.directory is Obscura (76/100, 30 611 stars). Lightpanda scores higher overall. See Lightpanda vs Obscura side by side.

Features

  • Ad Blocking
  • AI agent mode
  • Chrome DevTools Protocol server
  • CLI page dump (HTML, Markdown, PNG, PDF)PNG and PDF output is a text-only rendering, since nothing is painted.
  • Headless browser without rendering engine
  • JavaScript execution (V8)
  • MCP Server
  • Network interception
  • Prometheus metrics endpoint
  • Proxy Support
  • Puppeteer, Playwright, Chromedp and Selenium compatible
  • Recorded script replay (PandaScript)
  • Robots.txt compliance
  • WebDriver BiDi

Lightpanda README

Logo

Lightpanda Browser

The headless browser built from scratch for AI agents and automation.
Not a Chromium fork. Not a WebKit patch. A new browser, written in Zig.
16x lighter and 9x faster than Chromium.

How to install Lightpanda

Install Lightpanda with Docker

Environment variables
LIGHTPANDA_DISABLE_TELEMETRY
docker run -d --name lightpanda -p 127.0.0.1:9222:9222 lightpanda/browser:nightly

Official images published for Linux amd64 and arm64.

How to configure Lightpanda

  • LIGHTPANDA_DISABLE_TELEMETRYEnvironment variable that turns off the usage telemetry collected by default.

    values: true

  • LIGHTPANDA_DISABLE_CORE_DUMPWhen set to any value, zeroes the soft RLIMIT_CORE at startup to suppress crash core dumps.

    values: any value

  • LIGHTPANDA_DIROverrides the directory where the one-liner installer puts the binary (default ~/.local/bin).

    values: path

  • ANTHROPIC_API_KEYProvider API key auto-detected by `lightpanda agent`.
  • OPENAI_API_KEYOpenAI (and any OpenAI-compatible server, with OPENAI_BASE_URL) API key for the agent.

Lightpanda releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Browser Automation

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…