Reference
Browser Run (P12-K)
When `env.BROWSER` is bound, FluxyChat uses [Browser Run Quick Actions](https://developers.cloudflare.com/browser-run/quick-actions/) for richer link previews o
When env.BROWSER is bound, FluxyChat uses Browser Run Quick Actions for richer link previews on JS-heavy sites.
Wrangler
compatibility_date = "2026-03-24"
[vars]
# Opt-in: quickAction() incurs Browser Run cost (default off in production toml)
BROWSER_ENABLED = "false"
[browser]
binding = "BROWSER"Set BROWSER_ENABLED=true in .dev.vars or production secrets when you want SPA-safe OG previews via Browser Run.
Requires compatibility date 2026-03-24 or later.
Behavior
fetchOgPreview in message-enrichment.js:
- If
BROWSER_ENABLEDis not false andBROWSERis bound →quickAction('markdown', \{ url \})and parse title/description/image. - Fallback → direct HTML fetch + OG meta tags.
- If HTML fetch is empty but browser is bound → retry markdown path.
SSRF private URLs are blocked in both paths.
Future surfaces
- Screenshot attachments / OG images via
browserScreenshotBytes - HTML→Markdown for exports (room export already uses DB markdown; browser path optional for URL-only content)
Billing overage policy (v1)
This document defines the default overage behavior for FluxyChat plans in the current runtime model.
Custom domain white-label (P12-G)
Route `https://chat.yourcompany.com` to a FluxyChat project on the Worker. Useful for embed widgets (P12-A), guest chat, and branded API endpoints without e