Skip to content

pinussilvestrus/camunda-modeler-wakatime-plugin

Repository files navigation

camunda-modeler-wakatime-plugin

Wakatime Plugin for the Camunda Modeler

Build Status Modeler version 3.0

How to use

  1. Download and copy this repository into the plugins directory of the Camunda Modeler
  2. Start the Camunda Modeler
  3. When an API-Key is added, the application will start sending activity heartbeats to Wakatime

Due to a current issue (cf. #53) you will have to give the --dangerously-enable-node-integration argument when starting the Camunda Modeler application (step 2) to ensure modeling operations are sending correctly to Wakatime.

Compatibility Notice

Due to the flag loading, this plug-in is compatible with Camunda Modeler v3.0+.

Building

Install dependencies:

npm install

Package plugin to client/client-bundle.js + menu/menu-bundle.js:

npm run bundle

Adding Wakatime API-Key

Before the application will send heartbeats to Wakatime, you will have to add an API-Key inside your local flags.json

{
    "wakatime-api-key": "YOUR_API_KEY"
}

or to $WAKATIME_HOME/.wakatime.cfg (likely inside your $HOME directory)

[settings]
api_key = YOUR_API_KEY

Screenshots

Logging

To enable logging different actions + errors to the Camunda Modeler application log, simply add the debug option to your $WAKATIME_HOME/.wakatime.cfg configuration

[settings]
debug = true

Additional Resources

Licence

MIT