Insert Clockify's "Start timer" button to any web page.
Want to create an integration or improve an existing one? Awesome! Adding an integration is super easy. You need basic web programming skills (HTML, Javascript, Git) and can be done in a couple of hours.
Just fork the repo, make your changes, and send us a pull request.
Create an issue here on Github and our team will take a look the first change we get (which may take a few days, depending on our workload).
If you need the fix quicker, feel free to update the integration yourself and send us a pull request. We typically take care of them within a few days.
- Make sure you have Node and NPM installed on your system (see setup instructions below)
- Clone the repository
- Run
npm install --legacy-peer-deps
- Build Chrome extension and watch for changes by running:
npm run compile.dev.chrome
- Navigate to
chrome://extensions/
- Enable "Developer mode" (located in the top right corner)
- Click "Load unpacked" and select the
chrome.dev/
folder that you've built
- Make sure you have Node and NPM installed on your system (see setup instructions below)
- Clone the repository
- Run
npm install --legacy-peer-deps
- Build Firefox add-on and watch for changes by running:
npm run compile.dev.firefox
- Open a second terminal window and run
npm run run.dev.firefox
to load the extension into a temporary Firefox browser profile. This usesweb-ext run
to open a new Firefox window with the extension loaded as a temporary addon and reloads the extension when changes are made to the compiled extension files.
You can also load the compiled extension into any Firefox profile by following these steps:
- Navigate to
about:debugging
- Click "Load Temporary Add-on"
- Select the
firefox.dev/manifest.json
file
Add the url of the new tool in /src/integrations/integrations.json
. Then, create a /src/integrations/myapp.js
file. It in, define where the button appears and from which element it needs to pick up the description field.
When the extension recognizes that you're on that url, it will load the necessary script.
If you need an example, you can see how Trello is implemented.
Use createButton()
so both the icon and "Start timer" is displayed. If there's not enough space, you can use createSmallButton
(so only the icon is displayed).
Before sending us a pull request, make sure you test the integration in both Chrome and Firefox.
sudo apt-get install nodejs
sudo npm install --legacy-peer-deps
- Install/Update Node.js to Latest: https://nodejs.org/en/download/
> npm install --legacy-peer-deps
sudo npm install --legacy-peer-deps
npm install @popperjs/core
npm run compile.dev.chrome
npm run compile.dev.firefox