We value Open Source and make a point to release all our plugins on GitHub under a BSD License.
Download the latest plugin release from GitHub.
Run the install.py script as root.
Edit ~/.wakatime.cfg and add your apikey as follows:
api_key = <your-api-key>
Activate the plugin in Gedit from Edit → Preferences → Plugins.
Use Gedit like you normally do, WakaTime will run in the background.
Visit https://wakatime.com/dashboard to see your coding activity.