git_age
Repository age from the first commit reachable from HEAD. Text/TextBlock/Markdown/Linked variants format the duration; Entries/Bars/NumberSeries expose the years/months/days split; Calendar highlights the first-commit day; Badge tags an age tier; Timeline emits the first-commit event.
| Kind | Safety | Shapes |
|---|---|---|
| cached | Safe | text, text_block, markdown_text_block, linked_text_block, entries, number_series, bars, calendar, badge, timeline |
Options
Section titled “Options”No options.
Compatible renderers
Section titled “Compatible renderers”Preview
Section titled “Preview”text via text_ascii
Section titled “text via text_ascii”▟▀▙ ▟▀▙ ▄▛ █ █ ▄▛ █▄█▖ ▟▘▄ ▜▄█ ▄ █ █▜▜▌ ▀▀▀ ▄▄▛ ▝▀▘ ▀ ▝▘
[[widget]]id = "git_age"fetcher = "git_age"render = "text_ascii"text via text_plain
Section titled “text via text_plain”2y 3m
[[widget]]id = "git_age"fetcher = "git_age"render = "text_plain"text_block via list_plain
Section titled “text_block via list_plain”Years: 2 Months: 3 Days: 12 Since: 2024-01-15
[[widget]]id = "git_age"fetcher = "git_age"render = "list_plain"markdown_text_block via text_markdown
Section titled “markdown_text_block via text_markdown”2y 3m 12d since 2024-01-15
[[widget]]id = "git_age"fetcher = "git_age"render = "text_markdown"linked_text_block via list_links
Section titled “linked_text_block via list_links”2y 3m 12d since 2024-01-15
[[widget]]id = "git_age"fetcher = "git_age"render = "list_links"entries via grid_table
Section titled “entries via grid_table”years 2 months 3 days 12 first_commit_date 2024-01-15
[[widget]]id = "git_age"fetcher = "git_age"render = "grid_table"number_series via chart_histogram
Section titled “number_series via chart_histogram”████████ ████████ ████████ ████████ ████████ ████████ ████████ ████████ ████████
[[widget]]id = "git_age"fetcher = "git_age"render = "chart_histogram"number_series via chart_sparkline
Section titled “number_series via chart_sparkline”█ █ ▄▆█
[[widget]]id = "git_age"fetcher = "git_age"render = "chart_sparkline"bars via chart_bar
Section titled “bars via chart_bar”███ ███ ███ ███ ███ ▁▁▁ ▆▆▆ ███ █2█ █3█ 12█ yea mon day
[[widget]]id = "git_age"fetcher = "git_age"render = "chart_bar"bars via chart_pie
Section titled “bars via chart_pie”● ■ years 11.8% ●●●●●●●●●●● ●●●●●●●●●●●●● ■ months 17.6% ●●●●●●●●●●●●●●● ●●●●●●●●●●●●●●●●● ■ days 70.6% ●●●●●●●●●●●●●●● ●●●●●●●●●●●●● ●●●●●●●●●●● ●
[[widget]]id = "git_age"fetcher = "git_age"render = "chart_pie"bars via list_ranking
Section titled “bars via list_ranking”1. years 2 2. months 3 3. days 12
[[widget]]id = "git_age"fetcher = "git_age"render = "list_ranking"calendar via grid_calendar
Section titled “calendar via grid_calendar”January 2024 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
[[widget]]id = "git_age"fetcher = "git_age"render = "grid_calendar"badge via status_badge
Section titled “badge via status_badge”● mature (2y 3m)
[[widget]]id = "git_age"fetcher = "git_age"render = "status_badge"timeline via list_timeline
Section titled “timeline via list_timeline”2024-01-15 │ First commit │ 2024-01-15
[[widget]]id = "git_age"fetcher = "git_age"render = "list_timeline"