6.1 KiB
6.1 KiB
| ← Back to plugins index | |
⏰ WakaTime | |
|---|---|
This plugin displays statistics from a WakaTime account. It is also compatible with self-hosted instances from wakapi. | |
| ⚠️ Disclaimer | This plugin is not affiliated, associated, authorized, endorsed by, or in any way officially connected with WakaTime. All product and company names are trademarks™ or registered® trademarks of their respective holders. |
| 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
|
|
|
WakaTime URL Can be used to specify a wakapi instance |
type: string
default: https://wakatime.com |
|
|
WakaTime username |
| ⏯️ Cannot be preset type: string
default: current |
|
|
Displayed sections
|
type: array
default: time, projects, projects-graphs, languages, languages-graphs, editors, os allowed values:
|
|
|
Time range |
type: string
default: 7 allowed values:
|
|
|
Display limit (entries per graph) |
type: number
(0 ≤
𝑥)
zero behaviour: disable default: 5 |
|
|
Other languages |
type: boolean
default: no |
|
|
Ignored languages |
type: array
(comma-separated)
|
|
|
Repositories visibility Can be used to toggle private activity visibility |
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 }}
