The extension part of the PWAsForFirefox project.
The extension part of the project makes it easier to install and manage Progressive Web Apps directly from the main Firefox browser. It supports installing supported PWAs with just a few clicks, managing and launching them, and creating and managing app profiles directly from the UI.
Read the main README file for more details about the project.
It is recommended to install the extension from the Firefox Add-ons website.
You can download and install the latest build artifact from GitHub Actions builds.
Note that these are development versions that may be unstable and are not signed, so you will need to configure Firefox to accept non-signed extensions or just load it temporarily. It is generally not recommended to use them, unless you are testing a specific unreleased feature.
-
Install Node.js and Yarn package manager.
-
Clone the repository and cd into the
extension
(this) directory. -
Run
yarn install
to install the dependencies. -
If building a specific version:
- Checkout the correct Git tag.
- Run
yarn set-version
to add the version information to the configuration files.
-
Either:
a. Run
yarn build
to build the extension in release mode and package it.b. Run
yarn watch
to build the extension in development mode and automatically rebuild it on any changes. -
Either:
a. Install the packaged extension from
dist/firefoxpwa-{version}-compiled.zip
inabout:debugging
.b. Install the development extension from
dist/manifest.json
inabout:debugging
.
You can read our documentation website for usage instructions.
Please make sure that your JS code is properly linted and formatted using yarn lint
(to check the code) and yarn fix
(to automatically apply some fixes).