Skip to content
This repository was archived by the owner on Feb 8, 2025. It is now read-only.

Swetrix/swetrix-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4643ee5 · Feb 26, 2023

History

59 Commits
Feb 26, 2023
Feb 17, 2023
Jan 3, 2022
Feb 17, 2023
Jan 3, 2022
Jan 3, 2022
Sep 6, 2022
Jan 3, 2022
Sep 6, 2022
Jan 3, 2022
Dec 30, 2021
Jan 11, 2022
Jan 11, 2022
Feb 8, 2023
May 25, 2022

Repository files navigation

[Work in Progress] Browser Extension for Swetrix Analytics

Install

Chrome also compatible with Edge Opera

Firefox

Build locally

  1. Checkout the copied repository to your local machine eg. with git clone https://github.com/Swetrix/swetrix-browser.git
  2. Run npm install to install all the required dependencies.
  3. Run npm run build

The build step will create the distribution folder, this folder will contain the generated extension.

Run the extension

Using web-ext is recommened for automatic reloading and running in a dedicated browser instance. Alternatively you can load the extension manually (see below).

  1. Run npm install --global web-ext (only only for the first time).
  2. Run npm run watch to watch for file changes and build continuously.
  3. In another terminal, run web-ext run for Firefox or web-ext run -t chromium for Chrome.
  4. Check that the extension is loaded by opening it's popup window.

Manually

You can also load the extension manually in Chrome or Firefox.