This project uses WXT (Web Extension Toolkit) to build browser extensions for Firefox, Chrome, and Edge. The following programs and versions are required for building:
- macOS: 12.7+ (Monterey or later)
- Linux: Ubuntu 18.04+ or equivalent distributions
-
Node.js: Version 20.0.0 or higher
- Download from: https://nodejs.org/
- Verify installation:
node --version
-
pnpm: Version 9.0.0 or higher (Package Manager)
- Install via npm:
npm install -g pnpm - Or install via standalone: https://pnpm.io/installation
- Verify installation:
pnpm --version
- Install via npm:
-
TypeScript: Version 5.8.3 (included in devDependencies)
- Automatically installed via pnpm
-
WXT: Version 0.20.6 (Web Extension Toolkit)
- Automatically installed via pnpm
- Main build tool for the extension
- Clone/Extract the source code
- Navigate to project directory
- Set execute permissions for build script:
chmod +x build.sh
- Install dependencies:
pnpm install - Run build script: Execute the provided
build.shscript
The build process consists of the following steps:
- Dependency Installation: Install all required packages via pnpm
- TypeScript Compilation: Compile TypeScript source files
- WXT Build: Build extensions for both Firefox and Chrome/Edge targets
- Packaging: Create distributable ZIP files for all browsers
First, make the script executable:
chmod +x build.shThen run the build script:
./build.shThis script will:
- Automatically set execute permissions if needed
- Install all dependencies
- Build extensions for Firefox and Chrome/Edge
- Create ZIP packages for all browsers
- Output the following files in the
.outputfolder:bark-sender-<Version>-firefox.zip(Firefox)bark-sender-<Version>-chrome.zip(Chrome/ Edge)
After successful build, you will find the extension packages at:
- Firefox:
.output/bark-sender-<Version>-firefox.zip - Chrome/Edge:
.output/bark-sender-<Version>-chrome.zip - Location: Project root
.outputdirectory
✅ System Compatibility: Passed testing on macOS 12.7.6
👉 https://github.com/ij369/bark-sender
This repository contains all source files, build scripts, and dependency declarations required to reproduce the extension package.
- React: 19.1.0 - UI framework
- Material-UI: 7.2.0 - UI components
- TypeScript: 5.8.3 - Type system
- WXT: 0.20.6 - Extension build toolkit
- i18next: 25.3.2 - Internationalization
All development dependencies are automatically installed via pnpm install and are required for the build process.
For complete dependency list, refer to package.json in the project root.