Due to unreliable Manifest v3 feature support in Firefox, we maintain both MV2 and MV3 versions of HyperChat in parallel. The MV2 variant sits in the master
branch, while the MV3 variant sits on the mv3
branch. When contributing, please ensure that you check out to the master
branch to implement the features in MV2 first. Once the feature is stable, please open a separate PR to the mv3
branch to port the feature to MV3.
Note: The repo expects a Linux or Unix-like environment. If you are on Windows, use WSL.
Clone the repository:
git clone https://github.com/LiveTL/HyperChat
Open the repository and npm install:
cd hyperchat
git checkout master # switch to master for MV2 first!
yarn # install dependencies
Build or serve the extension:
yarn dev:firefox # devserver for firefox extension
yarn dev:chrome # devserver for chrome extension
yarn start # alias to yarn dev:chrome for backwards compat
yarn start:none # alias to yarn dev:chrome for backwards compat
yarn start:firefox # devserver + open extension in firefox
yarn start:chrome # devserver + open extension in chrome
yarn build # production mode (chrome)
yarn build:chrome # production mode (chrome)
yarn build:firefox # production mode (firefox)
VERSION=x.x.x yarn build