WakaTime for OpenCode OpenCode

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

Create a free account, then connect OpenCode using the instructions below.

Start for free

Already have an account? Log in to continue setup.

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.