Contributing

Prowl is open source under the MIT License, and fixes, features and docs are welcome. This page is the short version. CLAUDE.md, docs/architecture.md and docs/patterns.md hold the details. Who decides and who holds which access is in GOVERNANCE.md.

Before you start

Report a bug or suggest a feature in GitHub issues (the templates ask for what helps: version, steps, what you expected). Open an issue for anything bigger than a small fix, so we can agree on the approach before you write code. Prowl stays small on purpose: no backend, no telemetry, and GitHub is the only remote host.

Set up

You need Node 24 or newer (.nvmrc, so nvm use picks it) and pnpm 12. An older pnpm (10 or newer) downloads the version packageManager names by itself.

git clone https://github.com/aemard/prowl.git
cd prowl
pnpm install
pnpm build

Load the extension from dist/: open chrome://extensions, turn on Developer mode, choose Load unpacked and pick the dist folder. For hot reload, run pnpm dev and load dist-dev/ instead. Keep the localhost:5173 dev server running; UI edits update automatically and background edits reload the extension. pnpm dev:watch keeps the original dist/ build watcher with manual extension reload.

Check your work

Command What it does
pnpm verify:fast Lint, types and unit tests. Use it while you work.
pnpm verify Everything CI runs: lint, types, unit tests with coverage gates, build, size budget and end-to-end tests.
pnpm lint:fix Formats the code with Biome and applies its safe fixes.

A pull request needs a green pnpm verify. Tests never call the real GitHub API: they use the builders in tests/fixtures/ and the mock GitHub server of the end-to-end suite. The end-to-end tests run in Playwright’s Chromium (pnpm exec playwright install chromium once); set PROWL_CHROMIUM=/path/to/chromium to use a Chromium you already have.

Conventions

Dependencies

Packages come from npm through pnpm, pinned by pnpm-lock.yaml (CI installs with --frozen-lockfile); GitHub Actions are pinned to commit SHAs. Add a dependency only when the platform and the existing ones do not cover the need: a runtime one needs a line in docs/decisions.md and has to fit the size budget, and one with an install script must be allowed in pnpm-workspace.yaml. Dependabot proposes updates every week, dependency review fails a pull request that adds a known-vulnerable package, and every release ships an SBOM.

Commits and pull requests

Use Conventional Commits for pull request titles: feat:, fix:, docs:, test:, ci:, refactor:, perf:, chore:, build:, style: or revert:, with an optional lower-case scope and ! for a breaking change. main accepts only squash merges, and the repository defaults the final commit title to the PR title. The maintainer checks this convention and keeps that title when merging; it is not automatically enforced. Release Please reads this final commit: feat creates a minor release, fix a patch, and ! a major. Documentation, CI and maintenance changes alone do not normally create a release. Keep a pull request to one change, say what it does and why, and add a screenshot for anything users see.

Sign off every commit (git commit -s). The Signed-off-by line certifies the Developer Certificate of Origin: you wrote the change, or otherwise have the right to submit it under the MIT License. CI fails a pull request with a commit that is not signed off (bots excepted); git rebase --signoff main adds the line to commits you already made. A change written with an AI assistant is signed off by the person who submits it, who answers for it.

GitHub automatically adds this DCO sign-off for web commits in this repository. It is not a cryptographic signature: main requires verified signatures, and GitHub signs the squash commit it creates, so your own commits need no signature (git commit -S -s adds both).

The website

The site in site/ is built with Astro. pnpm --filter site build builds it, and pnpm --filter site lighthouse checks every page for a Lighthouse score of 95 or more in all four categories (it needs Chrome: set CHROME_PATH if it is not found). The auth guide, the privacy policy, the changelog and this page are rendered from docs/auth.md, docs/privacy.md, CHANGELOG.md and CONTRIBUTING.md, so edit those files, not the site.

Security

Never report a vulnerability in a public issue. Use GitHub’s private reporting instead (Security → Report a vulnerability), as SECURITY.md explains; you get an answer within 7 days.