Emacs Minor Mode for WakaTime
wakatime-mode is an automatic time tracking extension for Emacs using WakaTime.
Download wakatime-cli to
~/.wakatime/or somewhere in your
brew install wakatime-clion Mac)
init.elfile, then restart Emacs.
You will see a prompt asking for the path to wakatime-cli. Run
which wakatime-cliand enter that path into the emacs prompt, then press
Use Emacs with wakatime-mode turned on and your time will be tracked for you automatically.
Visit http://wakatime.com to see your logged time.
Installation for Spacemacs
Enable WakaTime for the current buffer by invoking
M-x wakatime-mode. If you wish to activate it globally, run
wakatime-api-key to your API key.
wakatime-cli-path to the absolute path of wakatime-cli.
To be sure heartbeats are getting sent, turn on debug mode by adding this line to your
debug = true
tail -f ~/.wakatime.log and make sure you see a 201 response code from the WakaTime API.