This is the code for building the Subscription Score browser extension.
Please submit an issue.
The extension requires node
and npm
or yarn
to build (tested up to node v12.9.1
) and the latest version of Chrome or Firefox to run.
yarn
or
npm install
You will need to specify a connection to our API in your .env
file. This is the endpoint that the built extension will use to fetch subscription scores.
Currently we don't have a development endpoint, so you will need to use the production one at https://api.leavemealone.app/graphql
.
Simply copy the .env.default
to use our default envirnoment values.
$ cp .env.default .env
You will also need to purchase an API key in order to make requests.
The following command will build for all release targets;
npm run build
Zipped releases can be found in the /releases
directory.
npm run build:dev <target>
eg. developing Chrome extension;
npm run build:dev chrome
eg. developing Firefox extension;
npm run build:dev firefox
Development manifest.json
files can be found in /build/{target}
directory.
Once you've built a version of the extension and installed it into your browser of choice you can connect it to our API. You will still need a valid licence key in order to connect. You can buy a key from our website, or contact us for a development key.
- Set up test environment for development contributions.
An API key is required to run the extension and make requests to the API, you can purchase a key from our website, or contact us for a development key.
GNU General Public License v3.0