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 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
www/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
- In project root run
npm install --legacy-peer-deps
- Build Firefox add-on by running:
npm run compile.prod.firefox
- Zip the contents of the
/firefox
folder - Navigate to
about:debugging#/runtime/this-firefox
- Click
"Load Temporary Add-on"
- Select the zipped file
The extension is now built and loaded into firefox successfully
if you wish to play around with functionality:
9. Proceed to login/signup
10.You are either redirected to the clockify web to login or if you're already logged in to the web version, then extension will instantly log you in once you've pressed the login button. Open some website (eg. some random Gitlab issue https://gitlab.com/gitlab-org/gitlab/-/issues/220296) 12. "Start timer" will appear, which you can click and the add-on will pick up the issue name and start the timer 13. Stop timer to save the time entry
-
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 by running:
npm run compile.dev.firefox
-
Navigate to
about:debugging
-
Click "Load Temporary Add-on"
-
Select the
www/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