Skip to content

Files

Latest commit

 

History

History
124 lines (111 loc) · 3.57 KB

README.md

File metadata and controls

124 lines (111 loc) · 3.57 KB

⏰ WakaTime plugin

The wakatime plugin displays statistics from your WakaTime account.

💬 Obtaining a WakaTime token

Create a WakaTime account and retrieve your API key in your Account settings.

WakaTime API token

Then setup WakaTime plugins to be ready to go!

➡️ Available options

TypeDescription
plugin_wakatime

Display WakaTime stats

type: boolean
default: no
plugin_wakatime_token

WakaTime API token

🔐 Token
type: token
plugin_wakatime_days

WakaTime time range

type: string
default: 7
allowed values:
  • 7
  • 30
  • 180
  • 365
plugin_wakatime_sections

Sections to display

type: array
default: time, projects, projects-graphs, languages, languages-graphs, editors, os
allowed values:
  • time
  • projects
  • projects-graphs
  • languages
  • languages-graphs
  • editors
  • editors-graphs
  • os
  • os-graphs
plugin_wakatime_limit

Maximum number of entries to display per graph

type: number (0 ≤ 𝑥)
default: 5
plugin_wakatime_url

Address where to reach your Wakatime instance

type: string
default: https://wakatime.com
plugin_wakatime_user

Your Wakatime user on the selfhosted Wakapi instance

type: string
default: current

→ Full specification

ℹ️ Examples workflows

name: WakaTime
uses: lowlighter/metrics@latest
with:
  filename: metrics.plugin.wakatime.svg
  token: NOT_NEEDED
  base: ''
  plugin_wakatime: 'yes'
  plugin_wakatime_sections: time, projects, projects-graphs, languages, languages-graphs, editors, os
  plugin_wakatime_token: ${{ secrets.WAKATIME_TOKEN }}