Add Clockify one-click time tracking button to popular web tools.
See the full list of integrations →
- Make sure you have Node, NPM, Ruby, and Compass installed on your system
- Clone the repository
git clone [email protected]:clockify/browser-extension.git
- Run
npm install
- 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
- 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
Want to improve an existing integration or create a new one? That's great!
Just fork the repo, make your changes, and send us a pull request.
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 it in both Chrome and Firefox.