Log time directly to a Kimai instance directly from a browser extension.
BrowserPluginBundle
into the var/plugin
folder in your Kimai instance./en/kimai-browser-plugin
, use the link on the left hand side.The extension adds a button to Chrome. On clicking, it will open your Kimai instance in a browser popup. The browser extensions sends the current tab URL to your Kimai instance, and the plugin will try and parse that and pre-fill some fields in the create form.
If you want to tighten permissions then edit the file chrome_ext/public/manifest.json
and fine the line:
"*://*/*"
Change this to match the root of your Kimai installation:
"https://kimai.example.org/*"
And the rebuild the extension, re-install it from the link in Kimai.
Change directory into chrome-ext
, install the deps (you'll need npm installed), then build and package the extension.
cd chrome_ext
npm install # <-- only needed the first time
npm run build
npm run package
npm run deploy