WakaTime for Emacs Emacs
The open source plugin for productivity metrics, goals, leaderboards, and automatic time tracking.
Installing
Follow the instructions under "installing" on MELPA‘s getting started page.
Restart Emacs, to make it reloads your init file.
Run M-x package-list-packages.
Find the wakatime-mode package in the list of packages, and move the cursor there.
Press i to mark the package for installation.
Press x to execute the commands and install the marked wakatime-mode package.
Enter your API key , then press Enter.
Install wakatime cli with sudo pip install wakatime or by downloading the GitHub repo.
Find the path to wakatime cli with which wakatime or use the absolute path to wakatime/cli.py inside the GitHub repo you downloaded.
Enter the path to wakatime cli, then press Enter.
Add (global-wakatime-mode) to your init.el file, then restart Emacs.
Use Emacs with wakatime-mode turned on and your stats will automatically show on your https://wakatime.com
https://wakatime.com/emacs
emacs配置wakatime