A Chrome extension that records your screen from a side panel, in two ways:
- This tab: Chrome's new native tab recorder,
Page.startScreenRecording(Chrome 153+). Frames come straight from the tab's compositor and Chrome encodes AV1 video and Opus audio into an MP4 out of process, so there are no dropped frames: 60 fps easily, up to 120 fps on a 120 Hz display. - Screen or window: anything you pick in Chrome's share dialog (a whole
screen, another app's window or a tab), recorded with
getDisplayMediaandMediaRecorderas H.264 MP4, or WebM where MP4 isn't available.
Recordings are saved to Downloads/chrome-recorder/ and listed in the panel
with a preview.
The native recording uses the same CDP calls as Paul Irish's
chrome-capture, which runs them
from Puppeteer or Playwright; this extension runs them through
chrome.debugger, so you can record from your everyday browser.
- Build it (below) and load
dist/chrome-mv3inchrome://extensionswith Developer mode on and Load unpacked. - Click the toolbar icon to open the side panel.
- Pick a source, frame rate, maximum size and whether to record audio, then Start recording.
- Stop recording. The file lands in
Downloads/chrome-recorder/.
- This tab shows Chrome's "started debugging this browser" bar while it
records. That's how Chrome signals
chrome.debuggeruse; dismissing the bar cancels the recording. Chrome doesn't allow recording its own pages (chrome://…, the Web Store). - The tab recorder captures the tab's own pixels: the side panel and the rest of Chrome's UI never show up in the video. It stays on the tab it started on, even if you switch tabs.
- 120 fps needs a 120 Hz display (for example a ProMotion MacBook).
- Before Chrome 153 the panel offers only Screen or window.
- Screen or window recording runs in the side panel, so keep it open until you stop. Chrome's own "Stop sharing" button stops and saves too.
Needs Node 22.18+ and pnpm.
pnpm install
pnpm dev # Chrome with the extension loaded and hot reload
pnpm build # dist/chrome-mv3
pnpm zip # zip for the Chrome Web Store
pnpm compile # type check
pnpm lint # oxlint, including the anti-slop rules
pnpm format # oxfmt
pnpm test # unit tests (Vitest)
pnpm e2e # builds, then records real clips in Chromium (Playwright)The end-to-end tests load the built extension into full Chromium, record a test
page with both sources and check the result. Set CHROMIUM_PATH to use a
Chromium that Playwright didn't download.
| Part | File |
|---|---|
| Side panel UI and download handling | src/entrypoints/sidepanel/main.ts |
Native tab recording over chrome.debugger |
src/entrypoints/sidepanel/tab-recorder.ts |
Screen recording with getDisplayMedia |
src/entrypoints/sidepanel/screen-recorder.ts |
| Formatting, codec choice, file names | src/shared/format.ts |
The tab recorder attaches chrome.debugger to the active tab and sends
Page.startScreenRecording with frameRate, maxWidth, maxHeight and
audio. On stop it sends Page.stopScreenRecording, which returns an
IO.StreamHandle, and reads the MP4 out with IO.read until eof.
Recordings never leave your computer. See PRIVACY.md.
Apache 2.0. See NOTICE.
