WakaTime for OpenCode OpenCode

The open source plugin for productivity metrics, goals, leaderboards, and automatic time tracking.

Installing

  1. Add WakaTime to your opencode.json:
    { "$schema": "https://opencode.ai/config.json", "plugin": ["opencode-wakatime"] }

  2. Save your API Key to ~/.wakatime.cfg:
    [settings] api_key = waka_123

  3. Use 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.