Skip to content

Releases

v0.2.0

Choose a tag to compare

@Tthanh2k6 Tthanh2k6 released this 25 Nov 17:53

Adds opt-in --no-focus\ flag (and \CDP_SHARE_NO_FOCUS\ env var /
oFocus\ option) to keep Chrome in the background when CDP clients open or interact with tabs. Thanks to @mvanhorn in #1.

cdp-share 0.1.0

Choose a tag to compare

@Tthanh2k6 Tthanh2k6 released this 17 Nov 07:09

First release.

cdp-share holds one approved remote-debugging connection to your everyday Chrome and lets several CDP clients share it: chrome-devtools-mcp, Playwright, Puppeteer or your own scripts. With Chrome 144 and later you click Allow once instead of on every reconnect, and each client keeps its own sessions.

  • Zero runtime dependencies, Node 20+.
  • Listens on 127.0.0.1 only, checks Host and Origin. --token auto requires a token on every connection; use it, since an open port without one hands the approved connection to any local program.
  • Optional audit log (--log), which never records command parameters such as typed text.
  • --include-url / --exclude-url hide tabs from clients.
  • Browser.close from a client is ignored, so a script ending in browser.close() leaves your Chrome open.

Tested on Linux, Windows and macOS with Node 20 and 22 in CI (headless Chromium), and by hand against Chrome's Allow prompt on Windows.