The open source plugin for productivity metrics, goals, leaderboards, and automatic time tracking.
Installing
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_123Use OpenCode like you normally do and your stats will be displayed on your WakaTime Dashboard.
WakaTime plugins collect file path and project names from your IDE. Learn more about data collected and privacy.

