We value Open Source and make a point to release all our plugins on GitHub under a BSD License.
Using the plugin manager:
micro -plugin install wakatime
Or from within micro (must restart micro afterwards for the plugin to be loaded):
> plugin install wakatime
Or manually install by cloning this repo as wakatime into your plug directory:
git clone https://github.com/wakatime/micro-wakatime ~/.config/micro/plug/wakatime
Enter your API Key, then press enter.
Use Micro like normal and your stats will automatically show on your WakaTime Dashboard.