You should be able to install it in all Chrome based browser such as Chrome, Chrome Canary, Chromium, Opera, Vivaldi, Yandex, and more ...
Using latest develop branch builds: https://thomaschampagne.github.io/elevate/#/builds
Install steps with a standalone build: https://github.com/thomaschampagne/elevate/wiki/How-to-install-elevate-build-archive
Go to chapter Environment setup.
The project is split into 2 sub-projects: the core and the embedded app.
The core contains the plugin's behaviour that acts directly on strava.com website. This includes extended stats on activities & segments efforts, best splits, google maps support, etc...
The core sources are located in plugin/core directory
The embedded app contains features like fitness trend, year progressions, ... and global plugin settings such as common settings, athlete settings & zones settings.
The embedded app sources are located in plugin/app directory
Notice: The plugin/common directory contains sources shared by both sub-projects.
Here's what you need to install to run the extension in a chrome based browser:
That's all :)
git clone https://github.com/thomaschampagne/elevate.git
Or using SSH
git clone [email protected]:thomaschampagne/elevate.git
npm command should be installed on your system through the NodeJS installation.
Enter in project directory
Then install NPM dependencies with
Once you have installed the NPM dependencies, you can build the plugin with the following command:
npm run build
Both core and embedded app will be built.
Once the build is completed, the plugin will be located in dist/ directory.
A production build can be also run with
npm run build:prod
This will disable TypeScript debug sources map and enable Ahead-of-Time compilation for embedded app.
Into your chrome based browser:
In order to avoid to re-run the painful
npm run build task on each file changes. You could run the following command:
This task will watch for files changes and automatically rebuild plugin to dist/ directory. It's a way more suitable and faster for a development workflow.
The below command will run core and embedded app unit tests into a headless chrome.
Should be run and has to pass before any work submission.
You can package the extension with the following command
npm run package
A production build will be executed for this task.
On packaging done, a release archive will be generated in package/ directory.
Create docker image from
docker build . -t elevate-chrome-builder
Run a docker production build through a container. Replace
/path/to/your/directory/ with a folder on your host to fetch the packaged build when done.
docker run --rm --name elevate-chrome-build -v /path/to/your/directory/:/package elevate-chrome-builder
npm run clean
This will clean dist/, package/ & *.js *.map generated files
The project repository is fitted for GitFlow branches management workflow.