Skip to content

About

Ten privacy-first Chrome extensions (MV3) in a pnpm + Turborepo monorepo with real-browser tests

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ExtensionOS

Ten privacy-first Chrome extensions (Manifest V3) in one pnpm + Turborepo monorepo, with shared kits and real-browser tests.

Six of the extensions: ReplyQuarry, ReproLoom, SheetOsprey, StyleTether, ChangePerch and TabCairn

Features

Extension What it does
ReplyQuarry Types your saved replies, with fill-in blanks, into the text box you clicked
ReproLoom Turns a screenshot and notes into a bug report, with redaction and a privacy review
SourceHarrier Saves quotations with their source and date
SheetOsprey Compares two captures of a web table and shows what changed
StyleTether Audits part of a page against your design tokens
ApplyMosaic Keeps a private log of job applications and follow-ups
MomentLattice Takes timestamped notes on a video and jumps back to them
ClipCairn Saves a page as an offline bundle and lists what is missing
TabCairn Saves and restores tab sessions with backups you can verify
ChangePerch Watches part of a public page for changes, with a local monitoring service
  • Local-first: data stays in the browser profile; no cloud accounts and no telemetry. ChangePerch's monitoring service runs on your own machine.
  • Minimal permissions (mostly activeTab, scripting, storage), checked by a release-gate script.
  • Shared packages: ext-core (storage, page access, CSV, hashing), ext-ui (styles, DOM helpers), e2e-kit (Playwright fixtures and a screenshot camera).
  • Each extension has a store kit in apps/extensions/<name>/store/ (icon, screenshots, listing copy, privacy policy draft). Nothing is published.

Requirements

  • Node.js 22.12 or newer and pnpm 10 (the repository pins 10.33.2).
  • Google Chrome to use the extensions and to run the browser tests.
  • macOS is the tested platform; Windows is not tested.

Install

pnpm install --frozen-lockfile
pnpm build

pnpm build writes each unpacked extension to apps/extensions/<name>/.output/chrome-mv3/.

Configure

The extensions need no keys or environment variables. Optional variables:

Variable What it is for
CHANGEPERCH_PORT Port of the ChangePerch service on 127.0.0.1 (default 8787)
CHANGEPERCH_DATA Path of the service's data file (default apps/services/changeperch-api/.data/changeperch.db)
CHANGEPERCH_DEMO_SITE_PORT, CHANGEPERCH_DEMO_DATA Port of the demo supplier page (default 8788) and the demo's data folder
E2E_BROWSER=chrome Run the browser tests on installed Google Chrome instead of Playwright's Chromium

Run

  1. Open chrome://extensions and switch on Developer mode.
  2. Click Load unpacked and choose apps/extensions/<name>/.output/chrome-mv3.
  3. Pin the extension from the puzzle icon in the toolbar.

For ChangePerch, also start the local service, one of these two (they share a port):

pnpm --filter changeperch run demo     # service + an invented supplier page to watch; prints a token
pnpm --filter changeperch-api start    # the real service for public pages; prints a token once

Demo pages for the others: python3 -m http.server 8777 --directory apps/extensions/sheetosprey/store/demo (SheetOsprey), python3 -m http.server 8123 --directory apps/extensions/styletether/store/demo (StyleTether), pnpm --filter momentlattice exec vite preview --outDir store/demo --port 4173, then open http://localhost:4173/adding-fractions.html (MomentLattice).

How to use

Taking ReproLoom as the example:

  1. Open the page with the bug and click the ReproLoom button.
  2. Press Capture current view. A report tab opens with the screenshot.
  3. Choose Redact (solid block) and drag over anything private; add arrows, boxes and labels.
  4. Fill in the summary and steps, tick the privacy review, and download the ZIP or copy the report.

Every extension has a step-by-step sheet ("do this → you should see") in docs/testing/.

Test

pnpm check               # lint, format, type check, unit tests and production build of everything
E2E_BROWSER=chrome pnpm e2e   # real-browser tests on installed Google Chrome

Passing looks like Tasks: 36 successful, 36 total for pnpm check (2,931 unit tests in 12 packages) and each of the ten Playwright suites ending in N passed (432 browser tests in all).

Troubleshooting

  • Executable doesn't exist at …/ms-playwright/chromium-… when running pnpm e2e: Playwright's own Chromium is not downloaded. Either run pnpm --filter replyquarry exec playwright install chromium once, or use your installed Chrome with E2E_BROWSER=chrome pnpm e2e.
  • Port 8788 or 8787 is already in use from the ChangePerch demo: another program holds the port. Start it with CHANGEPERCH_PORT=18787 CHANGEPERCH_DEMO_SITE_PORT=18788 pnpm --filter changeperch run demo and enter http://127.0.0.1:18787 as the service address in ChangePerch's settings.
  • Target page, context or browser has been closed or Tearing down "session" exceeded the test timeout in the browser tests: Chrome updated itself during the run, or the machine was overloaded. Rerun that extension's suite with fewer workers: cd apps/extensions/<name> && E2E_BROWSER=chrome pnpm exec playwright test --workers=2.
  • An extension's folder is missing in Load unpacked: run pnpm build (or pnpm --filter <name> build) first. .output is hidden in Finder; press Cmd + Shift + G and paste the path.

Licence

MIT

About

Ten privacy-first Chrome extensions (MV3) in a pnpm + Turborepo monorepo with real-browser tests

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages