We value Open Source and make a point to release all our plugins on GitHub under a BSD License.
Add WakaTime to your opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-wakatime"]
}
Save your API Key to ~/.wakatime.cfg:
[settings]
api_key = waka_123
Use OpenCode like you normally do and your stats will be displayed on your WakaTime Dashboard.