Skip to content

reveddit/real-time-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

107 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Direct Installation

This extension can be installed directly via Chrome or Firefox:

Chrome Web Store Firefox add-ons

chrome Note: the Chrome Store may or may not have the latest update (details here).

Install from source

Clone the repository and load either the dist-chrome/ or dist-firefox/. See here for more detailed instructions.

Dev: Hot reloading

Chrome: Run yarn start, load dist-dev-chrome/ in the browser, and visit a targeted content URL. Subsequent code changes will rebuild the code, reload the extension in the browser, and reload any impacted tabs.

Firefox: yarn start-firefox, load dist-dev-firefox/

Dev: Manual development build

yarn build-chrome-dev and yarn build-firefox-dev build for the respective browsers, or yarn build-dev to build for both. Using this option requires manually reloading the extension and any impacted tabs after any code change.

Dev: Production build

yarn build-prod builds Chrome and Firefox code and packages it into zip files.

Dev: Testing

yarn test — unit and integration tests (Vitest)

yarn test:watch — Vitest in watch mode

yarn test:e2e — Playwright E2E tests against a real Chromium instance with the extension loaded. Requires a fresh build first:

yarn build-chrome-dev
npx playwright install chromium   # first time only
yarn test:e2e

yarn test:all — run both Vitest and Playwright suites

yarn preflight — full pre-publish verification: typecheck, unit tests, dev build, then E2E

Dev: Code quality

yarn lint / yarn lint:fix — ESLint

yarn format / yarn format:check — Prettier

yarn typecheck — TypeScript type checking

CI and pre-commit hooks

Husky pre-commit hooks run automatically on each commit: lint:fix, format, typecheck, and unit tests.

GitHub Actions runs on push/PR to master/main: lint, typecheck, unit tests, and dev builds, followed by Playwright E2E in a separate job.

Smoke testing

See SMOKE_TESTS.md for the manual pre-release verification checklist.

Claude Code MCP browser integration

Claude Code can drive a real Chromium instance with the extension loaded for visual verification via Playwright MCP. See .claude-mcp/README.md for per-machine setup instructions.

Future work

  • Monitor parent comments / posts of subscribed users' comments + other subscribed comments
  • Track edits to parent comments

About

An extension that notifies you of removed content on reddit.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors