Dev tools · September 27, 2024
Open-source Docker image to run Chrome browsers in your cloud
If you’ve ever worked with web scraping or automation using Puppeteer or Playwright, you know that running Chrome can be tricky. While headless mode (Chrome with no display) often works, some page elements only render in headed mode, forcing you to run Chrome with a display. This usually means bloating your Dockerfile with complex dependencies like xvfb. Updating your server or Lambda container to handle this can increase costs and lead to dependency hell. The Solution: I’ve built a streamlined solution—a Docker image that runs Chrome with all its necessary dependencies and exposes a FastAPI…
In plain words
This open-source Docker image simplifies running Chrome browsers in cloud environments for web scraping and automation tasks. It packages Chrome with all necessary dependencies and exposes a FastAPI interface with a WebSocket endpoint, allowing developers using Puppeteer or Playwright to connect remotely without managing complex display dependencies like xvfb. The solution reduces Docker bloat, container costs, and dependency management complexity for serverless and containerized deployments.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
If you’ve ever worked with web scraping or automation using Puppeteer or Playwright, you know that running Chrome can be tricky. While headless mode (Chrome with no display) often works, some page elements only render in headed mode, forcing you to run Chrome with a display. This usually means bloating your Dockerfile with complex dependencies like xvfb. Updating your server or Lambda container to handle this can increase costs and lead to dependency hell. The Solution: I’ve built a streamlined solution—a Docker image that runs Chrome with all its necessary dependencies and exposes a FastAPI interface. This decouples the browser logic from your main codebase, letting you focus on scraping or automation without worrying about the underlying setup. The container exposes a WebSocket endpoint at ws://localhost:8000/ws, allowing you to connect Playwright or Puppeteer over Chrome DevTools Protocol (CDP). For example: browser = await pw.chromium.connect_over_cdp('ws://localhost:8000/ws') Each connection to the WebSocket spins up a new Chrome session in headed mode, and you can run multiple sessions concurrently. Unlike other solutions, Finic is fully open-source (Apache 2.0 licensed). You can try it by pulling the official Docker image or cloning the repo at Finic on GitHub (https://github.com/finic-ai/finic) and running `docker-compose up --build`. This approach simplifies handling Chrome for scraping, saves on cloud costs, and keeps your setup clean. Give it a try!
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 2d ago · opentrailpaper.com

Launched alongside, September 2024
the whole month →

BeforeSunset AI 2.0▲1,267Personalized AI daily planning that suits your life
AI · 2024 · beforesunset.ai


