Files
metrics/source/plugins/wakatime/metadata.yml

72 lines
2.0 KiB
YAML

name: "⏰ WakaTime plugin"
cost: N/A
category: social
index: 7
supports:
- user
inputs:
# Enable or disable plugin
plugin_wakatime:
description: Display WakaTime stats
type: boolean
default: no
# WakaTime API token
# See https://wakatime.com/settings/account get your API key
plugin_wakatime_token:
description: WakaTime API token
type: token
default: ""
# Time range to use for displayed stats
plugin_wakatime_days:
description: WakaTime time range
type: string
values:
- 7 # Last week
- 30 # Last month
- 180 # Last 6 months
- 365 # Last year
default: 7
# Sections to display
plugin_wakatime_sections:
description: Sections to display
type: array
values:
- time # Show total coding time and daily average
- projects # Show most time spent project
- projects-graphs # Show most time spent projects graphs
- languages # Show most language
- languages-graphs # Show languages graphs
- editors # Show most used code editor
- editors-graphs # Show code editors graphs
- os # Show most used operating system
- os-graphs # Show code operating systems graphs
default: time, projects, projects-graphs, languages, languages-graphs, editors, os
# Number of entries to display per graph
# Set to 0 to disable limitations
plugin_wakatime_limit:
description: Maximum number of entries to display per graph
type: number
default: 5
min: 0
# If you use a selfhosted wakatime instance (wakapi)
# that is publicly available place your url here
#
# If you use the public wakapi instance the url
# would be https://wakapi.dev
plugin_wakatime_url:
description: Address where to reach your Wakatime instance
type: string
default: https://wakatime.com
# Username on Wakatime
plugin_wakatime_user:
description: Your Wakatime user on the selfhosted Wakapi instance
type: string
default: current