- Node.js
>= 25 - Bun
- zip
>= 3.0
brew update
brew install node zip
brew install oven-sh/bun/bunparu -S nodejs npm zip
npm i -g bungit clone https://github.com/maxhu08/nav
cd nav
bun install- Dev build:
bun run devorbun run dev:firefox - Production builds:
bun run build:chrome,bun run build:firefox - Windows Firefox build alias:
bun run build:firefox:windows - Package zips:
bun run package:chrome,bun run package:firefox - Release candidate packages:
bun run rc:chrome,bun run rc:firefox - Source package zip:
bun run package:source - Validate changes:
bun run check - Run tests:
bun run test - Format code:
bun run format
- Run
bun run devorbun run build:chrome. - Open the browser's extensions page.
- Enable Developer Mode.
- Click "Load unpacked".
- Select the generated
dist/directory.
- Run
bun run dev:firefoxorbun run build:firefox. - Open
about:debugging#/runtime/this-firefox. - Click "Load Temporary Add-on...".
- Choose
dist/manifest.json.