The open source plugin for productivity metrics, goals, leaderboards, and automatic time tracking.
Install the wakatime python command line tool.
Create a ~/.wakatime.cfg file with contents:
api_key = XXXX
Replace XXXX with your actual API key
Mac and Linux
curl -fsSL https://raw.githubusercontent.com/wakatime/texstudio-wakatime/master/install.py | python
Download and extract texstudio-wakatime-master.zip, then double click install.py.
Use TeXstudio like normal and your stats will automatically show on your WakaTime Dashboard.