ktexteditor_wakatime v1.5.1
Kate plugin to interface with WakaTime.
Loading...
Searching...
No Matches
kate-wakatime

GitHub tag (with filter) License GitHub commits since latest release (by SemVer including pre-releases) CodeQL QA Tests Coverage Status GitHub Pages pre-commit Stargazers

@Tatsh Mastodon Follow

Kate plugin to interface with WakaTime.

Packaging status

Note

This is for Kate 6 (KTextEditor from KF 6).

If you need a version for Kate 5, use the v1.3.10 release.

If you need a version for Kate 4, use the v0.6 release.

Older versions are not supported.

Dependencies

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

wakatime-cli or wakatime must be in PATH or located in ~/.wakatime. Any Linux/macOS/Windows binary listed in the releases can be placed as is in ~/.wakatime.

  1. Get an account at WakaTime.
  1. Get your API key.
  1. Install with your package manager or clone this project and compile:

    git clone git@github.com:Tatsh/kate-wakatime.git
    cd kate-wakatime
    mkdir build
    cd build
    cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
    cmake --build . --config Release
    cmake --install . --config Release

    If your package manager does not have this package, please ask the maintainers to add it. Installing to a production system with sudo make install or similar is not recommended.

  1. Once this plugin is installed, open Kate and go to Settings, Configure Kate..., then in the dialog choose Plugins.
  1. Use the checkbox to enable WakaTime and click OK:

    screenshot

  1. Restart Kate to be sure the plugin initialises properly.
  1. Go to Settings, Configure WakaTime.... In the dialog, fill in your API key. Click OK to save.