The open source plugin for productivity metrics, goals, leaderboards, and automatic time tracking.
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.