This is for Kate 5 (KTextEditor from KF 5). If you need a version for Kate 4, use the v0.6 release.
How to install these on your distro is beyond the scope of this document. Generally, install the Kate text editor, CMake, KDE framework development packages, and Qt development packages.
How to use
Get an account at WakaTime.
Get your API key.
Clone this project and compile:
git clone email@example.com:Tatsh/kate-wakatime.git cd kate-wakatime mkdir build cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/local/
Finish the task:
make sudo make install
Once this plugin is installed, open Kate and go to Settings, Configure Kate..., then in the dialog choose Plugins.
Use the checkbox to enable WakaTime and click OK:
Restart Kate to be sure the plugin initialises properly.
Go to Settings, Configure WakaTime.... In the dialog, fill in your API key. Click OK to save.
To be certain this will work, check the file at
Is this a keylogger?
Short answer is no.
WakaTimeView::sendAction() method if you want to be certain.