Command line interface used by all WakaTime text editor plugins. (Ported from Python to Go) https://wakatime.com/editors
Find a file
2026-07-28 01:54:57 +02:00
.github Fix linter 2026-07-25 13:01:20 -04:00
.vscode Fix errors handling from API 2021-07-05 17:42:49 -03:00
bin Directly use notarytool to sign and notarize Apple binaries 2023-11-01 15:01:02 +01:00
cmd Improve test coverage 2026-06-25 12:04:39 -04:00
debian build only for newer systems 2026-07-28 01:54:57 +02:00
pkg Grok Build AI parser 2026-07-27 08:27:49 -04:00
testdata Fix integration tests 2026-06-19 14:24:49 -04:00
.gitattributes add test run on windows to ci (#106) 2020-11-04 15:14:51 -05:00
.gitignore debian: modernize packaging for wakatime-cli 2026-07-28 01:20:15 +02:00
.gitmodules Add shell scripts testing 2021-06-09 15:51:27 -03:00
.golangci.yml Fix revive settings due to golangci-lint update v2.7.0 2025-12-03 20:10:29 -03:00
AUTHORS initial commit 2020-05-07 18:00:35 -03:00
codecov.yml Add codecov configuration 2023-10-22 21:46:24 -03:00
CONTRIBUTING.md Switch to gandarez semver-action 2026-03-07 10:17:45 -04:00
go.mod harden claude code transcript parsing 2026-07-25 08:36:21 -04:00
go.sum harden claude code transcript parsing 2026-07-25 08:36:21 -04:00
ip_test.go Make lexers auto-register themselves 2023-09-25 12:27:16 -03:00
Jenkinsfile Debian Bookworm build added 2021-09-03 23:28:18 +02:00
LICENSE Add LICENSE 2021-05-04 11:42:00 -03:00
main.go Improve logging 2021-04-28 14:22:14 -03:00
main_test.go Decrease max heartbeats per request to 10 2026-05-13 14:42:27 -04:00
Makefile Fail soft when getting json parse errors while parsing AI heartbeats 2026-05-02 07:15:06 -04:00
README.md Add logging info to readme 2026-03-14 10:18:17 -04:00
TROUBLESHOOTING.md Fix typos 2024-01-05 22:48:15 +08:00
USAGE.md New status_bar_hide_minutes ini config 2026-05-15 09:40:24 -04:00

WakaTime CLI

Tests Coverage Downloads wakatime

Command line interface to WakaTime used by all WakaTime text editor plugins.

Go to http://wakatime.com/editors to install the plugin for your text editor or IDE.

Usage

Normally you don't need to use wakatime-cli directly unless you're building a new WakaTime plugin. If you're building a plugin using the WakaTime API, follow the Creating a Plugin guide.

WakaTime plugins and wakatime-cli share a common INI config file:

$WAKATIME_HOME/.wakatime.cfg

IDE plugins log to the IDE’s console, and wakatime-cli writes JSONL logs to:

$WAKATIME_HOME/.wakatime/wakatime.log

With the ~/.wakatime.cfg config debug = true enabling verbose logs.

See Usage or the WakaTime FAQ for more details.

Contributing

Pull requests and issues are welcome! See Contributing for more details.

Troubleshooting

See Troubleshooting for more details.

Many thanks to all contributors!

Made with ❤️ by the WakaTime Team.