Capture any webpage and style it like a Screen Studio / Loom frame – in one API call.
Website Screenshot Service is a lightweight, developer‑friendly API for grabbing screenshots and adding overlays or other post‑processing. Perfect for QA snapshots, uptime monitoring, changelogs, social previews, or any creative automation. Deploy it locally or on Railway in minutes.
- Blazing‑fast screenshot endpoint with built‑in job queue
- Canvas overlay pipeline for frames, watermarks, emojis – you name it
- Playwright + Browserless under the hood (stealth & CAPTCHA support)
- Works locally, in Docker, or on cloud runners
- Simple
.envconfiguration & verbose logging - MIT‑licensed, 100 % hack‑able
# local dev
pnpm i
pnpm dev # spins up API + local Browserless container
# one‑liner prod (Docker)
docker compose up -dHit the public instance:
https://website-screenshot.up.railway.app/screenshot?url=https://vibe.engineer
-
Create two services from this repo –
api(root dirapi) andbrowserless(browserlessfolder). -
Turn on Private Networking.
-
Set the API env var
BROWSERLESS_WSto:ws://browserless:3000/?token=YOUR_TOKENRailway’s internal DNS lets the API reach the Chromium pool privately.
| Branch | Why you’d use it |
|---|---|
cloudflare |
Fully serverless Worker + Durable Objects + Cloudflare Browser Rendering |
browserbase |
Outsource browsers to Browserbase cloud |
| Key | Example | Notes |
|---|---|---|
PORT |
3000 |
API listen port |
BROWSERLESS_WS |
ws://browserless:3000/?token=... |
WebSocket to Chromium pool |
BASE_IMAGE_URL |
https://files.duckhou.se/website-screenshot/base.png |
background frame |
OVERLAY_IMAGE_URL |
https://files.duckhou.se/website-screenshot/overlay.png |
foreground overlay |
See .env.example for the full list.
Returns a PNG of the rendered site with overlays.
curl "https://api.yourdomain.com/screenshot?url=https://example.com" \
--output screenshot.pngWebsite Screenshot Service is crafted and maintained by Vibe Engineer – a fractional‑CTO‑as‑a‑subscription that ships. Have a wild idea or need extra hands? Book a call.
MIT — © Vibe Engineer 2025
Note on Browserless ‑ This project uses browserless/chromium for headless browsing. Browserless itself is dual‑licensed under SSPL‑1.0 or the Browserless Commercial License. If you deploy this stack commercially, ensure your usage complies with one of those licenses.
