| ← Back to plugins index | |
⏰ WakaTime plugin | |
|---|---|
This plugin displays statistics from your WakaTime account. | |
| Supported features → Full specification |
📗 Classic template |
👤 Users |
|
🗝️ plugin_wakatime_token |
|
|
|
|
➡️ Available options
| Option | Description |
|
Enable wakatime plugin |
type: boolean
default: no |
|
|
WakaTime API token |
| 🔐 Token type: token
|
|
|
Time range |
type: string
default: 7 allowed values:
|
|
|
Displayed sections
|
type: array
default: time, projects, projects-graphs, languages, languages-graphs, editors, os allowed values:
|
|
|
Display limit (per graph) |
type: number
(0 ≤
𝑥)
zero behaviour: disable default: 5 |
|
|
WakaTime url Also compatible with self-hosted instance (wakapi) |
type: string
default: https://wakatime.com |
|
|
WakaTime username |
| ⏯️ Cannot be preset type: string
default: current |
|
|
Include other languages |
type: boolean
default: no |
|
|
Ignored languages |
type: array
(comma-separated)
|
|
|
Repositories visibility Lets you hide private repositories. |
type: string
default: all allowed values:
|
🗝️ Obtaining a WakaTime token
Create a WakaTime account and retrieve API key in Account settings.
Then setup WakaTime plugins to be ready to go!
ℹ️ 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 }}
